[FFmpeg-user] ffmpeg treats m4v as container not elementry video format
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jan 22 15:02:54 CET 2013
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
More information about the ffmpeg-user
mailing list