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 > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th June 2023, 15:17   #601  |  Link
Amateur
Registered User
 
Join Date: Dec 2010
Posts: 140
Quote:
Originally Posted by GodzilaAvenger View Post
If you are familiar with PowerShell you can write a script that loops over the files and creates hybrids.
I've used powershell a little bit for programs which require it, but have no idea how to make a script.
Amateur is offline   Reply With Quote
Old 11th June 2023, 17:44   #602  |  Link
titomoi
Registered User
 
Join Date: Feb 2019
Posts: 2
great job!!
titomoi is offline   Reply With Quote
Old 12th June 2023, 06:39   #603  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 247
Quote:
Originally Posted by Amateur View Post
Just saw these new functions. Is it possible to queue up multiple files to work overnight? Like if I have one folder of DV episodes and one folder of HDR episodes, how would I be able to do the Hybrid script and use the first file in each folder, then when complete do the second file in each folder, etc.? I won't need to change any FPS, add delays, nor do any border changes. Should be able to simply inject the DV into the HDR

Thanks for this tool. It's great
You can edit the scripts and you can make a dir support, with a for command, so that every file in this folder will be called. The problem is the naming in this case, the tool must know which DV file is for the actually HDR file. But the tool supports completely multitasking, so you can mux more files at the same time.
-QfG- is offline   Reply With Quote
Old 13th June 2023, 00:08   #604  |  Link
Amateur
Registered User
 
Join Date: Dec 2010
Posts: 140
Quote:
Originally Posted by -QfG- View Post
You can edit the scripts and you can make a dir support, with a for command, so that every file in this folder will be called. The problem is the naming in this case, the tool must know which DV file is for the actually HDR file. But the tool supports completely multitasking, so you can mux more files at the same time.
I did Right Click > Edit to see if your comment would make sense to me but not really. I have no coding experience. You're suggesting to edit the Hybrid.cmd file?

If the files have the exact same name (just in different folders) would that do the trick as far as lining up the correct files to be merged?
Amateur is offline   Reply With Quote
Old 13th June 2023, 22:07   #605  |  Link
black_hunter
Registered User
 
Join Date: Jun 2023
Posts: 1
Thank you for the great tool. I have two questions.
Would it please be possible to add a script that converts the audio from DTS to AC3 but keeps the MKV and does not make it an MP4?

If I have an MKV with PGS subs, would it be possible that the script removes the PGS subs instead of having to remove the PGS subs itself with MKVToolNix?
black_hunter is offline   Reply With Quote
Old 16th June 2023, 14:45   #606  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 247
-v0.56 Online
*NEW - Hybrid Script - If DV file contents DV and HDR10+ and the HDR file is only HDR
you can choice to mux HDR10+ metadata into target file. DV RPU
will always mux in HDR stream, HDR10+ is optional.
*Small Bugfixes.

Example: You have a UHD Remux only with HDR10 and a Hybrid WEB Release containing DV Profile 8 und HDR10+ Metadata. Choose UHD Remux as HDR File, the P8 Hybrid as DV file, type in the correct Delay and mux it.

Quote:
You're suggesting to edit the Hybrid.cmd file?
Thats not so easy, but i will take a look, if i can add folder support in futere releases.

Quote:
Would it please be possible to add a script that converts the audio from DTS to AC3 but keeps the MKV and does not make it an MP4?
Simple create a Batch file and copy paste this code in it:

Code:
@echo off & setlocal
mode con cols=122 lines=57
TITLE AUDIO TO AC3 Converter
setlocal EnableDelayedExpansion
set "FFMPEGpath=%~dp0tools\ffmpeg.exe" rem Path to ffmpeg.exe
set "AUDIOCODEC=-c:a ac3 -b:a 640k"
"!FFMPEGpath!" -drc_scale 0 -y -i "%~1" -strict experimental -loglevel error -stats -c:v copy !AUDIOCODEC! -c:s copy -strict -2 "%~dpn1_[AC3 CONVERTED]%~x1"
setlocal DisableDelayedExpansion
TIMEOUT 10
Simply Drag & Drop the MKV over this Script.
-QfG- is offline   Reply With Quote
Old 18th June 2023, 08:47   #607  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 247
-v0.57 Online
*DEMUXER creates a directory in source file dir if a custom dir is set - Fixed.
*HYBRID Any bugfixes and overhauled layout. Live ticker if HDR and OUTPUT Borders matches.
-QfG- is offline   Reply With Quote
Old 19th June 2023, 09:22   #608  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 247
-v0.58 Online
*Removes mkclean from all scripts because damage on some tracks inside mkv container.

Versions till v0.55 removed from drive for safety all our releases!
-QfG- is offline   Reply With Quote
Old 23rd June 2023, 16:23   #609  |  Link
hidef_rec
Registered User
 
hidef_rec's Avatar
 
Join Date: Jul 2007
Posts: 36
Thanks for the continued updates to this excellent toolset. A question on Apple DV Profile 8.4; searched this thread & found some discussion on converting to 8.4, but wondering if there's a way to convert videos shot on iPhone in DV 8.4 to a lower profile, namely 8.1?
__________________
Home Theater Fanatic
hidef_rec is offline   Reply With Quote
Old 24th June 2023, 07:31   #610  |  Link
Ritsuka
Registered User
 
Join Date: Mar 2007
Posts: 99
I wouldn't call 8.4 an higher profile, it's just different: it uses HLG instead of PQ, so to convert to 8.1 you would have to re-encode and convert to PQ.
Furthermore, Apple uses the ambient viewing environment metadata, I don't know if there is any player outside of Apple owns that honours it, but without that iPhone recorded DV 8.4 files look completely different.
Ritsuka is offline   Reply With Quote
Old 25th June 2023, 18:14   #611  |  Link
dkangel
Registered User
 
