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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th January 2024, 08:39   #821  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 646
Quote:
Originally Posted by Axeldook View Post
MKV tool nix doesnt do mp4
Doesn't the DDVT_MKVTOMP4 script work for you?

[EDIT] My bad, apologies. The script doesn't convert 7 to 8.1.
I take it your tv doesn't support P7?

Last edited by von Suppé; 24th January 2024 at 08:51.
von Suppé is offline   Reply With Quote
Old 24th January 2024, 11:19   #822  |  Link
Axeldook
Registered User
 
Join Date: Aug 2021
Posts: 18
Hi,

thank you for all the responses.

LG oled wont play DV MKV, only DV mp4.

hence the ask, is there a way to add chapters to the mp4 files once ive used this tool to convert from mkv to mp4
Axeldook is offline   Reply With Quote
Old 24th January 2024, 12:37   #823  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 646
Cli-tool mp4box.exe has the capability to write chapters in mp4 container. Eventhough QfG-dovitools has this onboard, I think adding chapters has not been implemented in the DDVT_MKVTOMP4 script. Hopefully @-QfG- has it on the to-do list.

If you don't mind a workaround with 3rd party tools, you can use CleverFFMpegGUI (frontend to cli-tool ffmpeg.exe) to add chapters to mp4 files. AFAIK it would only accept timecodes.txt files, so you'd first have to extract the chapters from your mkv into that format. Which chapterEditor is capable of.

https://www.videohelp.com/software/clever-FFmpeg-GUI

https://www.videohelp.com/software/ffmpeg

https://www.videohelp.com/software/chapterEditor
von Suppé is offline   Reply With Quote
Old 24th January 2024, 12:39   #824  |  Link
Axeldook
Registered User
 
Join Date: Aug 2021
Posts: 18
great stuff. will give it a try and report back

thank you
Axeldook is offline   Reply With Quote
Old 24th January 2024, 12:59   #825  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 646
Quote:
Originally Posted by Axeldook View Post
will give it a try...
FYI when in chapterEditor, in the upper-left corner choose "Chapter editors" in which window you click on "Converter".
Select your mkv with "File" and at "Output format" choose "Timecodes (txt)". Beware to set proper and same Source- and Target FPS.
At last "Save as" and Bob's your uncle.

[EDIT]

To all, my apologies. I was mistaken in thinking ffmpeg accepting a chapter-timestamps textfile. I've asked hubblec4 (chapterEditor) for help.

Last edited by von Suppé; 26th January 2024 at 10:55.
von Suppé is offline   Reply With Quote
Old 26th January 2024, 20:27   #826  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 278
-v0.63 Online!
*UPDATED Complete overhaul of the DEMUXER script.
*UPDATED Complete overhaul of the REMOVER script.
*UPDATED No more Target subfolders.
*FIXED minor bugfixes

Quote:
I think adding chapters has not been implemented in the DDVT_MKVTOMP4 script. Hopefully @-QfG- has it on the to-do list.
DDVT_MKVTOMP4.cmd - Line 287:

Erase the switch "-map_chapters -1". I hope this works.

Or:
https://ikyle.me/blog/2020/add-mp4-chapters-ffmpeg

Quote:
Is there a way to convert MKV Profile 7 from mkvtoolnix to MKV Profile 8.1 directly ?
Yes. Open the DDVT_HYBRID.cmd script. Now add in the HDR section your P7 File. Now add the same P7 file in the DV section. Press start and you have a P8 Hybrid.

Last edited by -QfG-; 26th January 2024 at 20:36.
-QfG- is offline   Reply With Quote
Old 27th January 2024, 09:45   #827  |  Link
Axeldook
Registered User
 
Join Date: Aug 2021
Posts: 18
great work !
Axeldook is offline   Reply With Quote
Old 27th January 2024, 21:10   #828  |  Link
AgentXXL
Registered User
 
Join Date: Jul 2022
Posts: 23
Just wondering if I missed something in the conversation... I was using 61.5 with no problems but I saw that 62 had been released so I updated to it. I noticed that there is no longer an option to mux the DV injected stream into a mkv with the audio and subtitles. I came back to check today and saw that v63 was released so I installed it, thinking it might fix the missing option (used to be option 5 for the injector script). I know I can manually remux using MKVToolnix, but is there a reason why that is no longer an option in v62/63?

Regardless, thanks again for these amazing scripts!
AgentXXL is offline   Reply With Quote
Old 28th January 2024, 02:14   #829  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Quote:
Originally Posted by -QfG- View Post
Yes. Open the DDVT_HYBRID.cmd script. Now add in the HDR section your P7 File. Now add the same P7 file in the DV section. Press start and you have a P8 Hybrid.
Thank you, just tried it and it works.
Nico8583 is offline   Reply With Quote
Old 28th January 2024, 16:01   #830  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 278
Quote:
Originally Posted by AgentXXL View Post
Just wondering if I missed something in the conversation... I was using 61.5 with no problems but I saw that 62 had been released so I updated to it. I noticed that there is no longer an option to mux the DV injected stream into a mkv with the audio and subtitles. I came back to check today and saw that v63 was released so I installed it, thinking it might fix the missing option (used to be option 5 for the injector script). I know I can manually remux using MKVToolnix, but is there a reason why that is no longer an option in v62/63?

