[FFmpeg-trac] #8937(undetermined:closed): Incorrect color when decoding h264 file
FFmpeg
trac at avcodec.org
Sat Oct 17 20:26:06 EEST 2020
#8937: Incorrect color when decoding h264 file
-------------------------------------+-------------------------------------
Reporter: iss | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Balling):
* status: new => closed
* resolution: => invalid
Comment:
Well, because it is 1920x1080, it is automatically promoted to BT.709 and
limited range. But not in ffmpeg.
So, use ffmpeg -i incorrect_color_h264.mp4 -c copy -colorspace bt709
-color_primaries bt709 -color_trc bt709 out.mp4 to set all the stuff and
then when you will do out.png it will be good.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8937#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list