Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#543 | Link |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Yeah, that's basically what I'm going to hafta do (unless our Mr. ProWo will tell me what those settings mean...
![]() So, I set everything except Gamma to '0', I THINK it's supposed to be at '1' but I'm not sure, and I bumped up the brightness by 10%. |
![]() |
![]() |
![]() |
#545 | Link |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Man, this is getting really wacky... I mean seriously... Okay, so as I said, just setting the HDR-SDR and mobius and desaturation at 2 the film comes out rather dark as shown in my picture way above. So, I tweaked the contrast and brightness and I had it looking really good, more detailed and vibrant than the Handbrake encode, but it was just a tad bright. So, I go back and BARELY lower the brightness, and now the screen is almost totally black...
Makes NO bloody sense. Any help there Mr. ProWo...? ***EDIT Okay, I think I'm getting shell shocked here... I think I went the wrong way with the brightness. Still trying... Last edited by Lathe; 12th December 2024 at 04:41. |
![]() |
![]() |
![]() |
#546 | Link |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Alrighty... I KNOW you guys are ready to hang yourselves just about now...
So, after about 50 different tries I think I finally got it! |
![]() |
![]() |
![]() |
#547 | Link |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 254
|
The Handbrake encode looks washed out because they use, I think, Hable. Does Clever FFmpeg allow you to adjust the command-line? The problem here is likely the "npl" value for zscale: too big. However, the previous page shows 200, which should be close to spot on for most films.
Last edited by GeoffreyA; 12th December 2024 at 07:49. |
![]() |
![]() |
![]() |
#548 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Quote:
But, it does allow you to choose which method to use including Hable, Mobius, and another 1 or 2. In looking at the result now (after like 50 tries!) everything looks great EXCEPT the faces are to saturated... ![]() STILL don't know why this program didn't render it better than the picture I show above though... Most of the time it has done just great. |
|
![]() |
![]() |
![]() |
#549 | Link |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
@ProWo... Bro, I'm sorry to keep pestering you, but I just started another enode from an UHD full 4k Blu-ray source and with the exact same settings that I ALWAYS use, yep, it is turning out all weird and dark again!
You might want to check to see if maybe you changed something, because this is 2 in a row that are not turning out right. Now the ONLY thing that I can see that is superficially different, is that when you choose 'Various' and you select HDR-SDR, the saturation used to default to '2', now it shows '0' when the window opens, so you actually have to set it to '2' which was what the default was before. Other than that, I don't see any other obvious changes, but these movies are not coming out right and you should know so you can see what is going on. Here is the BE_text: Video ---> x264 (avc) - Stream ID 0 from?G:\___TL\HEVC.mkv?6672167?-hide_banner -loglevel error -stats -y -fflags +genpts -i "G:\___TL\HEVC.mkv" -vf fps=24000/1000,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=2,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 18 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?D:\__HEVC.mkv Here is how the movie is turning out with Clever FFMpeg: Here is a snapshot of how this 2nd movie is turning out with Handbrake: These are with the exact same settings with BOTH programs that I have always used for UHD to SD and HDR-SDR. Last edited by Lathe; 12th December 2024 at 08:47. |
![]() |
![]() |
![]() |
#550 | Link |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 254
|
If possible, try the following script to use FFmpeg directly and let's see what happens.
Code:
setlocal set src=Test.mkv set start=1:00:00 set length=10 set npl=203 ffmpeg -ss %start% -i "%src%" -map 0:v:0 -vf zscale=m=gbr:t=linear:dither=none:npl=%npl%,format=gbrpf32le,tonemap=mobius:desat=0,zscale=1920:-1:f=spline36,zscale=m=709:t=709:p=709:r=limited:dither=error_diffusion,format=yuv420p,sidedata=delete -c:v libx264 -crf 18 -t %length% "test.mp4" endlocal pause |
![]() |
![]() |
![]() |
#551 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Quote:
I am NOT conversant in using this kind of code, but I can save the text you gave me as a .bat file and I guess place it in the FFMpeg folder where the .exe is and try it. I have NO idea what it is doing though... ![]() ***EDIT Oh, I see (I think...) it is executing the same text that is in the BE_text file. |
|
![]() |
![]() |
![]() |
#552 | Link |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 254
|
It takes "Test.mkv" and converts it from HDR to BT.709 SDR, scaling down to 1080p as well, and encodes with x264. The problem with FFmpeg's conversion, and I expect programs that are using FFmpeg behind the scenes, is that the result is over-saturated. I think it's a bug somewhere. (This is of interest to me because, as it turns out, this week I've been cleaning up my HDR scripts, getting them down to a final version, so that I can convert 4K LOTR Theatrical to 1080p SDR. So far, I've settled on using VapourSynth.)
|
![]() |
![]() |
![]() |
#553 | Link | |
Registered User
Join Date: Mar 2020
Posts: 400
|
Quote:
you're right, I have changed the npl value from 100 to 200, after many tests. You can edit the BT_open.txt, change the npl=200 to npl=100, save the file and fire up clever FFmpeg-GUI and click execute. You will get the exact same result as before. #EDIT: There are other changes to investigate on. I'll come back to you soon with the results. In the next beta I'll add a possibility to change this value (lower is brighter). Last edited by ProWo; 12th December 2024 at 13:29. |
|
![]() |
![]() |
![]() |
#554 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Quote:
ProWo just sent me an .exe to try and so far it is doing a great job! I like the encode a little better than the Handbrake, it is a tad clearer and sharper. |
|
![]() |
![]() |
![]() |
#555 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Quote:
|
|
![]() |
![]() |
![]() |
#556 | Link | |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 254
|
Quote:
Yesterday, I was experimenting with libplacebo and it blew the other methods out of the water. Its "Spline" tone-mapping operator beats Mobius, Reinhard, and Hable, and its colour-gamut conversion mechanism as well. Even a challenging scene, Galadriel coming down the stairs in front of the candles, comes out excellent without overblown highlights. |
|
![]() |
![]() |
![]() |
#557 | Link | |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 254
|
Quote:
|
|
![]() |
![]() |
![]() |
#558 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Quote:
|
|
![]() |
![]() |
![]() |
#559 | Link | |
Registered User
Join Date: Aug 2005
Posts: 1,267
|
Quote:
|
|
![]() |
![]() |
![]() |
#560 | Link |
Registered User
Join Date: Mar 2020
Posts: 400
|
Newest beta (v3.3.4.01), online now.
Added: Set npl value for HDR to SDR tonemapping. aac_mf audio encoder, h264_mf video encoder (thx to Findu for the latter two hint). Error check during task processing. Fixed: Bug in HDR to SDR tonemapping (thx to Lathe for the hint). |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|