[FFmpeg-user] using -vtag on input files

Roee Kashi galacap at gmail.com
Thu Apr 2 16:22:04 CEST 2015


with the older ffmpeg version (described earlier), my command line looks
like this:
"ffmpeg.exe -f rawvideo -vcodec rawvideo -s 704x576 -r 25 -pix_fmt yuv420p
-vtag YV12 -i raw.yuv -f avi -qscale 0 out.avi"

with newer version, the output of the same command is:
ffmpeg version N-71209-gd759844 Copyright (c) 2000-2015 the FFmpeg
  built with gcc 4.9.2 (GCC)
Option vtag (force video tag/fourcc) cannot be applied to input file
raw.yuv -- you are trying to apply an input option to an output file or vice
 versa. Move this option before the file it belongs to.
Error parsing options for input file raw.yuv.
Error opening input files: Invalid argument

this error can be with any input file, not necessarily a yuv file, but to
fully test it with the YV12 tag, i uploaded raw.yuv file:

2015-04-02 16:11 GMT+03:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> tim nicholson <nichot20-at-yahoo.com <at> ffmpeg.org> writes:
> > On 02/04/15 13:56, Roee Kashi wrote:
> > >
> > > back in 2012 I could use -vtag on an input rawvideo file,
> > > thus tell ffmpeg the pixel format is YV12.
> > >
> > > at a certain point there was a regression in that feature
> > > so vtag is again allowed only for outputs.
> > use -pix_fmt, valid for input/output
> There is no such pix_fmt...
> 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