1 hour ago · Tech · 0 comments

I’m a fossil when it comes to FFmpeg. I have previously explored encoding using the onboard integrated AMD or Intel chips, but have always had sub-par results when comparing that result to the one output by libx264 or libx265. That means I have always stuck to the high-CPU software encoding method. Recording from the Sky Stream puck with on-the-fly software encoding was a no-go on my laptop. The AMD Ryzen 5 CPU hits 75% immediately, and continues climbing. It takes literally less than two minutes before the fans kick in to cope with all that heat. So VAAPI was the only way forward. I tested at least 10-12 different FFmpeg commands, tweaking as I went and I have finally settled on this one: ffmpeg -hide_banner -vaapi_device /dev/dri/renderD128 -use_wallclock_as_timestamps 1 -fflags +genpts -f v4l2 -thread_queue_size 512 -input_format mjpeg -video_size 1920x1080 -i /dev/v4l/by-id/usb-Actions_Micro_UGREEN-25854_-1575465188-video-index0 -f pulse -thread_queue_size 512 -i default -vf…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.