Hacker News new | past | comments | ask | show | jobs | submit login

On Linux, the audio recording and video recording can be accomplished with a single command:

  ffmpeg -f x11grab -video_size [w]x[h] -r [framerate] -i $DISPLAY -f alsa -i default ...
Like the author, I've found that the x264 codec with the ultrafast preset does the best job of avoiding framedrops (which from what I've observed can be caused by either the CPU spending too long encoding or the disk spending too long writing data).



Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: