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 7th January 2025, 12:10   #1021  |  Link
Fuso
Registered User
 
Join Date: Dec 2010
Posts: 35
Quote:
Originally Posted by -QfG- View Post
Function is only available if input file is Profile 8.
Just tried it but it's not working. Output file has lost the HDR10 info:
Code:
HDR format                  : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID                    : hev1
and can't be even played.
MPC-HC error:
Code:
File Source (Async.)::Output

Media Type 0:
--------------------------
Unknown

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: Unknown GUID Name {08E22ADA-B715-45ED-9D20-7B87750301D4}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Media Type 1:
--------------------------
Unknown

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0
The temp.mp4 file has this info:
Code:
HDR format                  : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID                    : dvhe
and the temp.mp4 plays fine.
Fuso is offline   Reply With Quote
Old 7th January 2025, 12:43   #1022  |  Link
cool advertise
Registered User
 
cool advertise's Avatar
 
Join Date: Aug 2008
Location: Italy
Posts: 51
Quote:
Originally Posted by -QfG- View Post
Have you this entries in line 1166?
if not, please reload the tool.
Tried the new v0.64.3d version, now everything works correctly, thank you -QfG-.
cool advertise is offline   Reply With Quote
Old 7th January 2025, 12:49   #1023  |  Link
Fuso
Registered User
 
Join Date: Dec 2010
Posts: 35
Ok, so ffmpeg.exe is the one that breaks the process. I took the older version (from v0.63.1) and now everything is working as it should.
Fuso is offline   Reply With Quote
Old 7th January 2025, 12:56   #1024  |  Link
KarthikTdk
Registered User
 
Join Date: May 2024
Posts: 14
Hi @All ,
Can any one know where,I can get 1k to 4k resolutions or more than that of YUV video Format of 4:2:0 chroma sampling .
Thank you
Karthik.
KarthikTdk is offline   Reply With Quote
Old 7th January 2025, 21:15   #1025  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
Quote:
Originally Posted by Fuso View Post
Ok, so ffmpeg.exe is the one that breaks the process. I took the older version (from v0.63.1) and now everything is working as it should.
wtf... ok, will fix this on the next release .

EDIT:

Have tried FFMPEG 6 (v0.63.1) and FFMPEG 5, every time same mistake.
Can u give me your FFMPEG please?

Last edited by -QfG-; 7th January 2025 at 21:45.
-QfG- is offline   Reply With Quote
Old 7th January 2025, 22:12   #1026  |  Link
Fuso
Registered User
 
Join Date: Dec 2010
Posts: 35
Just tried with the latest ffmpeg build (ffmpeg-master-latest-win64-gpl) and it's working. I replaced both ffmpeg.exe and ffprobe.exe.
Fuso is offline   Reply With Quote
Old 7th January 2025, 23:08   #1027  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
Thanks @Fuso, it works now with your linked FFMPEG build. i have reuploaded v0.63.4d with this build. No version change. Simply reupload.
-QfG- is offline   Reply With Quote
Old 8th January 2025, 12:19   #1028  |  Link
cool advertise
Registered User
 
cool advertise's Avatar
 
Join Date: Aug 2008
Location: Italy
Posts: 51
@-QfG-
Still having problems with v0.64.3d.
This time with a dolby vision profile 8, BL+RPU, in an .mkv file. Demuxing like this gives an error and an rpu.bin of 0 bytes.
cool advertise is offline   Reply With Quote
Old 8th January 2025, 17:27   #1029  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
Quote:
Originally Posted by cool advertise View Post
@-QfG-
Still having problems with v0.64.3d.
This time with a dolby vision profile 8, BL+RPU, in an .mkv file. Demuxing like this gives an error and an rpu.bin of 0 bytes.
Will be fixed in next update, Solution is:

Open and edit DDVT_DEMUXER.cmd and change line 1028 to:

Code:
if "%BL%%REMHDR10P%%SAVHDR10P%%RPU%"=="NONONONO" (
Also it must likes so in the section:

Code:
if "!VIDEO_COUNT!"=="1" (
        if "%BL%%REMHDR10P%%SAVHDR10P%%RPU%"=="NONONONO" (
		%CYAN%
		echo.
		echo Please wait. Demuxing EL...
All problems comes now through the implantation of Dual Layer support, sorry for this.

EDIT: Fixed Script as Attach File for Download.
Attached Files
File Type: rar DDVT_DEMUXER.rar (7.4 KB, 33 views)

Last edited by -QfG-; 8th January 2025 at 17:34.
-QfG- is offline   Reply With Quote
Old 8th January 2025, 19:12   #1030  |  Link
cool advertise
Registered User
 
cool advertise's Avatar
 
Join Date: Aug 2008
Location: Italy
Posts: 51
Quote:
Originally Posted by -QfG- View Post
EDIT: Fixed Script as Attach File for Download.
It works now, with the new DDVT_DEMUXER.rar attached.
cool advertise is offline   Reply With Quote
Old 8th January 2025, 19:19   #1031  |  Link
skydalimit
Registered User
 
Join Date: Aug 2024
Posts: 2
Quote:
Originally Posted by skydalimit View Post
I've got a Hybrid MP4 movie that contains HDR + DV Profile 7. I need to convert the DV to Profile 8 (keeping HDR). Do I use the Hybrid Script and add the same file twice, or do I need to use the Demuxer script and do extra steps?
I was able to figure this out. For anyone interested, here are the steps:

1. Run DDVT_DEMUXER on the MP4 file that contains the HDR + DV Profile 7. This will demux the DV P7 and convert it to P8. The output will be an RPU.BIN file.
2. Run DDVT_REMOVER on the MP4 file that contains the HDR + DV Profile 7. Make sure "Remove Dolby Vision" = Yes. This will remove the DV P7. The output will be a "No DV.mp4" file.
3. Run DDVT_INJECTOR on the "No DV.mp4" file and select the RPU.BIN file from the output of step 1. This will remux the "No DV.mp4" with the DV P8 (RPU.BIN), creating a Hybrid HDR+DV P8 mp4.
skydalimit is offline   Reply With Quote
Old 8th January 2025, 20:25   #1032  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
If it is a Dual Layer MP4 with P7 the steps right. If it is a Single Layer P7 MP4, you can skip step (2.), the P8 RPU will overwrite the P7 EL layer.

Quote:
Do I use the Hybrid Script and add the same file twice, or do I need to use the Demuxer script and do extra steps?
If your MP4 file contains a Single Layer P7, you can do it so, thats the fastest way.
-QfG- is offline   Reply With Quote
Old 10th January 2025, 03:04   #1033  |  Link
aussiebro
Registered User
 
Join Date: Jul 2017
Posts: 1
Thanks for the application I was able to make a few hybrids out of a few Amazon web dls that are hdr10+.

Last edited by aussiebro; 10th January 2025 at 03:30.
aussiebro is offline   Reply With Quote
Old 10th January 2025, 19:29   #1034  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
Started test phase for 0.64.4. Many reworks in the scripts.

Quote:
-v0.64.4* TEST PHASE
*ADDED Function to plot HDR Metadata in FileInfo script (fork from reset_9999)
*REWORKED MANY Scripts
-QfG- is offline   Reply With Quote
Old 11th January 2025, 12:06   #1035  |  Link
Fuso
Registered User
 
Join Date: Dec 2010
Posts: 35
Is it possible to keep the chapters when converting MKV to MP4?
Fuso is offline   Reply With Quote
Old 11th January 2025, 18:36   #1036  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
No, mp4 has no chapter support.
-QfG- is offline   Reply With Quote
Old 11th January 2025, 19:38   #1037  |  Link
Fuso
Registered User
 
Join Date: Dec 2010
Posts: 35
But...

Code:
General
Complete name               : D:\Torrents\Movies\Conclave.2024.2160p.WEB-DL.DV-TheEqualizer\Conclave.2024.2160p.WEB-DL.DV-TheEqualizer.mp4
Format                      : MPEG-4
Format profile              : Base Media
Codec ID                    : isom (isom/dby1/iso2/mp41)
File size                   : 13.3 GiB
Duration                    : 2 h 0 min
Overall bit rate mode       : Variable
Overall bit rate            : 15.8 Mb/s
Frame rate                  : 23.976 FPS
Movie name                  : Conclave (2024) by TheEqualizer
Tagged date                 : 2024-12-03 10:47:43 UTC
Writing application         : Lavf60.3.100
Cover                       : Yes

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5@High
HDR format                  : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID                    : hev1
Codec ID/Info               : High Efficiency Video Coding
Duration                    : 2 h 0 min
Bit rate                    : 14.3 Mb/s
Width                       : 3 832 pixels
Height                      : 1 600 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
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.098
Stream size                 : 12.1 GiB (91%)
Title                       : Conclave
Language                    : English
Tagged date                 : 2024-12-03 10:47:43 UTC
Menus                       : 10
Codec configuration box     : hvcC+dvcC

Audio #1
ID                          : 3
Format                      : AC-3
Format/Info                 : Audio Coding 3
Commercial name             : Dolby Digital
Codec ID                    : ac-3
Duration                    : 2 h 0 min
Bit rate mode               : Constant
Bit rate                    : 640 kb/s
Channel(s)                  : 6 channels
Channel layout              : L R C LFE Ls Rs
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Compression mode            : Lossy
Stream size                 : 551 MiB (4%)
Title                       : MVO | TVShows
Language                    : Russian
Service kind                : Complete Main
Default                     : Yes
Alternate group             : 1
Tagged date                 : 2024-12-03 10:47:43 UTC
Menus                       : 10

Audio #2
ID                          : 4
Format                      : E-AC-3 JOC
Format/Info                 : Enhanced AC-3 with Joint Object Coding
Commercial name             : Dolby Digital Plus with Dolby Atmos
Codec ID                    : ec-3
Duration                    : 2 h 0 min
Bit rate mode               : Constant
Bit rate                    : 768 kb/s
Channel(s)                  : 6 channels
Channel layout              : L R C LFE Ls Rs
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Compression mode            : Lossy
Stream size                 : 662 MiB (5%)
Title                       : Original | Amazon
Language                    : English
Service kind                : Complete Main
Default                     : No
Alternate group             : 1
Tagged date                 : 2024-12-03 10:47:43 UTC
Menus                       : 10
Complexity index            : Not present / 16
Number of dynamic objects   : 15
Bed channel count           : 1 channel
Bed channel configuration   : LFE

Text #1
ID                          : 5
Format                      : Timed Text
Muxing mode                 : sbtl
Codec ID                    : tx3g
Duration                    : 1 h 59 min
Bit rate mode               : Variable
Bit rate                    : 5 b/s
Frame rate                  : 0.247 FPS
Stream size                 : 4.70 KiB (0%)
Title                       : Forced | Un Chat Andalou
Language                    : Russian
Default                     : Yes
Forced                      : Yes / No
Alternate group             : 3
Count of events             : 889
Menus                       : 10

Text #2
ID                          : 6
Format                      : Timed Text
Muxing mode                 : sbtl
Codec ID                    : tx3g
Duration                    : 1 h 50 min
Bit rate mode               : Variable
Bit rate                    : 89 b/s
Frame rate                  : 0.378 FPS
Stream size                 : 72.4 KiB (0%)
Title                       : Full | Un Chat Andalou
Language                    : Russian
Default                     : No
Forced                      : No
Alternate group             : 3
Count of events             : 1255
Menus                       : 10

Text #3
ID                          : 7
Format                      : Timed Text
Muxing mode                 : sbtl
Codec ID                    : tx3g
Duration                    : 1 h 59 min
Bit rate mode               : Variable
Bit rate                    : 10 b/s
Frame rate                  : 0.201 FPS
Stream size                 : 9.10 KiB (0%)
Title                       : Forced | Amazon
Language                    : English
Default                     : No
Forced                      : No
Alternate group             : 3
Count of events             : 721
Menus                       : 10

Text #4
ID                          : 8
Format                      : Timed Text
Muxing mode                 : sbtl
Codec ID                    : tx3g
Duration                    : 1 h 50 min
Bit rate mode               : Variable
Bit rate                    : 47 b/s
Frame rate                  : 0.324 FPS
Stream size                 : 38.4 KiB (0%)
Title                       : Full | Amazon
Language                    : English
Default                     : No
Forced                      : No
Alternate group             : 3
Count of events             : 1074
Menus                       : 10

Text #5
ID                          : 9
Format                      : Timed Text
Muxing mode                 : sbtl
Codec ID                    : tx3g
Duration                    : 1 h 53 min
Bit rate mode               : Variable
Bit rate                    : 55 b/s
Frame rate                  : 0.386 FPS
Stream size                 : 45.5 KiB (0%)
Title                       : SDH | Amazon
Language                    : English
Default                     : No
Forced                      : No
Alternate group             : 3
Count of events             : 1317
Menus                       : 10

Menu #1
ID                          : 10
Format                      : Timed Text
Codec ID                    : text
Duration                    : 2 h 0 min
Language                    : English
Bit rate mode               : CBR
Menu For                    : 1,3,4,5,6,7,8,9
00:00:00.000                : Chapter 01
00:04:47.620                : Chapter 02
00:09:35.492                : Chapter 03
00:17:46.608                : Chapter 04
00:25:48.173                : Chapter 05
00:33:13.576                : Chapter 06
00:41:42.752                : Chapter 07
00:49:17.791                : Chapter 08
00:55:01.843                : Chapter 09
01:01:06.249                : Chapter 10
01:07:25.795                : Chapter 11
01:12:54.624                : Chapter 12
01:18:13.985                : Chapter 13
01:26:02.537                : Chapter 14
01:29:51.725                : Chapter 15
01:35:00.909                : Chapter 16
01:41:31.633                : Chapter 17
01:46:22.382                : Chapter 18
01:50:43.268                : Chapter 19
01:53:41.363                : Chapter 20
Bit rate mode               : Constant

Menu #2
00:00:00.000                : Chapter 01
00:04:47.620                : Chapter 02
00:09:35.492                : Chapter 03
00:17:46.608                : Chapter 04
00:25:48.173                : Chapter 05
00:33:13.576                : Chapter 06
00:41:42.752                : Chapter 07
00:49:17.791                : Chapter 08
00:55:01.843                : Chapter 09
01:01:06.249                : Chapter 10
01:07:25.795                : Chapter 11
01:12:54.624                : Chapter 12
01:18:13.985                : Chapter 13
01:26:02.537                : Chapter 14
01:29:51.725                : Chapter 15
01:35:00.909                : Chapter 16
01:41:31.633                : Chapter 17
01:46:22.382                : Chapter 18
01:50:43.268                : Chapter 19
01:53:41.363                : Chapter 20
Fuso is offline   Reply With Quote
Old 12th January 2025, 20:15   #1038  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
Quote:
-v0.64.4 Online
*XML Support (Injector / Demuxer)
*REWORKED MANY Scripts
*ADDED Function to plot HDR Metadata in FileInfo script (fork from reset_9999)
*ADDED Mass Converting with MKVtoMP4 (Folder Support)
*UPDATED Python to v3.13
*Minor Bugfixes.
If you using the Shell Extensions please reinstall the extensions via Options script, for MKVtoMP4 folder support .
-QfG- is offline   Reply With Quote
Old 16th January 2025, 16:31   #1039  |  Link
tijgert
Registered User
 
Join Date: Mar 2005
Location: Amsterdam
Posts: 48
Hello all,

Running into a new situation here:
Source UHD with DV is 3840x1600 (letterboxed), destination UHD that needs DV is 3840x2160 (black bars).
When injecting the RPU it says video input matches with output RPU but RPU input does NOT match with video.

I also read that:
Originally Posted by Boulder View Post
My assumption is that whenever the final result doesn't have any black borders, you use the cropping option for the RPU.

So, does that mean that since the final result here WILL have black borders I do NOT need to crop?
I 'fear' the RPU will not be applied to the middle where the picture is but starts at the top so that the black bars will get DV.
Or WILL it be centered?

edit:
Made a json file where it specifies the crop, but it doesn't take over the values.


Last edited by tijgert; 16th January 2025 at 16:40.
tijgert is offline   Reply With Quote
Old 16th January 2025, 20:09   #1040  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 275
Quote:
-v0.64.5
ADDED -Injector- Support for Custom JSON files without injecting DV / HDR10+. Not supported for DV Profile 7. Skip DV and HDR10+ Input for processing JSON files directly.
FIXED -Options- Errors with Shell Extensions and W11.
FIXED -Options- Wrong TAB entry in DDVT_Options.ini [Line JSON_PROCESS] (if you have the TAB bug, please delete the complete line in ini file and save options again).
FIXED -MediaInfo- Removed HDR Metadata Tab for non HDR files.
*UPDATED mkvtoolnix to v 89.0.0.0.
*Minor Bugfixes.
Quote:
Source UHD with DV is 3840x1600 (letterboxed), destination UHD that needs DV is 3840x2160 (black bars).
When injecting the RPU it says video input matches with output RPU but RPU input does NOT match with video.
This is correct. Your SOURCE (INPUT) RPU has letterboxes 0,0,0,0 inside. Your SOURCE (INPUT) Video is letterboxed 0,280,0,280. SOURCE RPU and SOURCE VIDEO = NOT MATCH!
Your OUTPUT RPU has corrected AA with 0,280,0,280. The some borders how your INPUT VIDEO file has = OUTPUT RPU and INPUT VIDEO = MATCH

Simply press now [S] and the RPU will be fixed automatically during the injecting process. You need NO JSON file for setting cropping values for all frames in RPU.
After muxing you can proof the file with DDVT_MediaInfo and check the borders in RPU.

Last edited by -QfG-; 16th January 2025 at 20:24.
-QfG- 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 03:01.


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