[Libav-user] Simple question: A sub part of a video

amir.rouhi at rmit.edu.au amir.rouhi at rmit.edu.au
Thu Aug 18 02:29:26 CEST 2011


I have a video with .mpg extension. I want to copy the 10 second of this
video in format of .mp4
I like to know the mpg is differ from mp4?
and secondly i use the bellow command, does it change the codec? if yes what
should i use for vcodec to generate mp4?

ffmpeg -i d:\1.mpg -ss 00:00:10 -t 00:00:20 -vcodec copy  d:\1-MyVideo.mpg

Amir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110818/0ee29c34/attachment.html>


More information about the Libav-user mailing list