Opened 8 years ago
Closed 8 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 by , 8 years ago
| Keywords: | avi added |
|---|
comment:3 by , 8 years ago
| Resolution: | → needs_more_info |
|---|---|
| Status: | new → 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.