[FFmpeg-user] decoding to raw format

William Pearlman pearlmanwm at gmail.com
Fri May 24 21:02:12 EEST 2019


I have not ben able to decode h264 video to raw format (sequence of
headerless image frames).  Here is an example of the dialog.

-------------------------------------------------
C:\FILES\Proposals\SBIR_N192-097>..\..\..\FFmpeg\bin\ffmpeg -i 252037.h264
-rawvideo 252037_h264.raw
ffmpeg version N-93871-g8cf947ca4c Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth --enable-libopenmpt
  libavutil      56. 28.100 / 56. 28.100
  libavcodec     58. 52.101 / 58. 52.101
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 53.101 /  7. 53.101
  libswscale      5.  4.101 /  5.  4.101
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Unrecognized option 'rawvideo'.
Error splitting the argument list: Option not found
--------------------------------------------------------------------------------------------
I have written omitting "-rawvideo" and just the "-" and specified
"-decoder=h264" and get "Unrecognized option" or "Unrecognized format".

The 252037.h264 file was produced by "ffmpeg -i 252037.mov 252037.h264".
  The compression relative to MOV was impressive and the quality displayed
using ffplay was excellent.  Please tell me the correct command line usage.
  Thank you.


More information about the ffmpeg-user mailing list