Page 580 of 756
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Aug 06, 2023 6:20 pm
by RESET_9999
your HDR10 pic is wrong somehow.
it's working just fine and it's the same as MPV on my end so I don't know.
6-8-3:
https://slow.pics/c/jVXtSv5Z
MPV:
https://slow.pics/c/hmJiiuVO
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sun Aug 06, 2023 6:31 pm
by Lapihin_A
Yes, I was wrong that the problem is not DV-P5 but HDR, I saw it by taking a screenshot in MPC. After that I tried 6-8-4 option for magic.mike.2012.hdr.2160p.web.h265-slot.mkv and got normal HDR screenshots.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Mon Aug 07, 2023 7:22 am
by NiCE77
RESET_9999 wrote: Sun Aug 06, 2023 11:42 am
NiCE77 wrote: Sun Aug 06, 2023 8:44 am
Thanks! But I noticed, the --dvh1flag option is not working. This would be necessary for playback on Apple TV (with tvOS 17). Can you fix it?
This solution works until:
https://github.com/rixtox/mp4dovi
but why use the mp4muxer at all for ATV or new TV (2019+) when mp4box can mux directly lossless audio + subs + chapter?
My goal is, create a file that works well on old LG and Apple TV.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Mon Aug 07, 2023 10:53 am
by ArArdin
Hi all,
Has anyone experienced the NOKIA Streaming Box 8010 regarding Dolby Vision and audio output?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Mon Aug 07, 2023 12:24 pm
by NiCE77
ArArdin wrote: Mon Aug 07, 2023 10:53 am
Hi all,
Has anyone experienced the NOKIA Streaming Box 8010 regarding Dolby Vision and audio output?
Same as all SEI804XX variants (RockTek G2, Dune Homatics, Homatics Box R 4K Plus).
Re: Dolby Vision now possible through MP4 Mux.
Posted: Mon Aug 07, 2023 5:07 pm
by agneva
Hi,
i want to remux a UHD FEL from mkv to mp4 (for LG).
the correct format (made by the ape) is:
but I want to remux it without the ape, just with dovi tool & mp4box.
mp4box -add BL.hevc -add EL.hevc:dv-profile=7 -add 1.eac3#audio:lang=ger:name="AC3 5.1" -new 2.mp4
but I always get version0:
any idea how to say MP4box to make "dvhe.07.06" ?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Aug 08, 2023 1:44 pm
by AndreasT
Hi RESET_9999,
When encoding DDP from THD/DTS using your script (ffmpeg) the result is a DDP 5.0(side) channel layout. This layout is missing the LFE (subwoofer) channel.
My understanding is that since the goal is to encode DDP 5.1, one can add either the option "-channel_layout 5.1" or "-channel_layout 5.1(side)" to the ffmpeg command. The LFE (subwoofer) channel is then included in the channel mapping of the output.
ChatGPT tells me: "In a 5.1 setup, the rear channels (RL and RR) are directly behind the listener, creating a typical surround sound experience. In a 5.1(side) setup, the surround channels (SL and SR) are placed to the sides of the listener, rather than directly behind. This configuration is intended to provide a wider and more immersive surround sound experience, especially in setups where it might be difficult to position the rear speakers effectively.
When using ffmpeg, it is essential to choose the correct channel layout based on your speaker configuration and the desired audio experience. If you have speakers positioned behind the listener, you should use the standard 5.1 layout. If you have speakers on the sides, 5.1(side) is more appropriate. Using the wrong layout can result in audio being sent to the wrong speakers, leading to an inaccurate surround sound experience."
Maybe something to complete your script with?
Also, thank you for all the time you spend on the script and answering questions here, I'm still polling this thread for new stuff to learn almost every day, and I've been lurking around since it was first created

Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Aug 08, 2023 2:14 pm
by RESET_9999
AndreasT wrote: Tue Aug 08, 2023 1:44 pm
When encoding DDP from THD/DTS using your script (ffmpeg) the result is a DDP 5.0(side) channel layout. This layout is missing the LFE (subwoofer) channel.
I had this issue with some newer versions of ffmpeg and I thought it was fixed in the version I use (02-27-2023) right now.
Try this version:
https://drive.google.com/file/d/1rzHhl_ ... sp=sharing
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Aug 08, 2023 2:38 pm
by AndreasT
I didn't realize it may had todo with an issue with ffmpeg itself, anyways, I have been using a newer ffmpeg version
The first is the one you linked to, the second is the one I've been using.
C:\Users\Andreas\Downloads>ffmpeg -v
ffmpeg version 5.0.1-full_build-
www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
C:\Users\Andreas\Downloads>D:\Video\tools\ffmpeg-5.1\ffmpeg.exe -v
ffmpeg version 5.1-essentials_build-
www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
and i had to add this option to get the 5.1 output instead of 5.0.
Ill try with 5.0.1 and see what happens. If there was an issue fixed, maybe they broke it again with a more recent change.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Aug 09, 2023 5:57 am
by ArArdin
NiCE77 wrote: Mon Aug 07, 2023 12:24 pmSame as all SEI804XX variants (RockTek G2, Dune Homatics, Homatics Box R 4K Plus).
Thank you
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Aug 09, 2023 10:27 pm
by Lapihin_A
Hi @RESET_9999! Was taken After Earth 2013 BCORE movie with Color range: Full and after changing to Limited using ffmpeg has no effect, screenshots are created with Color range: Full (dark), when playing the movie is also dark. Is there any way to fix it?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Aug 09, 2023 10:37 pm
by Zomboy101
really excited about this tool,
registered to get some help.
i got an error on the:
4) MODE.P= DoVi Profile 7 Input (MKV/BDMV) -
-2) MODE.2= MKV/TS/M2TS/MP4 Profile 7 rip to Profile 8
Rewriting file with interleaved EL NALUs..
error: a value is required for '--input <input>' but none was supplied
TSMUXER still opened and a HEVC p8 file was created.
the created file is 6GB smaller than the original with the exact same tracks.
what input am i missing?
how critical is this error? can I ignore it?
@RESET_9999
code output:
Code: Select all
WARNING!
OS drive output path(C:\) detected, some function are now restricted and some workflow might not work properly...
Put the script folder on a non-OS drive...
_____ __ ___ _____ _ _
| __ \ \ \ / (_) / ____| (_) | |
| | | | __\ \ / / _ | (___ ___ _ __ _ _ __ | |_ ___
| | | |/ _ \ \/ / | | \___ \ / __| '__| | '_ \| __/ __|
| |__| | (_) \ / | | ____) | (__| | | | |_) | |_\__ \
|_____/ \___/ \/ |_| |_____/ \___|_| |_| .__/ \__|___/
-@RESET_9999---------------------------------|__|-----------
Choose a mode...
1) MODE.I= DoVi Convert/Edit/Sync/Inject two inputs (P8 Hybrid maker)
2) MODE.F= DoVi Fix/Extract/Info/Edit/Verify one input (doesn't convert the profile)
3) MODE.H= DoVi Maker (from HDR10 madVR or HDR10plus)
4) MODE.P= DoVi Profile 7 Input (MKV/BDMV)
5) MODE.B= Dovi Batch Muxer
6) MODE.M= MIXED: Remove/Measure/Plot/Audio/Player and more...
7) MODE.M4= MP4 Workflows
8) Exit
Choice? [1,2,3,4,5,6,7,8]?4
*****************
* CHOOSE A MODE *
*****************
1) MODE.1= Bluray Disc to Profile 8 or ST Profile 7
2) MODE.2= MKV/TS/M2TS/MP4 Profile 7 rip to Profile 8
3) MODE.3= MKV/TS/M2TS/MP4 Profile 7 ST-DL rip to DT-DL
4) MODE.4= Back to main menu
Choice? [1,2,3,4]?2
-----------------------------------------------------------------------------------------------
--This workflow will convert P7 MKV to profile 8 and can convert THD to THDac3 and to DD+
--If input is dual track dual layer, the script expect track 3 to be coreless THD
--Will mux to TS unless you disable it
-----------------------------------------------------------------------------------------------
Drag and drop a P7 MKV file and press enter...
C:\Users\Administrator\Desktop\New\testname.mkv
**************
* INPUT INFO *
**************
--> L5 Left offset: 0
--> L5 Right offset: 0
--> L5 Top offset: 42
--> L5 Bottom offset: 42
--> DoVi Profile: FEL
--> L2 trims: YES (100nits) (600nits) (1000nits)
--> DoVi source min_pq: 1 nits
--> DoVi source max_pq: 1000 nits
--> HDR10 BL input MDL: "min: 0.0001 cd/m2, max: 1000 cd/m2"
Do you want to edit L5... y or n ? and/or press enter...
N
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'C:\Users\Administrator\Desktop\dovitools_install\TEMP_folder\HDR.hevc'. Container format: HEVC/H.265 elementary stream
Progress: 100%
converting and injecting RPU...
Rewriting file with interleaved EL NALUs..
error: a value is required for '--input <input>' but none was supplied
For more information, try '--help'.
error: the following required arguments were not provided:
--input <input>
<input_pos>
Usage: dovi_tool.exe info --summary --input <input> <input_pos>
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Aug 09, 2023 11:08 pm
by RESET_9999
Lapihin_A wrote: Wed Aug 09, 2023 10:27 pm
Hi @RESET_9999! Was taken After Earth 2013 BCORE movie with Color range: Full and after changing to Limited using ffmpeg has no effect, screenshots are created with Color range: Full (dark), when playing the movie is also dark. Is there any way to fix it?
Strangely for this movie, the color must be kept to full range... BCORE WEB-DLs are very strangely made.
see limited vs full BCORE vs Movies Anywhere limited:
https://slow.pics/c/AYffaiUm
EDIT: added P5 comparison:
https://slow.pics/c/SYrdfpeN
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Aug 10, 2023 1:35 am
by RESET_9999
Zomboy101 wrote: Wed Aug 09, 2023 10:37 pm
TSMUXER still opened and a HEVC p8 file was created.
the created file is 6GB smaller than the original with the exact same tracks.
what input am i missing?
The new hevc is ok and can be muxed.
The error at the end is the script trying to read an RPU that is not present. It's my fault and I'll fix it in the next version but right now you can ignore it or put the script folder on a non-windows drive.
The file is 6gb smaller which is normal because this workflow converts dual layer FEL to single layer profile 8. FEL alone can be 15gb+.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Aug 10, 2023 3:06 pm
by ekpen
hello:
Your scripts very easy to use with Windows OS.
your free time and discretion, have a Deb version ?.
My Windows PC messed up.
I would love to install on Ubuntu, Wine does not work well.
Thanks for the 600 rpu(s) you gave me access to a few months ago..
My files are all in mkv container.
Thanks.
George