The uhd option Hybrid does make some changes, problem is that I assumed that the '--uhd-bd' option would automatically enforce those options, which it does not.
I checked the x265 source code and it does add some changes, but all the cli options are checked and not automatically enforced.
-> send you a new dev version link via pm which should fix the issue, by Hybrid not hiding the option.
Cu Selur
(27.05.2021, 05:45)Selur Wrote: [ -> ]Quote:I really tried to apply the same encoding settings as from the source but Hybrid seems to act as if the video source wasn't 10 bits 4:2:0 HDR. But it is, according to MediaInfo.
You think that why?
It's just when I read the debug text. It said the video should be 10 bits, 4:2:0, progressive, etc.. as if my video wasn't of this kind. I understand now it's only a generic text explaining all the rules to follow for the encoding to work.
It doesn't say "your file is not..." but "Your file should be..." without saying if my file is actually correct or not. I first misunderstood the text.
(27.05.2021, 17:31)Selur Wrote: [ -> ]The uhd option Hybrid does make some changes, problem is that I assumed that the '--uhd-bd' option would automatically enforce those options, which it does not.
I checked the x265 source code and it does add some changes, but all the cli options are checked and not automatically enforced.
-> send you a new dev version link via pm which should fix the issue, by Hybrid not hiding the option.
Cu Selur
Actually yes, when checking the box 'uhd bd', some settings are "greyed", I mean it's not possible to change these settings, unless you uncheck the box again. But they are not changed by the fact of checking the box. At least, it seemed to me.
Ok I tried the new version you sent to me.
To go fast, I just encoded the video but I didn't check all the settings.
The encoding process failed again but there are so much informations, I really don't see what's happening.
Note that it's the first time I have to install VapourSynth. I wanted to avoid this but it seemed mandatory here.
I only installed VapourSynth R52, then "Hybrid and plugins".
Vapoursynth isn't needed,...
What happened according to the debug output.
- 2021-05-27@19_47_04_6310_01_attach was run to extract the existing attachments
Code:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/Mkvtoolnix.app/Contents/MacOS/mkvextract" attachments "/Volumes/Racines/Akira.mkv" 1:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_cover_land.jpg" 2:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_small_cover.jpg" 3:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_small_cover_land.jpg" 4:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_cover.jpg"
- 2021-05-27@19_47_04_6310_02_create run to create a qp file ("/Users/Laurent/Movies/Hybrid/Akira_2160p_2021-05-27@19_47_04_6310_02.qp")
- 2021-05-27@19_47_04_6310_03_video was started to encode the video
Code:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Akira.mkv" -map 0:0 -an -sn -vf pad=3840:2160:0:42,zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | "/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265" --input - --output-depth 10 --y4m --uhd-bd --profile main10 --level-idc 5.1 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --keyint 24 --min-keyint 1 --bframes 6 --lookahead-slices 0 --crf 14.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --qpfile "/Users/Laurent/Movies/Hybrid/Akira_2160p_2021-05-27@19_47_04_6310_02.qp" --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --vbv-maxrate 160000 --vbv-bufsize 160000 --hrd --vui-hrd-info --aud --deblock=-1:-1 --range limited --colorprim bt2020 --transfer bt709 --colormatrix bt2020c --chromaloc 1 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,50)" --max-cll 1000,369 --hdr --hdr-opt --output "/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_03.265"
after 7 minutes the creation of the debug output was disabled,...
Since the debug output doesn't hold any info the only thing I would say to test what happens if you call the encoding call in a terminal,..
Cu Selur
I tried to refine the settings to be more accurate.
The encoding failed again.
You'll find the debug.
I stopped the encoding process when I saw, in the debug, it was already paused :
Setting m_startingJobs(2) to FALSE
I spent some time in the debug text to find the command line to put in the Terminal. It's impossible to me.. I can't find it.
I know you try to make me understand the main steps of the process with your answers, but I really don't know how to use Terminal, except by copy/paste...
Could you give me a clue to find the main command line?
I tried the part after "-> MainCall" but it was not a command.
(27.05.2021, 20:07)Selur Wrote: [ -> ]What happened according to the debug output.- 2021-05-27@19_47_04_6310_01_attach was run to extract the existing attachments
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/Mkvtoolnix.app/Contents/MacOS/mkvextract" attachments "/Volumes/Racines/Akira.mkv" 1:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_cover_land.jpg" 2:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_small_cover.jpg" 3:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_small_cover_land.jpg" 4:"/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_cover.jpg"
- 2021-05-27@19_47_04_6310_02_create run to create a qp file ("/Users/Laurent/Movies/Hybrid/Akira_2160p_2021-05-27@19_47_04_6310_02.qp")
- 2021-05-27@19_47_04_6310_03_video was started to encode the video
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Akira.mkv" -map 0:0 -an -sn -vf pad=3840:2160:0:42,zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | "/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265" --input - --output-depth 10 --y4m --uhd-bd --profile main10 --level-idc 5.1 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --keyint 24 --min-keyint 1 --bframes 6 --lookahead-slices 0 --crf 14.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --qpfile "/Users/Laurent/Movies/Hybrid/Akira_2160p_2021-05-27@19_47_04_6310_02.qp" --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --vbv-maxrate 160000 --vbv-bufsize 160000 --hrd --vui-hrd-info --aud --deblock=-1:-1 --range limited --colorprim bt2020 --transfer bt709 --colormatrix bt2020c --chromaloc 1 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,50)" --max-cll 1000,369 --hdr --hdr-opt --output "/Users/Laurent/Movies/Hybrid/2021-05-27@19_47_04_6310_03.265"
- after 7 minutes the creation of the debug output was disabled,...
Since the debug output doesn't hold any info the only thing I would say to test what happens if you call the encoding call in a terminal,..
Cu Selur
Hi Selur,
I copied the code above in the terminal (I finally figured it out...).
I get : -bash: /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265: Permission denied
I went to /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
I see the x265 file has a generic icon (icon of a basic document). And the same for MP4Box file.
Most of the other files have an "exec" icon, which is the basic icon on Mac for a Windows application or an Unix application.
It seems x265 and MP4Box are not considered by the Mac as applications but as documents.
But is this a problem for encoding to work? I don't know.
What do you think?
Thanks.
Laurent
Permission denied, sounds like a rights issue.
What does:
Code:
ls -la /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
show?
Code:
sudo chmod 555 /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
should allow every user to execute the file. (replacing x265 with MP4Box etc. should fix this for other files too)
for further understanding read:
https://www.linux.com/training-tutorials...rmissions/
Cu Selur
(31.05.2021, 20:35)Selur Wrote: [ -> ]What does:
Code:
ls -la /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
show?
Terminal says:
-rwx------ 1 root admin 20658136 21 déc 17:42 /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
Code:
sudo chmod 555 /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
I did the sudo command, then asked again Terminal with the first line. It says :
-r-xr-xr-x 1 root admin 20658136 21 déc 17:42 /Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x265
And in the Hybrid package (Contents/MacOS/), x265 has now the correct icon.
Of course, I did the same with MP4Box.
should allow every user to execute the file. (replacing x265 with MP4Box etc. should fix this for other files too)
for further understanding read: https://www.linux.com/training-tutorials...rmissions/
Cu Selur
I put the encode command line in the Terminal.
It started the encoding and created a .265 file ! It seems good.
Now I'll try with Hybrid itself.
I'll tell you the result.
Thanks again for your help!
Laurent
Hi Selur,
I confirm the new version of Hybrid you sent to me is encoding in x265. The process is ongoing but the result should be fine.
Thanks
Laurent