Topic: Transcoding to 10 bit x265

Hello

Could someone give me rundown of the ovcopts settings I need to use to output transcoded video as 10 bit x265? Sorry if this is some common knowledge, but I can't get my head around these options without a GUI, I'm hoping someone smarter than me could help.

Re: Transcoding to 10 bit x265

are you talking about encoding 8-bit source in a 10-bit mode?

in theory, "profile=main10" must do it
but it doesn't hmm

Re: Transcoding to 10 bit x265

Chainik wrote:

are you talking about encoding 8-bit source in a 10-bit mode?

Nope, 10-bit to 10-bit

Chainik wrote:

in theory, "profile=main10" must do it
but it doesn't hmm

Yeah, I tried that too, so you're saying that it's currently not possible? sad

Re: Transcoding to 10 bit x265

10-to-10 works by default if you have "allow output in 10-bit color depth" turned ON under App.settings -> Add.options

Re: Transcoding to 10 bit x265

Nope, it still converts to 8-bit

Re: Transcoding to 10 bit x265

are you sure?

here's the transcoder log when converting 10-bit input with a "allow output in 10-bit color depth" on

19:14:38.678: (+) Video --vid=1 (*) (h264 1280x720 23.976fps)
19:14:38.679: Audio --aid=1 (*) (aac 2ch 44100Hz)
19:14:41.220: VO: [lavc] 1280x720 yuv420p10
19:14:41.220: [vo/lavc] Opening encoder: libx265 H.265 / HEVC [libx265]
19:14:41.238: x265 [info]: HEVC encoder version 3.2_RC1+1-g4ef6b67
19:14:41.238: x265 [info]: build info [Windows][GCC 9.2.1][64 bit] 10bit
19:14:41.238: x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
19:14:41.238: x265 [info]: Main 10 profile, Level-5.2 (Main tier)
19:14:41.238: x265 [info]: Thread pool created using 8 threads

note "yuv420p10" and "Main 10 profile"

7 (edited by kolkusz 01-04-2020 17:20:50)

Re: Transcoding to 10 bit x265

Hmm, that's weird, here's my transconder log:

19:09:22.787: (+) Video --vid=1 (*) (hevc 640x480 23.976fps)
19:09:22.874: VO: [lavc] 640x480 yuv420p
19:09:22.876: [vo/lavc] AVOption 'depth' not found.
19:09:22.876: [vo/lavc] Opening encoder: libx265 H.265 / HEVC [libx265]
19:09:22.881: x265 [info]: HEVC encoder version 3.2_RC1+1-g4ef6b67
19:09:22.881: x265 [info]: build info [Windows][GCC 9.2.1][64 bit] 8bit+10bit
19:09:22.881: x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
19:09:22.881: x265 [info]: Main profile, Level-6.2 (Main tier)
19:09:22.881: x265 [info]: Thread pool created using 4 threads

And here's mediainfo of the input:

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L8.5@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 26 s 527 ms
Bit rate                    : 11.7 Mb/s
Width                       : 640 pixels
Height                      : 480 pixels
Display aspect ratio        : 4:3
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 1.595
Stream size                 : 37.2 MiB (98%)
Writing library             : x265 2.5+12-fcd9154fa4e2:[Windows][GCC 7.2.0][64 bit] 10bit

Re: Transcoding to 10 bit x265

ah. do you have gpu acceleration enabled in SVP?

Re: Transcoding to 10 bit x265

No, is it necessary? I remember reading that complicated shader (which i use) has less artifacts with gpu acceleration disabled, unless that's not the case anymore?

Re: Transcoding to 10 bit x265

> is it necessary?

it's necessary for 10-bit rendering

Re: Transcoding to 10 bit x265

Well, I guess that solves it, thanks for the help.