28.08.2017, 21:19
(28.08.2017, 21:08)Selur Wrote:Quote:Why may Hybrid leave "--input -" parameter in the command line?Why do you think Hybrid should remove "--input -" from a command line? Only reason for '--input -' not showing up inside the command line of x265 would be if x265 also was the decoder, which it never is in Hybrid. Hybrid doesn't create humongous raw YUV files to feed them to x265.
-> No clue why you think the '--input -' part should be removed.
Quote:Project crashed.Which can have tons of reasons,... starting with Avisynth running out of RAM.
Since you didn't care about providing any details (which you should know are needed for me to understand what you do) I assume the issue is solved and you don't want/need any help.
Cu Selur
Now it seems to be working (encoding has started!) even at 12bit, with cropping etc. I forgot some wrong marks in the command line.
I gave Hybrid all the HDR parameters which could be read out from Mediainfo. The estimated file size is 6GB instead of 55 GB....I like the power of CRF encoding....
I will report back if I can display correctly the results on my old (from 2014) 4K LG TV which do supports some form of HDR.
(28.08.2017, 21:08)Selur Wrote:Quote:Why may Hybrid leave "--input -" parameter in the command line?Why do you think Hybrid should remove "--input -" from a command line? Only reason for '--input -' not showing up inside the command line of x265 would be if x265 also was the decoder, which it never is in Hybrid. Hybrid doesn't create humongous raw YUV files to feed them to x265.
-> No clue why you think the '--input -' part should be removed.
Quote:Project crashed.Which can have tons of reasons,... starting with Avisynth running out of RAM.
Since you didn't care about providing any details (which you should know are needed for me to understand what you do) I assume the issue is solved and you don't want/need any help.
Cu Selur
Could you please check if it is correct (I just want to crop before converting the source to 12-bit, it seems it is not possible with cropping used to keep the 10bit-12 bit conversion route)
It seems Hybrid thinks the source is 8-bit (wants to dither to 8 bit instead of 10 bit, and doesn't let me modify e.g. the matrix from bt.709 to bt.2020, etc...:
SetMemoryMax(1536)
SetMTMode(5,12) # change MT mode
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\dither.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\flash3kyuu_deband.dll")
Import("C:\Program Files\Hybrid\avisynthPlugins\dither.avsi")
# loading source: D:\x\UHD\x\x.mkv
# input luminance scale tv
LWLibavVideoSource("D:\x\UHD\x\x.mkv",cache=false,stacked=true,format="YUV420P16",repeat=true)
# current resolution: 3840x2160
SetMTMode(2) # change MT mode
# cropping to 3840x1604
Dither_crop16(0,278,0,-278)
# current resolution: 3840x1604
# dithering from 16 to 8bit for encoder
f3kdb_dither(stacked=true,input_depth=16)
distributor()
return last