Opened 10 years ago
Closed 9 years ago
#4694 closed enhancement (needs_more_info)
FR: Support both distinct video format FourCCs in an AVI header
Reported by: | LigH | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | avi |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
There are two distinct FourCCs in an AVI header describing the video stream:
- the description of the video codec used to create the video stream (first appearance, just after the "vids" chunk ID);
- 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
Change History (2)
comment:1 by , 10 years ago
Keywords: | avi added |
---|---|
Version: | unspecified → git-master |
comment:2 by , 9 years ago
Component: | undetermined → avformat |
---|---|
Resolution: | → needs_more_info |
Status: | new → closed |
Please reopen if you can explain a use-case for this feature-request.
Note:
See TracTickets
for help on using tickets.
Please provide an example for which this feature would be needed.