developus mediocrus
65 subscribers
753 photos
225 videos
13 files
202 links
Just a mediocre dev trying to build a career in tech
Download Telegram
developus mediocrus
But it's fun writing code by hand in neovim How much i miss it
Btw when i started out flutter back in 2023, i legit used to code in neovim. I had this amazing neovim seup called nvchad, it had a convenient setup of terminal and file explorer. And even a dart lsp. Ena it was manageable

But getting stuff done fast wasn't going to work on there, so i came back to vscode😂
Boomers thought it could only be comedy
developus mediocrus
You see you can't really rely on AI. I just noticed a bug in this piece of code that could make the app crash on other people's devices. If that's not corrected it might as well be a useless app
so the bug here was that the audio hardware fallback value was set to my pc's specific audio hardware. which means that value won't be found in other people's devices and as a result would crash the app. now i made sure the app will determine the device's audio hardware, and then use it instead.

i also had one more feature, to have different resolutions for the video. like i told you guys my pc has 1920 pixels by 1080 (not 1400), which makes the video very large. the video i shared with you guys had 17 megabytes with just 15 seconds duration. But now we have an option to decide resolution so things should be fine
ok so my resolution is 1080p, if it's 1920 by 1080 you take the 2nd number, that's your resolution apparently
developus mediocrus
480p video will look pixelated for my pc.
but there is another angle to this. users can select a rectangular region to record. so if they select an area with 480 by 480 pixels, the app enforcing a 720p resolution won't make sense.
it seems like it works. i recorded a video with 480p, the size of the file was 3 m. compared ot the other videos that were in the 17-22 mb range
I have created a repo for the project, and a comprehensive README.

I don't just provide you with the source code, I also provide you with a single archive that contains everything you need to run the app on your device. The packaging and release workflows are there to ensure that.
developus mediocrus Chat
Why not just put the executable
Because I want you to be able to run the app from anywhere on your device. The package includes scripts that will add the executable to environment variables for you. And also desktop entry so that you can put it in your desktop or find it in your start menu.

Also additional scripts that are needed for linux distro-specific settings.
This media is not supported in your browser
VIEW IN TELEGRAM
final satisfactory release of the app. I have called this version 0.0.1

Here is the repository, enjoy. (note, the deployed/release artifact isn't built yet, github actions has queued it on me, so you have to wait until it completes).

https://github.com/Dechie/linux-screen-recorder
3
i have edited it, check the above post
Ok this deserves a proper post so here it goes
🖕1
This media is not supported in your browser
VIEW IN TELEGRAM
I built a Linux (wayland) screen recorder, using Flutter and c++.

It has features like audio toggle, setting FPS, changing save path, and setting the resolution for output video.

It's also open source, with a repo that includes a comprehensive README explaining all you need to know about installing and using the app.

Here is the github repo, don't forget to leave a star 😊
https://github.com/Dechie/linux-screen-recorder
🔥722