[FFmpeg-user] trying to convert raw yuv

Etienne Buira etienne.buira.lists at free.fr
Tue Jun 7 17:28:21 CEST 2011


On Tue, Jun 07, 2011 at 11:01:08AM -0400, Jim Shupert wrote:
> 
> 
> On 6/7/2011 10:52 AM, Jim Shupert wrote:
> >
> > I have also tried adding
> > ffmpeg -s 720x480 -pix_fmt yuv422p16le -r 29.97
> >
> > in attempt to 'tell' ffmpeg what the raw vid is
> > I am thinking that since it is raw ( no header ) i have to 'tell' it 
> > many things about the video.
> >
> 
> I tried adding the input size & pixel format -- still no luck
> 
> D:\0>c:\ffmbc\ffmbc -i jimbo.yuv -f yuv420p -s 720x480 -pix_fmt 
> yuv422p16le -r 29.97 -acodec -i audio1.wav -i audio2.wav libfaac -aq 100 
> -vcodec libx264 -b 900k  -r 29.97 -preset slow -crf 22 -threads 0 muxed.mp4

Hi.

Argument ordering matters a lot for ffmpeg.
To tell what format an input is, you have to specify it *before* the
matching -i.
Also, your -acodec -i [...] -i [...] libfaac won't be liked by ffmpeg
(and the two -i [...].wav might not do what you want).


More information about the ffmpeg-user mailing list