2/24/2023 0 Comments Ffmpeg resize video resolution![]() Encode a Video Sequence for the iPod/iPhone ss indicates the starting time, and -t indicates the duration. In the example above, we are cutting out a part starting at 00:00:30 into the original file with a 5 seconds length. 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 |