Regardless, thanks again for these amazing scripts!
The muxing Option is only available, if your Input File is a *.mkv or *.mp4. The setting is in the Injector Script default = Disabled and in the Hybrid Script default = enabled. Otherwise send me a screenshot from the Menu and i will check for errors.

EDIT: There is a fixed version 0.63 Online, a little mistake in INJECTOR script with the logfile. But the mux function still works:

Last edited by -QfG-; 28th January 2024 at 16:31.
-QfG- is offline   Reply With Quote
Old 31st January 2024, 20:34   #831  |  Link
AgentXXL
Registered User
 
Join Date: Jul 2022
Posts: 23
Quote:
Originally Posted by -QfG- View Post
The muxing Option is only available, if your Input File is a *.mkv or *.mp4. The setting is in the Injector Script default = Disabled and in the Hybrid Script default = enabled. Otherwise send me a screenshot from the Menu and i will check for errors.

EDIT: There is a fixed version 0.63 Online, a little mistake in INJECTOR script with the logfile. But the mux function still works:
I always use .mkv source files. I downloaded 0.63-Fixed and I'm still seeing no mux option. Here's screenshots from both Injector and Hybrid scripts.

Note that when I use DDVT_Options.cmd, it doesn't add a menu item for Hybrid. I also preferred the old method where it looked for a RPU.bin instead of needing to drag and drop.

I suspect it may be the menu entries in the registry are corrupted somehow - if I choose Remove from DDVT_Options.cmd, the menu items are still there, even after a reboot. I'll try manually removing them from the registry.

Sorry for the large pictures... forgot to resize before posting.
Attached Images
File Type: jpg DDVT-Hybrid-NoMux.jpg (177.5 KB, 1369 views)
File Type: jpg DDVT-Injector-NoMux.jpg (167.1 KB, 1363 views)

Last edited by AgentXXL; 31st January 2024 at 20:43. Reason: picture sizes
AgentXXL is offline   Reply With Quote
Old 31st January 2024, 20:48   #832  |  Link
AgentXXL
Registered User
 
Join Date: Jul 2022
Posts: 23
Quote:
Originally Posted by AgentXXL View Post
I suspect it may be the menu entries in the registry are corrupted somehow - if I choose Remove from DDVT_Options.cmd, the menu items are still there, even after a reboot. I'll try manually removing them from the registry.
OK, after removing the entries from the registry manually I re-ran DDVT_Options.cmd after deleting the existing .ini file. Now I don't get context menus at all. Running Win11 Pro 23H2 fully updated.

Thoughts?
AgentXXL is offline   Reply With Quote
Old 1st February 2024, 11:11   #833  |  Link
bobowb
Registered User
 
Join Date: Jan 2024
Posts: 10
TV cant trigger the DolbyVision mode with "Hybrid" DV-HDR .mkv files

Hello guys i am new here so please be good help me !

my TV is LG OLED C8 and i use the internal TV player to play movies As i know the TV supports DV Profile 8 too . I have problem with most of these "hybrid" DV-HDR .mkv files like the one below . The TV can play such files but the problem is that they always play in HDR mode and cant trigger the TV DolbyVision mode .

I have been tried these:

ffmpeg -i inputfile.mkv -c:v copy -c:a copy -strict unofficial outputfile.mp4

and to mux the .mkv file to .m2ts with tsMuxeR

but unfortunately the TV plays the .mp4 and .m2ts files again just in HDR mode but not in DolbyVision! I have been tried and all DDVT Tools scripts but no luck ...

So my question is there any more simple way to make the internal LG TV player to play such "Hybrid" files in DolbyVision mode ? Thank you in advance !

Code:
ID : 1

Format : HEVC

Format/Info : High Efficiency Video Coding

Format profile : Main 10@L5@High

HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible

Codec ID : V_MPEGH/ISO/HEVC

Duration : 1 h 2 min

Bit rate : 23.2 Mb/s

Width : 3 840 pixels

Height : 1 606 pixels

Display aspect ratio : 2.40:1

Frame rate mode : Constant

Frame rate : 23.976 (24000/1001) FPS

Color space : YUV

Chroma subsampling : 4:2:0 (Type 2)

Bit depth : 10 bits

Bits/(Pixel*Frame) : 0.157

Stream size : 10.1 GiB (97%)

Language : English

Default : Yes

Forced : No

Color range : Limited

Color primaries : BT.2020

Transfer characteristics : PQ

Matrix coefficients : BT.2020 non-constant

Mastering display color primaries : Display P3

Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2

Maximum Content Light Level : 765 cd/m2

