![]() Record a screencast with x264 ultrafast profile.also re-packaging video with `-c copy` often fixes bugs in original container `-c copy` prevents video from re-encoding extract 1 frame from 00:10 (10th second) position $ ffmpeg -i video_in.mp4 -ss 00:00:10 -vframes 1 thumbnail.png $ ffmpeg -i input.mp4 -c:v libaom-av1 -movflags +faststart -c:a libfdk_aac video_out.mp4 Using modern video codecs like VP9 and AV1 also possible: $ ffmpeg -i video_in.mp4 -c:v libvpx-vp9 -c:a libopus video_out.webm c:v is the shortcut for codec:video, same about c:a for audio. The second command use "high" preset for better video quality. The video_out.mp4 file should be played in any modern browser without issues. $ ffmpeg -i video_in.mkv -c:v libx264 -profile:v high -c:a libfdk_aac video_out.mp4 ![]() $ ffmpeg -i video_in.mkv -c:v libx264 -c:a libfdk_aac video_out.mp4 Easy to use: fast switching from base use cases to advanced. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |