FranceBB
21st July 2018, 05:27
Hi,
I gotta encode a few DNxHR 12bit files into AppleProRes 10bit.
Here's what I'm doing:
#Indexing the 12bit source dithered up to 16bit stacked
FFMpegSource2("video1.mxf", atrack=-1, enable10bithack=true)
#Loudness Correction
ResampleAudio(48000)
Normalize(0.12)
#16bit downscale using Lanczos via nnedi
nnedi3_resize16(target_width=1920, target_height=1080, tv_range=true, kernel_d="Lanczos", lsb_in=true, lsb=true)
#16bit debanding using f3kdb
f3kdb(range=15, Y=45, Cb=30, Cr=30, grainY=0, grainC=0, sample_mode=2, blur_first=true, dynamic_grain=false, opt=3, mt=true, keep_tv_range=true, input_mode=1, input_depth=16, output_mode=1, output_depth=16)
Now I'd like to output 16bit stacked (output_mode=1, output_depth=16) or 16bit interleaved (output_mode=2, output_depth=16) to ffmpeg and let it dither it down to 10bit and encode in AppleProRes. Does ffmpeg actually support 16bit stacked/interleaved? I generally encode in either H.264/HEVC with x264/x265 and their pipe applications actually support 16bit stacked/interleaved, but this time I gotta encode in AppleProRes, therefore I'm using ffmpeg and I'm not sure whether it supports these high bit dept formats or not.
I gotta encode a few DNxHR 12bit files into AppleProRes 10bit.
Here's what I'm doing:
#Indexing the 12bit source dithered up to 16bit stacked
FFMpegSource2("video1.mxf", atrack=-1, enable10bithack=true)
#Loudness Correction
ResampleAudio(48000)
Normalize(0.12)
#16bit downscale using Lanczos via nnedi
nnedi3_resize16(target_width=1920, target_height=1080, tv_range=true, kernel_d="Lanczos", lsb_in=true, lsb=true)
#16bit debanding using f3kdb
f3kdb(range=15, Y=45, Cb=30, Cr=30, grainY=0, grainC=0, sample_mode=2, blur_first=true, dynamic_grain=false, opt=3, mt=true, keep_tv_range=true, input_mode=1, input_depth=16, output_mode=1, output_depth=16)
Now I'd like to output 16bit stacked (output_mode=1, output_depth=16) or 16bit interleaved (output_mode=2, output_depth=16) to ffmpeg and let it dither it down to 10bit and encode in AppleProRes. Does ffmpeg actually support 16bit stacked/interleaved? I generally encode in either H.264/HEVC with x264/x265 and their pipe applications actually support 16bit stacked/interleaved, but this time I gotta encode in AppleProRes, therefore I'm using ffmpeg and I'm not sure whether it supports these high bit dept formats or not.