Join Date: Jun 2023
Posts: 12
Thank you for your amazing script.
It was already easy with the demux-injector functions but now with the hybrid script it's even more easy.
It's the perfect tool to import dv web file into hdr br remux.
dkangel is offline   Reply With Quote
Old 26th June 2023, 07:02   #612  |  Link
Cedvano
Registered User
 
Join Date: Jul 2009
Posts: 244
Hi,
I'm starting to get interested in the AV1 codec, and I would like to know if this codec is compatible for Dolby Vision and if this software accepts this codec?
Thanks
Cedvano is offline   Reply With Quote
Old 26th June 2023, 09:43   #613  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 126
AFAIK Dolby Vision is not supported on AV1, at least officially.
GodzilaAvenger is offline   Reply With Quote
Old 26th June 2023, 19:46   #614  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 247
-v0.59 Online
*Hybrid Scripts supports now HDR10+ files without DV for secondary input.
If the secondary stream contains DV and HDR10+ metadata, you can choose
which metadata will be used for RPU.
*Live ticker for Output file HDR infos.

No support for DV Profile 8.4 now, because i have no HLG files for testing.
-QfG- is offline   Reply With Quote
Old 27th June 2023, 07:13   #615  |  Link
Cedvano
Registered User
 
Join Date: Jul 2009
Posts: 244
Quote:
Originally Posted by GodzilaAvenger View Post
AFAIK Dolby Vision is not supported on AV1, at least officially.
Thank you
Cedvano is offline   Reply With Quote
Old 28th June 2023, 10:29   #616  |  Link
MadMonkey57
Duh!
 
MadMonkey57's Avatar
 
Join Date: Dec 2008
Posts: 239
Hi,

Reporting an issue. I can work it around with another tool, so mostly reporting as an FYI to DDVT maintainer (thx for your tool BTW).

I have downloaded a large DoVi MKV movie for TESTING purposes on my LG OLED65C8 (2018).

I converted the MKV to MP4 with DDVT_MKVTOMP4 v0.58, and TV plays it as a regular HDR file.
Then I converted the MKV to MP4 with dvmkv2mp4 , and TV plays it as a DoVi file.

For context, here are the "ffmpeg -i" output of all three files:
- MKV: https://pastebin.com/LvGW4PaA
- DDVT.mp4: https://pastebin.com/WBATZTkY
- dvmkv2mp4.mp4: https://pastebin.com/CbEACpbt

And the mediainfo of both converted files:
- DDVT.mp4: https://pastebin.com/MUPVR0Fw
- dvmkv2mp4.mp4: https://pastebin.com/7QnM3fwM

Hope it helps.

EDIT: Still experimenting. This time, I tried converting this DoVi MKV and the resulting mp4 plays as a DoVi on my TV.

EDIT 2: Tried converting "FEL_test_for_AVS.mkv" available from HERE. This time, TV detects the resulting mp4 as a DoVi, but playback is stuck on the very first frame.

This is so weird.

Last edited by MadMonkey57; 28th June 2023 at 18:26.
MadMonkey57 is offline   Reply With Quote
Old 28th June 2023, 16:17   #617  |  Link
Fuso
Registered User
 
Join Date: Dec 2010
Posts: 21
Quote:
Originally Posted by MadMonkey57 View Post
Hi,

Reporting an issue. I can work it around with another tool, so mostly reporting as an FYI to DDVT maintainer (thx for your tool BTW).

I have downloaded a large DoVi MKV movie for TESTING purposes on my LG OLED65C8 (2018).

I converted the MKV to MP4 with DDVT_MKVTOMP4 v0.58, and TV plays it as a regular HDR file.
My main tv is LG C2, but I also have a B8 as second tv and I watch movies sometimes on it but can't play DV converted with this tool. I will be very happy if it becomes possible to watch Profile 8 mkv2mp4 on the pre-2020 LG models.


Quote:
Originally Posted by MadMonkey57 View Post
Then I converted the MKV to MP4 with dvmkv2mp4 , and TV plays it as a DoVi file.
I suppose this tool is only for Linux?


Quote:
Originally Posted by MadMonkey57 View Post
EDIT: Still experimenting. This time, I tried converting this DoVi MKV and the resulting mp4 plays as a DoVi on my TV.
That is because the file is Profile 7 which plays fine on the pre-2020 LG models.
Fuso is offline   Reply With Quote
Old 28th June 2023, 18:04   #618  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 126
Can you add the MediaInfo of the converted files?
GodzilaAvenger is offline   Reply With Quote
Old 28th June 2023, 18:27   #619  |  Link
MadMonkey57
Duh!
 
MadMonkey57's Avatar
 
Join Date: Dec 2008
Posts: 239
Quote:
Originally Posted by GodzilaAvenger View Post
Can you add the MediaInfo of the converted files?
Sure. Updated the original post.
MadMonkey57 is offline   Reply With Quote
Old 29th June 2023, 05:09   #620  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 126
My guess is that the problem stems from the codec type, one is "hev1" while the other is "dvhe". It seems that the latter triggers DV on your TV while the former doesn't. Also the HDR format info of the second one is weird (Version 0 isn't exactly a thing).

If I were to guess again I'd say this is because dvmkv2mp4 uses "hevc_mp4toannexb" but DDVT doesn't, but I may be wrong.

Last edited by GodzilaAvenger; 29th June 2023 at 05:43.
GodzilaAvenger 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 19:14.


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