Opened 8 months ago
Closed 8 months ago
#10581 closed defect (wontfix)
notchlc: wrong colors with avi's variant of codec
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
./ffmpeg -i notchlc_wrong_colors.avi -y out.avi ffmpeg version N-112164-gcb26b85953 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04) configuration: libavutil 58. 25.100 / 58. 25.100 libavcodec 60. 27.100 / 60. 27.100 libavformat 60. 13.100 / 60. 13.100 libavdevice 60. 2.101 / 60. 2.101 libavfilter 9. 11.100 / 9. 11.100 libswscale 7. 3.100 / 7. 3.100 libswresample 4. 11.100 / 4. 11.100 Input #0, avi, from 'notchlc_wrong_colors.avi': Metadata: software : Lavf60.13.100 Duration: 00:00:00.13, start: 0.000000, bitrate: 67473 kb/s Stream #0:0: Video: notchlc (nlc1 / 0x31636C6E), yuva444p12le(pc, gbr/bt709/iec61966-2-1), 640x480, 23.98 fps, 23.98 tbr, 23.98 tbn Stream mapping: Stream #0:0 -> #0:0 (notchlc (native) -> mpeg4 (native)) Press [q] to stop, [?] for help Output #0, avi, to 'out.avi': Metadata: software : Lavf60.13.100 ISFT : Lavf60.13.100 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, unknown/bt709/iec61966-2-1, progressive), 640x480, q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn Metadata: encoder : Lavc60.27.100 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A [out#0/avi @ 0x560686eaf0c0] video:64kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.721071% frame= 3 fps=0.0 q=2.0 Lsize= 70kB time=00:00:00.08 bitrate=6884.2kbits/s speed= 2.8x
Attachments (3)
Change History (13)
by , 8 months ago
Attachment: | notchlc_wrong_colors.avi added |
---|
comment:1 by , 8 months ago
by , 8 months ago
Attachment: | notchlc_wrong_colors_decoded.avi added |
---|
by , 8 months ago
Attachment: | notchlc.mov added |
---|
comment:5 by , 8 months ago
Used same input file and same program for encoding and same decoder for input file when encoding?
comment:6 by , 8 months ago
First I encoded raw yuv420p input video to "notchlc_wrong_colors.avi" with virtualdub, later I decoded "notchlc_wrong_colors.avi" file with virtualdub to "notchlc_wrong_colors_decoded.avi".
follow-up: 8 comment:7 by , 8 months ago
If you stream copy notchlc.mov to avi does it still decode with correct colors with reference windows app?
comment:8 by , 8 months ago
Replying to Elon Musk:
If you stream copy notchlc.mov to avi does it still decode with correct colors with reference windows app?
the output avi from mov decodes with wrong colors, exactly the same wrong colors like "notchlc_wrong_colors.avi" decoded by ffmpeg
comment:9 by , 8 months ago
as expected, this should not be the case here. Thus i consider notchlc encoding in avi broken from reference implementation, (to get better colors use -vf swapuv), because codec bitstream should be same in every container.
comment:10 by , 8 months ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
and what colors are correct?