I have several hundred 1080p 59.94fps 10-bit-per-channel (bpc) AVC-Intra Class 100 MXF encoded video files. I would like to extract the frames of this video file and export them to disk in a 16-bit lossless image format. I recently encountered this question: Convert video to 10 bit images
So I tried this:
ffmpeg -i "testinput.mxf" -pix_fmt rgb48 _Frames/out%05d.tiff
But ran into a rather unfortunate issue that I am not sure how to resolve. Although it technically did work, and exported all of the video frames into a 16 bpc format, the color of these frames appears washed out. Here's what I mean:
The first frame of the original video file (MXF):
The first frame exported with ffmpeg:
As you can see, the color appears to be faded and doesn't perfectly match the frame in the original video. I don't know why this is, but it's a serious problem that needs a resolution ASAP. Perhaps I'm not using ffmpeg correctly, or perhaps this is a bug in ffmpeg. What do I need to do to extract the frames from this particular codec correctly? Please, help.
I have included the original MXF file here, for your own testing purposes: https://drive.google.com/open?id=1HtCmPGkIZMMMEOAVKMlLksov7QyKzqRE Here is a link to the output of running the command I specified earlier. I'm on the latest version of ffmpeg for Windows, ffmpeg version N-94150-g231d0c819f Copyright (c) 2000-2019. https://pastebin.com/8UrxJJpY