Dolby Vision now possible through MP4 Mux.
-
- Posts: 2051
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I used mkvextract to demux and mp4box (my script 7-1-1) to mux to mp4.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
OK I'll try this later on (gotta make dinner) and report backRESET_9999 wrote: ↑Sun Mar 26, 2023 10:25 pmI used mkvextract to demux and mp4box (my script 7-1-1) to mux to mp4.
Sorry quietvoid
Re: Dolby Vision now possible through MP4 Mux.
https://www.microsoft.com/store/productId/9PLTG1LWPHLF
Install that and then either the Microsoft Movies & TV app or the new Windows Media Player (from the store only not the built in WMP)
It works with mp4 only not mkv and DV8 and DV5 only not DV7
Reset said he doesn't like the accuracy of it IIRC (not color/PQ accurate or something)
Re: Dolby Vision now possible through MP4 Mux.
Hello @RESET_9999!
I have a question regarding the best way to playback DV FEL files. My setup is almost the same as yours (LG C2 and a Denon AVR) but i have a shield Pro.
I was wondering if upgrading to the x800m2 would be a good idea as it has FEL support but i was looking at previous posts and saw that the L1/L2 bugs affect this player.
Is there any difference between the two players for DV playback (besides the red push in the shield which I also see)? What is your current setup?
I have a question regarding the best way to playback DV FEL files. My setup is almost the same as yours (LG C2 and a Denon AVR) but i have a shield Pro.
I was wondering if upgrading to the x800m2 would be a good idea as it has FEL support but i was looking at previous posts and saw that the L1/L2 bugs affect this player.
Is there any difference between the two players for DV playback (besides the red push in the shield which I also see)? What is your current setup?
Re: Dolby Vision now possible through MP4 Mux.
Hey - I tried just using mkvextract first just to A/B test what the problem might be - and had the same issue - but that led me to notice your test file that played fine for me is codec ID hev1 - whereas mine come out hvc1 - I thought mp4box only spits out hvc1 unless DV5? And that the Dovi mp4muxer is what spits out hev1?RESET_9999 wrote: ↑Sun Mar 26, 2023 10:25 pmI used mkvextract to demux and mp4box (my script 7-1-1) to mux to mp4.
quietvoid said it looked like decoder errors - and isn't the codec ID SW (hev1) vs HW (hvc1) based decode? And that's why on Apple hev1 stutters?
-
- Posts: 2051
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
7-1-1 in my script doesn't not use the mp4muxer unless your input has 7.1 lossless audio. It's mp4box doing the muxing and the people that tested on the appletv did not complain about stuttering.
so the test file I sent you is from mp4box only.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 2051
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
overall, the x800m2 (or oppo and x700) easily wins over the shield in terms of quality.tjreis2 wrote: ↑Sun Mar 26, 2023 11:29 pmHello @RESET_9999!
I have a question regarding the best way to playback DV FEL files. My setup is almost the same as yours (LG C2 and a Denon AVR) but i have a shield Pro.
I was wondering if upgrading to the x800m2 would be a good idea as it has FEL support but i was looking at previous posts and saw that the L1/L2 bugs affect this player.
Is there any difference between the two players for DV playback (besides the red push in the shield which I also see)? What is your current setup?
Not to mention that some bluray lately has been using FEL to expand the brightness of the BL and these blurays can only be played properly on FEL devices.(unless you bake FEL into the BL)
EG:
https://www.youtube.com/watch?v=VObky4peBXE
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
What command did you use through mp4box (through your scripts) to get hev1 codec then? And the test file stutters on my iPhone just like when me and the Chinese guy here were figuring out the whole stuttering thing with the hev1/hvc1 codec ID. I can try and screen record that if you want.RESET_9999 wrote: ↑Mon Mar 27, 2023 12:04 am7-1-1 in my script doesn't not use the mp4muxer unless your input has 7.1 lossless audio. It's mp4box doing the muxing and the people that tested on the appletv did not complain about stuttering.
so the test file I sent you is from mp4box only.
You might want to check if a line in one of your scripts is off and it's sending stuff to mp4muxer instead of mp4box? Look at the codec ID of the file you gave me and try pumping another one out through command line only and mp4box only yourself - without going through your scripts at all to eliminate it possibly accidentally using mp4muxer?
Here's your file codec ID
Here's directly piped out though mp4box with command line:
Your file also doesn't have the mp4box bug of listing HDR10 over and over when a DV file
-
- Posts: 2051
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
no it's not.
As I said, only if your input has lossless 7.1, then mp4muxer will be used because mp4box choke on 7.1 EC3 audio muxing.
my cmd is full of variable but if you input raw hevc:
Code: Select all
findstr /c:"08" "%TEMP%check.DV.txt" >Nul
if %errorlevel%==0 (
set DV.profile=8& set mbox=:hdr=none:dv-profile=8.1:xps_inband
Code: Select all
if "%fileext%"==".h265" (
"%mp4box2_path%" -add "%filepath%%filename%%fileext%"%FPS%%mbox%:name= -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4"
if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul
goto :end
)
if "%fileext%"==".hevc" (
"%mp4box2_path%" -add "%filepath%%filename%%fileext%"%FPS%%mbox%:name= -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4"
if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul
goto :end
)
Code: Select all
"%mp4box2_path%" -add %HDR%%FPS%%mbox%:name= %A1% %A11% %A2% %A22% %A3% %A33% %A4% %A44% %A5% %A55% %A6% %A7% %A8% %A9% %A10% %S1% %S2% %S3% %S4% %S5% %S6% %S7% %S8% %S9% %S10% %S11% %S12% %S13% %S14% %S15% %S16% %S17% %S18% %S19% %S20% %S21% %S22% %S23% %S24% %S25% %S26% %S27% %S29% %S30% %S31% %S32% %S33% %S34% %S35% %S36% %S37% %S38% %S39% %S40% %S41% %S42% %S43% -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4"
if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul
:hdr=none:dv-profile=8.1:xps_inbandYour file also doesn't have the mp4box bug of listing HDR10 over and over when a DV file
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
So then how does your file get hev1 when mp4box spits out hvc1 - you have to be actively putting in a command to do that then?RESET_9999 wrote: ↑Mon Mar 27, 2023 12:32 amno it's not.
As I said, only if your input has lossless 7.1, then mp4muxer will be used because mp4box choke on 7.1 EC3 audio muxing.
my cmd is full of variable but if you input raw hevc:
Code: Select all
findstr /c:"08" "%TEMP%check.DV.txt" >Nul if %errorlevel%==0 ( set DV.profile=8& set mbox=:hdr=none:dv-profile=8.1:xps_inband
if if input file with audio and subs:Code: Select all
if "%fileext%"==".h265" ( "%mp4box2_path%" -add "%filepath%%filename%%fileext%"%FPS%%mbox%:name= -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4" if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul goto :end ) if "%fileext%"==".hevc" ( "%mp4box2_path%" -add "%filepath%%filename%%fileext%"%FPS%%mbox%:name= -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4" if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul goto :end )
Code: Select all
"%mp4box2_path%" -add %HDR%%FPS%%mbox%:name= %A1% %A11% %A2% %A22% %A3% %A33% %A4% %A44% %A5% %A55% %A6% %A7% %A8% %A9% %A10% %S1% %S2% %S3% %S4% %S5% %S6% %S7% %S8% %S9% %S10% %S11% %S12% %S13% %S14% %S15% %S16% %S17% %S18% %S19% %S20% %S21% %S22% %S23% %S24% %S25% %S26% %S27% %S29% %S30% %S31% %S32% %S33% %S34% %S35% %S36% %S37% %S38% %S39% %S40% %S41% %S42% %S43% -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4" if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul
:hdr=none:dv-profile=8.1:xps_inbandYour file also doesn't have the mp4box bug of listing HDR10 over and over when a DV file
Re: Dolby Vision now possible through MP4 Mux.
Also here you can see because the file does end up with codec ID hev1 however it does - it does stutter on iOS devices like me and that Chinese guy were talking about a while back
https://i.imgur.com/RWmfX1m.mp4
https://i.imgur.com/RWmfX1m.mp4
Re: Dolby Vision now possible through MP4 Mux.
Ah - you are using the 'brand' command I see - but that still creates/results in the stutter as shown hereRESET_9999 wrote: ↑Mon Mar 27, 2023 12:32 amno it's not.
As I said, only if your input has lossless 7.1, then mp4muxer will be used because mp4box choke on 7.1 EC3 audio muxing.
my cmd is full of variable but if you input raw hevc:
Code: Select all
findstr /c:"08" "%TEMP%check.DV.txt" >Nul if %errorlevel%==0 ( set DV.profile=8& set mbox=:hdr=none:dv-profile=8.1:xps_inband
if if input file with audio and subs:Code: Select all
if "%fileext%"==".h265" ( "%mp4box2_path%" -add "%filepath%%filename%%fileext%"%FPS%%mbox%:name= -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4" if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul goto :end ) if "%fileext%"==".hevc" ( "%mp4box2_path%" -add "%filepath%%filename%%fileext%"%FPS%%mbox%:name= -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4" if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul goto :end )
Code: Select all
"%mp4box2_path%" -add %HDR%%FPS%%mbox%:name= %A1% %A11% %A2% %A22% %A3% %A33% %A4% %A44% %A5% %A55% %A6% %A7% %A8% %A9% %A10% %S1% %S2% %S3% %S4% %S5% %S6% %S7% %S8% %S9% %S10% %S11% %S12% %S13% %S14% %S15% %S16% %S17% %S18% %S19% %S20% %S21% %S22% %S23% %S24% %S25% %S26% %S27% %S29% %S30% %S31% %S32% %S33% %S34% %S35% %S36% %S37% %S38% %S39% %S40% %S41% %S42% %S43% -tmp %TEMP% -brand mp42isom -ab dby1 -no-iod -enable 1 "%output_path%%filename%_DoVi.mp4" if "%DV.profile%"=="5" %DVH1% "%output_path%%filename%_DoVi.mp4" >Nul
:hdr=none:dv-profile=8.1:xps_inbandYour file also doesn't have the mp4box bug of listing HDR10 over and over when a DV file
Edit: nope even trying -brand hev1 still spits out hvc1 for mestaknhalo wrote: ↑Mon Mar 27, 2023 1:07 amAlso here you can see because the file does end up with codec ID hev1 however it does - it does stutter on iOS devices like me and that Chinese guy were talking about a while back
https://i.imgur.com/RWmfX1m.mp4
Re: Dolby Vision now possible through MP4 Mux.
mp4box -add video.hevc:dvp=8.1:xps_inband:hdr=none -brand -add audio.eac3:lang=eng -new p8.mp4
This spits out a hev1 file for me with mp4box - it has to be the
Still ends up stuttering on iOS though because hev1 :/
This spits out a hev1 file for me with mp4box - it has to be the
command and the-brand
together:xps_inband:hdr=none
Still ends up stuttering on iOS though because hev1 :/
Re: Dolby Vision now possible through MP4 Mux.
:xps_inband produces hev1 flag
:hdr=none removes "mp4box bug of listing HDR10 over and over"
https://github.com/gpac/gpac/issues/199 ... 1007999585
I saw the wrong image of P8.1 NF release a while ago but I thought it was because file corrupted.
The P5 of same file is fine, though.
Last edited by sw5163 on Mon Mar 27, 2023 1:45 am, edited 1 time in total.