Maximum Frame-Average Light Level : 293 cd/m2
bobowb is offline   Reply With Quote
Old 1st February 2024, 20:49   #834  |  Link
Axeldook
Registered User
 
Join Date: Aug 2021
Posts: 18
Hi MAte

i have some C2's and they will only play DV if you remove subs and chapters (mkvtoolnix) then with the new mkv file with just audio and video, drag and drop into the 'DDVT_MKVTOMP4' bat file and run it.

the Mp4 file it outputs will run in DV.

Last edited by Axeldook; 1st February 2024 at 21:03.
Axeldook is offline   Reply With Quote
Old 2nd February 2024, 14:47   #835  |  Link
bobowb
Registered User
 
Join Date: Jan 2024
Posts: 10
Quote:
Originally Posted by Axeldook View Post
Hi MAte

i have some C2's and they will only play DV if you remove subs and chapters (mkvtoolnix) then with the new mkv file with just audio and video, drag and drop into the 'DDVT_MKVTOMP4' bat file and run it.

the Mp4 file it outputs will run in DV.
Thank you very much for the tip my friend ! Will test it later and report the result here

P.S Well i did all like you said but the TV doesnt trigger the DV mode again and unfortunately plays the .MP4 file just in HDR mode ...

Last edited by bobowb; 2nd February 2024 at 18:15.
bobowb is offline   Reply With Quote
Old 3rd February 2024, 02:15   #836  |  Link
guest
Guest
 
Posts: n/a
Quote:
Originally Posted by bobowb View Post
Thank you very much for the tip my friend ! Will test it later and report the result here

P.S Well i did all like you said but the TV doesnt trigger the DV mode again and unfortunately plays the .MP4 file just in HDR mode ...
Hi "bob",

I haven't done this for a little while, but when I was doing DV stuff to play on my LG with the "built in player", I found that you needed to remove this part :- HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU,HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible, using these tools, and I also found that it would only display DV when it was either a .ts or .m2ts file !!!!

So referencing AgentXXL's screenshot, I'd used item #4 in the "MENU" to "remove HDR10+"

EDIT:- I have been "playing around" with the latest build on a Hybrid video, and there appears to be no where you can remove any HDR10 info (as shown in the above screenshot), Menu item #4 isn't available

Last edited by TDS; 3rd February 2024 at 06:44.
  Reply With Quote
Old 3rd February 2024, 08:44   #837  |  Link
bobowb
Registered User
 
Join Date: Jan 2024
Posts: 10
Quote:
Originally Posted by TDS View Post
Hi "bob",

I haven't done this for a little while, but when I was doing DV stuff to play on my LG with the "built in player", I found that you needed to remove this part :- HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU,HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible, using these tools, and I also found that it would only display DV when it was either a .ts or .m2ts file !!!!

So referencing AgentXXL's screenshot, I'd used item #4 in the "MENU" to "remove HDR10+"

EDIT:- I have been "playing around" with the latest build on a Hybrid video, and there appears to be no where you can remove any HDR10 info (as shown in the above screenshot), Menu item #4 isn't available
Thank you TDS but i already tried to remove the HDR+ metadata with DDVT_REMOVER.cmd (actually it removes just HDR+ but the HDR cant be removed)and to demux file to .m2ts but this doesnt make the TV to trigger the DV mode again ...
bobowb is offline   Reply With Quote
Old 3rd February 2024, 10:07   #838  |  Link
guest
Guest
 
Posts: n/a
Quote:
Originally Posted by bobowb View Post
Thank you TDS but i already tried to remove the HDR+ metadata with DDVT_REMOVER.cmd (actually it removes just HDR+ but the HDR can't be removed)and to demux file to .m2ts but this doesn't make the TV to trigger the DV mode again ...
Yeah, well like I said, I haven't done any of this stuff for quite a while, and a LOT of things have changed, and I have forgotten probably just as much

Hopefully the "higher ups" will chime in with some advice.

There has to be a simple way of removing both types of HDR....

I know I was successfully modding some hybrid videos that would play on my LG.

I just need to get into it again !!!

There might be (probably is) a way to get x265 to remove the HDR & inject a DV rpu (I know it can inject an rpu.bin)
  Reply With Quote
Old 3rd February 2024, 10:53   #839  |  Link
bobowb
Registered User
 
Join Date: Jan 2024
Posts: 10
Ok if someone knows let share his experience please !
bobowb is offline   Reply With Quote
Old 3rd February 2024, 16:49   #840  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 583
The LG C8 doesn't work with current MP4 muxing tools. It should still work with tsMuxer if your file shows Dolby Vision in MediaInfo.
For MP4 you need to use Dolby's muxer from 2018: https://github.com/DolbyLaboratories...3a8e3effff/bin

Either way it's best to stick to .TS with tsMuxer, it should be working fine.
__________________
LG C2 OLED | GitHub Projects
quietvoid 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 14:16.


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