[FFmpeg-user] ffmpeg treats m4v as container not elementry video format

Yogesh Tyagi yogesh.bit2006 at gmail.com
Tue Jan 22 15:11:11 CET 2013

On Tue, Jan 22, 2013 at 7:32 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Yogesh Tyagi <yogesh.bit2006 <at> gmail.com> writes:
>> >> What format should I use so that I get mpeg4 video elementary stream.
>> >
>> > You have to use -f m4v to choose the right format:
>> > $ ffmpeg -i input -vcodec copy -f m4v out.m4v
>> If I use "-f m4v" to generate mpeg4 video elementary stream from a 3gp
>> file and I try to play this file with ffplay, It throws following
>> error:
>> "Invalid data found when processing input"
> You have to add the extradata to the output file:
> $ ffmpeg -i input -vcodec copy -f m4v -vbsf dump_extra out.m4v
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

It works.Thanks

More information about the ffmpeg-user mailing list