Bug 434379

Summary: 10bit HDR video render not supported
Product: [Applications] kdenlive Reporter: Tony <anton-praha>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: fritzibaby, ilikefoss, julius.kuenzel, snd.noise
Priority: NOR Flags: fritzibaby: Brainstorm+
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tony 2021-03-14 00:11:23 UTC
SUMMARY
I have a source in v-log 422 10 bit quality. And it's not possible to render a movie according to YouTube HDR video specifications https://support.google.com/youtube/answer/7126552?hl=en#zippy=%2Chdr-metadata%2Cincorrect-color-space-marking%2Chdr-video-file-encoding

I have tried render with

f=mp4 vcodec=libx264 pix_fmt=yuv422p10le vb=55000K acodec=aac ab=1500K

but render not used yuv422p10le pixel format, please make it possible to render 10 bit HDR videos on ubuntu linux. Thanks.

STEPS TO REPRODUCE
1. render with params
f=mp4 vcodec=libx264 pix_fmt=yuv422p10le vb=55000K acodec=aac ab=1500K

OBSERVED RESULT
420 8 bit quality

EXPECTED RESULT
422 10 bit quality

SOFTWARE/OS VERSIONS
Linux: Ubuntu 20.04 
(available in About System)
KDE Plasma Version: ? 
KDE Frameworks Version: ? 
Qt Version: ?
Comment 1 emohr 2021-03-14 17:05:41 UTC
Thank you for reporting. Kdenlive and the framework MLT doesn't support 10bit video at the moment. I change it to "wishlist".
Comment 2 Tony 2021-03-14 17:46:58 UTC
in fact i can make a 10bit movie with 

vcodec=dnxhd pix_fmt=yuv422p10le vb=150000K nitris_compat profile=4 strict=2 acodec=pcm_s16le

but in this case renderer not respect the bitrate setting and make a video with a bitrate about 700mbit/s, which is more than 1.5Gb per second, what is very huge as i have a source with a bitrate 150mbit/s, and final video is black.
Comment 3 farid 2021-03-27 15:28:11 UTC
10bit support is expected in future versions of MLT.
Comment 4 Julius Künzel 2021-05-19 17:49:03 UTC
Thanks for your report! As this depends on MLT it is an upstream and I am going to close this report here as UPSTREAM.

See https://sourceforge.net/p/mlt/mailman/mlt-devel/thread/20210420042900.GA31242%40painter.painter/#msg37265097 for further information on MLTs status of 10bit support.