![]() To take a screencast screen.mp4 with lossy encoding and with audio: Here, the Huffyuv codec is used, which is fast, but produces huge file sizes. $ ffmpeg -f x11grab -video_size 1920x1080 -framerate 25 -i $DISPLAY -c:v ffvhuff screen.mkv To take a screencast screen.mkv with lossless encoding and without audio: Where -video_size specifies the size of the area to capture. $ ffmpeg -f x11grab -video_size 1920x1080 -i $DISPLAY -vframes 1 screen.png ![]() See FFmpeg encoding wiki and ffmpeg(1) § EXAMPLES.įFmpeg includes the x11grab and ALSA virtual devices that enable capturing the entire user display and audio input. However you may want to force the number of threads available by the parameter -threads number. FFmpeg should automatically choose the number of CPU threads available.Failing to do so may cause parameters being skipped or will prevent FFmpeg from executing. It is important that parameters are specified in the correct order (e.g.The advantage of this method is that it shows you what codecs your copy of ffmpeg supports. V'Īnd audio with 'A': ffmpeg -codecs | grep '^. If you want just the video codecs, you can filter them with 'V': ffmpeg -codecs | grep '^. mp3 MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame libshine ) In your case, it looks like you would be interested in this line: DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_crystalhd h264_v4l2m2m h264_vdpau h264_cuvid ) (encoders: libx264 libx264rgb h264_nvenc h264_omx h264_v4l2m2m h264_vaapi nvenc nvenc_h264 )Īnd this line: DEA.L. a64_multi5 Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5 )ĭEVI.S alias_pix Alias/Wavefront PIX image a64_multi Multicolor charset for Commodore 64 (encoders: a64multi ) You can use ffmpeg -codecs to get a list. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |