Hi?.all I am a new comer. How can I decode H.264 to yuv by ffmpeg? I try the command as ?ffmpeg ?i xxx.264 ?o xxx.yuv?. I got ?xxx.264: Unknow format?. Thanks a lot
Kenneth_Tu ??? wrote:
Hi?.all I am a new comer. How can I decode H.264 to yuv by ffmpeg? I try the command as ?ffmpeg ?i xxx.264 ?o xxx.yuv?.
Hi ??? The extension for raw h.264 sequences is ".h264" not ".264" so, the command would be: ffmpeg -i file.h264 file.yuv Bye Mauricio Alvarez
Mauricio Alvarez wrote:
Kenneth_Tu ??? wrote:
Hi?.all I am a new comer. How can I decode H.264 to yuv by ffmpeg? I try the command as ?ffmpeg ?i xxx.264 ?o xxx.yuv?.
Hi ???
The extension for raw h.264 sequences is ".h264" not ".264"
so, the command would be:
ffmpeg -i file.h264 file.yuv
And if you wanted to convert (yuv) input from an ntsc camera to a h.264 file, what would a example command string look like? James
wireless wrote:
Mauricio Alvarez wrote:
The extension for raw h.264 sequences is ".h264" not ".264"
so, the command would be:
ffmpeg -i file.h264 file.yuv
And if you wanted to convert (yuv) input from an ntsc camera to a h.264 file, what would a example command string look like?
FFmpeg does not include a h.264 encoder. For that it uses x264[1]. I suggest to you to use x264 directly x264 [opts] -o file.h264 file.yuv First of all you need to define the coding options (CBR, VBR, bframes, weighted prediction, block sizes etc) After installation try "x264 --help" for more information Bye Mauricio Alvarez [1] http://www.videolan.org/x264.html
James
participants (3)
-
alvarez@ac.upc.edu -
kenneth_tu@leadtek.com.tw -
wireless@tampabay.rr.com