Opened 5 years ago

Closed 4 years ago

#4569 closed defect (needs_more_info)

DNxHD as Input produce wrong color/gamma in output

Reported by: jb_alvarado Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


We try to convert DNxHD files to x264/mp4, to prores we have also try, so I guess the output format doesn't matter. The output has always wrong colors, it looks like a wrong gamma value or something similar.

The DNxHD files comes from adobe media encoder and have a bt709 matrix. I put a picture to the post. The left side is the original DNxHD and the right side is x264. You see more saturation in the middle tone and all is a bit darker.

My command is:
ffmpeg -i -pix_fmt yuv420p -c:v libx264 -crf 21 -preset slower -c:a libfdk_aac -b:a 128k output.mp4

Attachments (1)

DNxHD_to_any.jpg (102.8 KB) - added by jb_alvarado 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by jb_alvarado


comment:1 Changed 5 years ago by jb_alvarado

  • Summary changed from DNxHD as Input produce from color/gamma in output to DNxHD as Input produce wrong color/gamma in output

comment:2 Changed 5 years ago by kierank

What are you using to play the h264 file? Quicktime has known h264 gamma problems for years.

comment:3 Changed 5 years ago by jb_alvarado

I have compare them in After Effects. Opening the x264/mp4 file have in the most players color problems. In Quick Time, VLC and Premiere. Only in ffplay it looks good.

So maybe there is only a problem with the metadata?!

Last edited 5 years ago by jb_alvarado (previous) (diff)

comment:4 Changed 5 years ago by jb_alvarado

Ok a other information to:

When I use a DNxHD file with RGB Color space, instead of bt709, everything is ok.

comment:5 Changed 5 years ago by cehoyos

Please provide your command line together with the complete, uncut console output and the input sample to make this a valid ticket.

comment:6 Changed 4 years ago by richardpl

  • Resolution set to needs_more_info
  • Status changed from new to closed

No samples, can not reproduce

Note: See TracTickets for help on using tickets.