[FFmpeg-user] Working with .YUV files

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Aug 14 10:54:14 CEST 2012


fb <fatemeh.bagherpour <at> gmail.com> writes:

> 1- I convert a ".wmv" file to ".yuv" using the following command:
> "ffmpeg -i input.wmv output.yuv"
> 
> but when i use a "YuvFilePlayer", it shows nothing special, 
> only some lines. I'm not sure if it is possible to watch 
> such a file? or I used wrong command???

(What is "YuvFilePlayer"?)

> 2- I have tested to add a container to the raw video file 
> then watch it with "mplayer", the command is:
> " ffmpeg -f rawvideo -s 720*576 -i output.yuv -f flv -ar 44100 output.flv"
> 
> but it doesn't work,

> it outputs no sound 

You do realize that yuv files do not contain sound
(so if you use a yuv file as input, the output file 
cannot contain sound)?

> and the video looks like the "output.yuv" described above.

Complete, uncut console output for both the conversion to 
yuv and the conversion to flv missing.

Carl Eugen



More information about the ffmpeg-user mailing list