Opened 2 years ago
Closed 2 years ago
#7518 closed defect (needs_more_info)
Using -pix_fmt gray16 creates incorrect AVI
Reported by: | v0lt | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | unspecified | Keywords: | avi |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I create AVI with the following command.
ffmpeg -i "input.avi" -pix_fmt gray16 -c:v rawvideo output.avi
I get a warning:
[avi @ 0000000002bef880] gray16le rawvideo cannot be written to avi, output file will be unreadable
The file has fourcc 0x00000000 and is recognized by video players as RGB555.
I think it is more correct to record fourcc 'Y16 ' (0x20363159).
https://www.fourcc.org/pixel-format/yuv-y16/
https://www.fourcc.org/y16/
Change History (3)
comment:1 Changed 2 years ago by cehoyos
- Keywords avi added
comment:2 Changed 2 years ago by cehoyos
Or ask Thermoteknix for a sample.
comment:3 Changed 2 years ago by cehoyos
- Resolution set to needs_more_info
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Please provide a file containing gray16 that plays with Windows Media Player - the relevant application for avi. We prefer not to invent new mappings for avi, use nut instead.