Opened 9 years ago

Closed 8 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

Description

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 dnxhd45.mov -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 9 years ago.
compare

Download all attachments as: .zip

Change History (7)

by jb_alvarado, 9 years ago

Attachment: DNxHD_to_any.jpg added

compare

comment:1 by jb_alvarado, 9 years ago

Summary: DNxHD as Input produce from color/gamma in outputDNxHD as Input produce wrong color/gamma in output

comment:2 by Kieran Kunhya, 9 years ago

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

comment:3 by jb_alvarado, 9 years ago

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 9 years ago by jb_alvarado (previous) (diff)

comment:4 by jb_alvarado, 9 years ago

Ok a other information to:

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

comment:5 by Carl Eugen Hoyos, 9 years ago

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

comment:6 by Elon Musk, 8 years ago

Resolution: needs_more_info
Status: newclosed

No samples, can not reproduce

Note: See TracTickets for help on using tickets.