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

Francois Visagie francois.visagie at gmail.com
Wed Jan 23 07:42:20 CET 2013


> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
> Sent: 22 January 2013 16:03
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] ffmpeg treats m4v as container not elementry
> video format
> 
> 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

What is this extradata and why does it need to be added in this instance and
not normally when using iDevice format? Thanks.

> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list