FranceBB
26th July 2019, 18:49
Hi,
as a broadcast encoder, I face new challenges everyday.
This time, they asked us to make a DCP out of one of our original production in order to be displayed at cinema.
I gotta be fair, I'm really new to DCP and the Senior Encoder who was working with DCP is now retired, so... I have no clue.
I checked the specifications of the format and it seems that they wanna have a JPEG2000 encoded with the Digital Cinema profile, 4:4:4 12bit progressive at 24fps.
I decided to make a test with one of our commercial/promotion video in order to make sure I was doing the right thing.
First things first. Let's start with Avisynth:
#Indexing
video=FFVideoSource("HNS.mxf")
ch1=FFAudioSource("HNS.mxf", track=1)
ch2=FFAudioSource("HNS.mxf", track=2)
audio=MergeChannels(ch1, ch2)
AudioDub(video, audio)
#Slow-down from 25p to 24p
AssumeFPS(24, 1, true)
ResampleAudio(48000)
#Bringing everything to 16bit planar
ConvertBits(16)
#From yv16 planar to RGB
ConvertToPlanarRGB()
#From linear BT709 SDR to DCI XYZ
Cube("C:\Programmi\AviSynth+\LUTs\BT709_to_DCI_XYZ.cube", cpu=1, fullrange=false)
Then I encoded it with ffmpeg which basically got each and every frame from Avisynth and encoded each one in a single image (.tiff).
After this, I used OpenDCP to make it encode in JPEG2000 D-Cinema 2K, 250 Mbit/s, 4:4:4 12bit.
Although I've got the file with the right codec and metadata (I think), when I opened with NeoDCP, I wasn't able to play it with the right XYZ->YUV conversion, so I have no idea whether I made my LUT in the right way or not. Don't get me wrong, I think that I did it correctly, but I'm really not sure as I have nothing to check it, so... may I ask you to check it and tell me whether it's correct or not?
Source:
https://i.imgur.com/WObxYQI.png
Encode:
https://i.imgur.com/kpbjxiS.png
A few Screenshots:
Source BT709 yv16 planar 8bit:
https://i.imgur.com/iqncGin.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/QvRGMMW.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/Wqvm6ZT.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/oQTbV9u.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/iyqBvUH.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/0DrlmJp.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/mem7cXi.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/Nr0Dydz.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/gi1NPFn.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/jkXxjlS.png
Here you'll find the download link:
DCP Attempt 1 + Source: Link (https://we.tl/t-kMBCvVY9ua)
Experimental matrices of linear transformation (LUTs): Link (https://we.tl/t-Qp95x0AXt8)
(Inside you'll find a .zip with the DCP created with Avisynth, ffmpeg and OpenDCP and the original source file in BT709 yv16 8bit planar).
(Note: please note that the source file is 25fps progressive flagged as interlaced)
Please let me know whether I did something terribly wrong or not.
Thank you in advance,
Frank
as a broadcast encoder, I face new challenges everyday.
This time, they asked us to make a DCP out of one of our original production in order to be displayed at cinema.
I gotta be fair, I'm really new to DCP and the Senior Encoder who was working with DCP is now retired, so... I have no clue.
I checked the specifications of the format and it seems that they wanna have a JPEG2000 encoded with the Digital Cinema profile, 4:4:4 12bit progressive at 24fps.
I decided to make a test with one of our commercial/promotion video in order to make sure I was doing the right thing.
First things first. Let's start with Avisynth:
#Indexing
video=FFVideoSource("HNS.mxf")
ch1=FFAudioSource("HNS.mxf", track=1)
ch2=FFAudioSource("HNS.mxf", track=2)
audio=MergeChannels(ch1, ch2)
AudioDub(video, audio)
#Slow-down from 25p to 24p
AssumeFPS(24, 1, true)
ResampleAudio(48000)
#Bringing everything to 16bit planar
ConvertBits(16)
#From yv16 planar to RGB
ConvertToPlanarRGB()
#From linear BT709 SDR to DCI XYZ
Cube("C:\Programmi\AviSynth+\LUTs\BT709_to_DCI_XYZ.cube", cpu=1, fullrange=false)
Then I encoded it with ffmpeg which basically got each and every frame from Avisynth and encoded each one in a single image (.tiff).
After this, I used OpenDCP to make it encode in JPEG2000 D-Cinema 2K, 250 Mbit/s, 4:4:4 12bit.
Although I've got the file with the right codec and metadata (I think), when I opened with NeoDCP, I wasn't able to play it with the right XYZ->YUV conversion, so I have no idea whether I made my LUT in the right way or not. Don't get me wrong, I think that I did it correctly, but I'm really not sure as I have nothing to check it, so... may I ask you to check it and tell me whether it's correct or not?
Source:
https://i.imgur.com/WObxYQI.png
Encode:
https://i.imgur.com/kpbjxiS.png
A few Screenshots:
Source BT709 yv16 planar 8bit:
https://i.imgur.com/iqncGin.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/QvRGMMW.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/Wqvm6ZT.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/oQTbV9u.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/iyqBvUH.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/0DrlmJp.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/mem7cXi.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/Nr0Dydz.png
Source BT709 yv16 planar 8bit:
https://i.imgur.com/gi1NPFn.png
Encode DCI XYZ 4:4:4 planar 12bit:
https://i.imgur.com/jkXxjlS.png
Here you'll find the download link:
DCP Attempt 1 + Source: Link (https://we.tl/t-kMBCvVY9ua)
Experimental matrices of linear transformation (LUTs): Link (https://we.tl/t-Qp95x0AXt8)
(Inside you'll find a .zip with the DCP created with Avisynth, ffmpeg and OpenDCP and the original source file in BT709 yv16 8bit planar).
(Note: please note that the source file is 25fps progressive flagged as interlaced)
Please let me know whether I did something terribly wrong or not.
Thank you in advance,
Frank