This can be done super easily: ffmpeg -ss 00:00:30 -i orginalfile.mpg -t 00:00:05 -vcodec copy -acodec copy newfile.mpg The same works with images as well: ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png Extract a Portion of a VideoĪnother very common operation on video files is to extract a specific portion of a given video. ![]() ![]() ![]() Using the -vf scale filter, it is possible to resize videos to a desired size: ffmpeg -i input.avi -vf scale=320:240 output.avi
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |