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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th December 2024, 10:07   #521  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by Lathe View Post
Okay, I did import it into BDRB and it SEEMED to create a single m2ts file of the whole movie just fine which plays perfectly well on VLC. BUT... when I imported it into your program it threw an error when trying to execute. I had set it of course to do a HDR-SDR UHD-HD conversion as I always do.
This is the BT_Open txt information after the error:

Video ---> x264 (avc) - Stream ID 0 from?D:\__BDRB\00000.m2ts?6902103?-hide_banner -loglevel error -stats -y -fflags +genpts -i "D:\__BDRB\00000.m2ts" -vf fps=24000/1001,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=0,zscale=t=0=0:m=0,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 17 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER\00000_V0.mkv
Hi Lathe,
found the error:
Delete this from the line above:
Code:
,zscale=t=0:p=0:m=0
then it should work.
I'll fix this in the next beta.
ProWo is offline   Reply With Quote
Old 11th December 2024, 10:14   #522  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by GeoffreyA View Post
MakeMKV tends to work nicely for creating a single file.
Ah... I hadn't realized that MakeMKV would do UHD folders. So, I guess I'd just open the BDMV folder like I would a regular Blu-ray or whatever, right?

But yeah, if that works with UHD folders then that would be most helpful.

But, like I mentioned above, Clever FFMpeg would not process the resulting single file, however it WAS instrumental in extracting just the actual HEVC movie file, but then it wouldn't process it. But, so far Handbrake seems to be doing okay with it.
Lathe is offline   Reply With Quote
Old 11th December 2024, 10:36   #523  |  Link
GeoffreyA
Registered User
 
Join Date: Jun 2024
Location: South Africa
Posts: 234
Quote:
Originally Posted by Lathe View Post
Ah... I hadn't realized that MakeMKV would do UHD folders. So, I guess I'd just open the BDMV folder like I would a regular Blu-ray or whatever, right?

But yeah, if that works with UHD folders then that would be most helpful.

But, like I mentioned above, Clever FFMpeg would not process the resulting single file, however it WAS instrumental in extracting just the actual HEVC movie file, but then it wouldn't process it. But, so far Handbrake seems to be doing okay with it.
I haven't tried it with UHD, so fingers crossed.
GeoffreyA is offline   Reply With Quote
Old 11th December 2024, 11:45   #524  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Newest beta (v3.3.3.01), online now.

Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
ProWo is offline   Reply With Quote
Old 11th December 2024, 11:47   #525  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by ProWo View Post
Hi Lathe,
found the error:
Delete this from the line above:
Code:
,zscale=t=0:p=0:m=0
then it should work.
I'll fix this in the next beta.
Oh wow, I'm glad the information was helpful!

Um... when you say 'Delete the line', does that mean that I simply leave that text file in the output folder, but EDIT the content of it as you say by deleting that section and saving the text file in that same output folder, right? Then, do I close the program and re-open it and somehow it will read that edited file the next time it opens, and THEN I can import the same source file and it will now be able to encode it?

Thanks!
Lathe is offline   Reply With Quote
Old 11th December 2024, 11:49   #526  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by ProWo View Post
Newest beta (v3.3.3.01), online now.

Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
Awesome! So, I've usually waited for the complete release as I just did here recently. But, I guess in this case, I should go ahead and download this new Beta release, right? Should I do that each time you release a Beta update also? Thanks!
Lathe is offline   Reply With Quote
Old 11th December 2024, 11:52   #527  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by GeoffreyA View Post
I haven't tried it with UHD, so fingers crossed.
Well, if not, thankfully BDRB is good in collecting all those little files and putting them together in one m2ts file. I've always been curious why they do that? Actually, I was rather surprised to see that they did that with this new 4k release. I don't remember seeing that for quite some time now. I always figured it was some kind of anti-piracy thing, IDK...

@ProWo Do you think there is a way your program can import a folder instead of just a file like the way BDRB does? Because I guess in cases like this where the main movie file is divided into many smaller files, then by being able to open the BDMV folder, could your program somehow also collate all those pieces and then import it in order to encode the entire movie file?

Oh, and also, what's the deal with the dual HEVC video files anyway? I read that the smaller 2nd one is DV information. I THINK your program did the last one that was like that just fine when I just chose the 'video' stream to reencode. I think that time it somehow imported it properly. Perhaps because of that particular line error you mentioned, that may have been the holdup this time and maybe normally it will read the dual HEVC files properly.

Last edited by Lathe; 11th December 2024 at 11:57.
Lathe is offline   Reply With Quote
Old 11th December 2024, 11:59   #528  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Oh, sorry, just thought of something else... we can always just take the new .exe file in the newest version and simply replace it in the folder version we are currently using, right?
Lathe is offline   Reply With Quote
Old 11th December 2024, 12:17   #529  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by Lathe View Post
Oh, sorry, just thought of something else... we can always just take the new .exe file in the newest version and simply replace it in the folder version we are currently using, right?
Exact
ProWo is offline   Reply With Quote
Old 11th December 2024, 12:20   #530  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by ProWo View Post
Exact
Thanks!

Do you think there is a way your program can import a folder instead of just a file like the way BDRB does? Because I guess in cases like this where the main movie file is divided into many smaller files, then by being able to open the BDMV folder, could your program somehow also collate all those pieces and then import it in order to encode the entire movie file?

Oh, and also, what's the deal with the dual HEVC video files anyway? I read that the smaller 2nd one is DV information. I THINK your program did the last one that was like that just fine when I just chose the 'video' stream to reencode. I think that time it somehow imported it properly. Perhaps because of that particular line error you mentioned, that may have been the holdup this time and maybe normally it will read the dual HEVC files properly.
Lathe is offline   Reply With Quote
Old 11th December 2024, 12:42   #531  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,252
Quote:
Originally Posted by Lathe View Post
Ah... I hadn't realized that MakeMKV would do UHD folders. So, I guess I'd just open the BDMV folder like I would a regular Blu-ray or whatever, right?
Actually, try to use the playlist instead.
This way you can keep chapters, etc
You can use MakeMKV, MKVToolNIX or TsMuxer to do this.
I assume your files are decrypted.
gonca is offline   Reply With Quote
Old 11th December 2024, 12:45   #532  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by Lathe View Post
Thanks!

Do you think there is a way your program can import a folder instead of just a file like the way BDRB does? Because I guess in cases like this where the main movie file is divided into many smaller files, then by being able to open the BDMV folder, could your program somehow also collate all those pieces and then import it in order to encode the entire movie file?
I can do that if ffmpeg is able to combine these files. To test this, you need to make me a list of all the files in the folder and tell me the complete path to this folder and the folder name. Then I can send you an ffmpeg command line that you can test.

Quote:
Originally Posted by Lathe View Post
Oh, and also, what's the deal with the dual HEVC video files anyway? I read that the smaller 2nd one is DV information. I THINK your program did the last one that was like that just fine when I just chose the 'video' stream to reencode. I think that time it somehow imported it properly. Perhaps because of that particular line error you mentioned, that may have been the holdup this time and maybe normally it will read the dual HEVC files properly.
The 1st videostream shoud be the normal videotream, the 2nd one the dolbyvision data. The last beta should read and convert the 1st one without problems.
ProWo is offline   Reply With Quote
Old 11th December 2024, 16:00   #533  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
----------------------------------------------------------------------------------
December 11, 2024 release version 3.3.4.
----------------------------------------------------------------------------------

Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).

----------------------------------------------------------------------------------
ProWo is offline   Reply With Quote
Old 11th December 2024, 23:51   #534  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by gonca View Post
Actually, try to use the playlist instead.
This way you can keep chapters, etc
You can use MakeMKV, MKVToolNIX or TsMuxer to do this.
I assume your files are decrypted.
I've never tried that, thanks!
Lathe is offline   Reply With Quote
Old 11th December 2024, 23:54   #535  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by ProWo View Post
I can do that if ffmpeg is able to combine these files. To test this, you need to make me a list of all the files in the folder and tell me the complete path to this folder and the folder name. Then I can send you an ffmpeg command line that you can test.


The 1st videostream shoud be the normal videotream, the 2nd one the dolbyvision data. The last beta should read and convert the 1st one without problems.
Yep, I'm pretty sure the last one read the 'Video' dual file the last time.

I THINK I see what you are asking about the multiple files making up the movie. I'll try to do that (if I can...) Strange that we only seem to come across this once in a while. I wonder what the parameters are for them to decide to divide up the movie file like that because it doesn't seem like they usually do that very much any more.
Lathe is offline   Reply With Quote
Old 12th December 2024, 00:58   #536  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Okay, this is a bit odd...

I did the original encode UHD-HD HDR-SDR with Handbrake since we hadn't figured out Clever FFMpeg yet. And then, after you updated the program I wanted to redo it to compare. Well, I'm in the process of reencoding it, and I tested a snippet of the resulting MKV file and it looks WAY darker than the Handbrake encode! I used the same settings I've always used, HDR to SDR with Mobius and a desaturation of '2' and of course a resize to HD. I don't understand why it looks SO dark and different?

The first picture is from the Handbrake encode and the 2nd is from Clever FFMpeg. I mean, I really dig the sharper highlights and more vivid contrast and deeper colours of Clever FFMpeg, as a matter of fact, EVERYTHING about it looks great, but it is SO dark...?



Lathe is offline   Reply With Quote
Old 12th December 2024, 01:47   #537  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,252
@Lathe
Can you compare the two command lines and look for the differences?
Clever ffmpeg and handbrake use ffmpeg.
gonca is offline   Reply With Quote
Old 12th December 2024, 02:13   #538  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by gonca View Post
@Lathe
Can you compare the two command lines and look for the differences?
Clever ffmpeg and handbrake use ffmpeg.
Ooh, I don't know how to do that (especially after the fact) I used the standard setting for both for UHD-HD HDR-SDR conversion. The BT709 filter with handbrake. To me the Handbrake one looks a tad washed out. I used the same, standard settings with Clever FFMpeg, HDR-SDR, etc, with Mobius and a desaturation of 2. I'm trying to use 'Brightness' on Clever FFMpeg, but I can't seem to get the setting right, I guess I'll just hafta experiment. What's throwing me off, is I can't tell what the 'Neutral' brightness, contrast, etc., settings are. It LOOKS like the defaults already boost something, but I don't know if for example '1' on brightness means it's being boosted or if '0' on contrast means it's not affecting it. Very confusing!

Here is what the default screen looks like. So, with these untouched settings, is it already boosting something, or do I assume it is already set to a default where nothing is boosted? And, is THIS saturation setting going to override what I chose in the HDR-SDR conversion? So, should I also set it to -2 (desaturation of 2 on the HDR-SDR setting) or do I leave it at zero?


Last edited by Lathe; 12th December 2024 at 02:19.
Lathe is offline   Reply With Quote
Old 12th December 2024, 02:20   #539  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,252
try setting brightness to 2.0
just encode a small sample for testing purposes
gonca is offline   Reply With Quote
Old 12th December 2024, 02:22   #540  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
Quote:
Originally Posted by gonca View Post
try setting brightness to 2.0
just encode a small sample for testing purposes
I already just tried .5 and it was all blown out... So damn confusing! Also, what I added above about the saturation setting coinciding with what I already set in the HDR-SDR conversion.
Lathe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.