[FFmpeg-trac] #4694(undetermined:new): FR: Support both distinct video format FourCCs in an AVI header
FFmpeg
trac at avcodec.org
Thu Jul 2 13:06:43 CEST 2015
#4694: FR: Support both distinct video format FourCCs in an AVI header
-------------------------------------+-------------------------------------
Reporter: LigH | Type:
Status: new | enhancement
Component: | Priority: wish
undetermined | Version:
Keywords: | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
There are two distinct FourCCs in an AVI header describing the video
stream:
1. the description of the video codec used to create the video stream
(first appearance, just after the "vids" chunk ID);
2. the description of the video codec required to decode the video stream
(second appearance in the "biCompression" field of the BITMAPINFOHEADER
structure in the Stream Format chunk)
There are several cases of differences between them, e.g.:
* xvid / XVID
* divx / DX50 (to separate DivX 4 from DivX 5+)
* hfyu / FFDS (for the YV12 variant of Huffyuf, first supported in
ffvfw)
Players should only be interested in the second (bitmap compression)
FourCC, but you can't be sure that there are no players which would check
both for supported values and refure playback if not both are as expected.
Therefore I hope you can support forcing both FourCCs if desired, maybe in
the format: '''-vtag divx:DX50'''
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4694>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list