[FFmpeg-user] trying to convert raw yuv

Jim Shupert jshupert at pps-inc.com
Tue Jun 7 17:01:08 CEST 2011



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
FFmpeg version FFmbc-0.5, Copyright (c) 2000-2010 the FFmpeg developers
   built on Nov 22 2010 01:04:07 with gcc 4.4.2
   configuration: --enable-gpl --enable-version3 --enable-libgsm 
--enable-pthreads --enable-libvorbis --enable-libtheora 
--enable-libspeex --enable-libmp3lame --enable-libopenjpeg 
--enable-libschroedinger --enable-libopencore_amrwb 
--enable-libopencore_amrnb --
enable-libvpx --disable-decoder=libvpx --arch=x86 
--enable-runtime-cpudetect --enable-libxvid --enable-libx264 
--extra-libs='-lx264 -lpthread' --enable-librtmp --extra-libs='-lrtmp 
-lpolarssl -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth 
--cross-pref
ix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
   libavutil     50.31. 0 / 50.31. 0
   libavcore      0. 9. 0 /  0. 9. 0
   libavcodec    52.91. 1 / 52.91. 1
   libavformat   52.78. 5 / 52.78. 5
   libavdevice   52. 2. 2 / 52. 2. 2
   libavfilter    1.47. 1 /  1.47. 1
   libswscale     0.12. 0 /  0.12. 0
[IMGUTILS @ 002130c4] Picture size 0x0 is invalid
[rawvideo @ 01b7d240] Could not find codec parameters (Video: rawvideo, 
yuv420p)
[rawvideo @ 01b7d240] Estimating duration from bitrate, this may be 
inaccurate
jimbo.yuv: could not find codec parameters


More information about the ffmpeg-user mailing list