[FFmpeg-trac] #1909(FFmpeg:new): Add support for skipping a header for rawvideo inputs
FFmpeg
trac at avcodec.org
Mon Nov 12 21:44:51 CET 2012
#1909: Add support for skipping a header for rawvideo inputs
--------------------------------+---------------------------------------
Reporter: erezst | Type: enhancement
Status: new | Priority: normal
Component: FFmpeg | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+---------------------------------------
Some programs dump uncompressed video files with a custom header at the
beginning. To use these files as inputs for FFMPEG, the rawvideo codec
needs to be able to skip this header.
The input format is:
[ Header - e.g. 100 bytes]
[ Frame #1 ]
[ Frame #2 ]
[ ... ]
[ Frame #N ]
Header -- a fixed-length header (for example, 100 bytes).
Frame - A raw video frame in some pix_fmt (e.g. YUV422p).
A command-line for encoding this file to H.264 might be:
ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt yuv422p -skipheader 100 -i
<SOURCE_VIDEO> -s 640x480 -r 30 -vcodec libx264 <OUTPUT_FILE>
The '-skipheader 100' parameter is what this feature request is about.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1909>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list