Dolby provides binaries: https://github.com/DolbyLaboratories/dl ... master/binBetaExorcist wrote: ↑Tue Oct 26, 2021 7:17 amI looked at the guide on avsforum but I am having a little trouble with the installing from the Dolby labs GitHub do you think you could explain the installation process or know of some clear documentation or video that can help? I got as far as devenv mp4muxer_2010.sln /Rebuild but I got 2 errors one of which is a fatal one and I am not even sure I am doing it right in the first place.
error 1: 1>..\..\..\src\mp4_muxer.c : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
fatal error: 2>LINK : fatal error LNK1104: cannot open file '<path>\dlb_mp4base\make\mp4muxer\windows_amd64\debug\VS2010\libmp4base.lib'
Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
-
- Posts: 13
- Joined: Tue Oct 26, 2021 4:15 pm
Re: Dolby Vision now possible through MP4 Mux.
I have a question regarding encoding a file to 1920x1080p and add the Dolby Vision later. Somehow, I don't get the right file after RPU insertion.
I have encoded a Game of Thrones Episode (4K REMUX, which is Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU). I encoded it without cropping, (which I do for every encode, also movies, I just resize it from 3840x2160 to 1920x1080).
It got me an 1080p episode, which is HDR10. I used the following command to change the .mkv file to hevc:
ffmpeg -y -i GOT.S01E01.mkv -an -c:v copy -f hevc GOT.S01E01.hevc
After this, I use the command to extract the RPU from the HEVC with mode 2:
dovi_tool -m 2 extract-rpu GOT.S01E01.hevc, which gives me an RPU.bin, which, I think should be converted to profile 8.
After this, I use the ffmpeg command to change the re-encoded file from .mkv file to hevc.file. I then usethe following command to inject the RPU into the re-encoded HEVC.file:
dovi_tool inject-rpu -i GOT.S01E01.HDR.hevc --rpu-in RPU.bin -o injected_output.hevc
But somehow, I doesn't work for me. It keeps begin SMPTE 2086, HDR10. Dolby Vision won't be visible in the hevc output file. When I mux the hevc.file to .mkv, then it still is only HDR10, and not Dolby Vision.
What is the part where I screw up? I'm doing it somewhere, but I just can't put my finger on it. Or is it a cropping thing? Some help with this would be very appreciated!
Regards,
Tormented12
I have encoded a Game of Thrones Episode (4K REMUX, which is Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU). I encoded it without cropping, (which I do for every encode, also movies, I just resize it from 3840x2160 to 1920x1080).
It got me an 1080p episode, which is HDR10. I used the following command to change the .mkv file to hevc:
ffmpeg -y -i GOT.S01E01.mkv -an -c:v copy -f hevc GOT.S01E01.hevc
After this, I use the command to extract the RPU from the HEVC with mode 2:
dovi_tool -m 2 extract-rpu GOT.S01E01.hevc, which gives me an RPU.bin, which, I think should be converted to profile 8.
After this, I use the ffmpeg command to change the re-encoded file from .mkv file to hevc.file. I then usethe following command to inject the RPU into the re-encoded HEVC.file:
dovi_tool inject-rpu -i GOT.S01E01.HDR.hevc --rpu-in RPU.bin -o injected_output.hevc
But somehow, I doesn't work for me. It keeps begin SMPTE 2086, HDR10. Dolby Vision won't be visible in the hevc output file. When I mux the hevc.file to .mkv, then it still is only HDR10, and not Dolby Vision.
What is the part where I screw up? I'm doing it somewhere, but I just can't put my finger on it. Or is it a cropping thing? Some help with this would be very appreciated!
Regards,
Tormented12
-
- Posts: 88
- Joined: Mon Sep 03, 2018 10:36 am
Re: Dolby Vision now possible through MP4 Mux.
Try running the muxed mkv through MakeMKVTormented12 wrote: ↑Tue Oct 26, 2021 4:26 pmI have a question regarding encoding a file to 1920x1080p and add the Dolby Vision later. Somehow, I don't get the right file after RPU insertion.
I have encoded a Game of Thrones Episode (4K REMUX, which is Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU). I encoded it without cropping, (which I do for every encode, also movies, I just resize it from 3840x2160 to 1920x1080).
It got me an 1080p episode, which is HDR10. I used the following command to change the .mkv file to hevc:
ffmpeg -y -i GOT.S01E01.mkv -an -c:v copy -f hevc GOT.S01E01.hevc
After this, I use the command to extract the RPU from the HEVC with mode 2:
dovi_tool -m 2 extract-rpu GOT.S01E01.hevc, which gives me an RPU.bin, which, I think should be converted to profile 8.
After this, I use the ffmpeg command to change the re-encoded file from .mkv file to hevc.file. I then usethe following command to inject the RPU into the re-encoded HEVC.file:
dovi_tool inject-rpu -i GOT.S01E01.HDR.hevc --rpu-in RPU.bin -o injected_output.hevc
But somehow, I doesn't work for me. It keeps begin SMPTE 2086, HDR10. Dolby Vision won't be visible in the hevc output file. When I mux the hevc.file to .mkv, then it still is only HDR10, and not Dolby Vision.
What is the part where I screw up? I'm doing it somewhere, but I just can't put my finger on it. Or is it a cropping thing? Some help with this would be very appreciated!
Regards,
Tormented12
-
- Posts: 13
- Joined: Tue Oct 26, 2021 4:15 pm
Re: Dolby Vision now possible through MP4 Mux.
It worked. It now has the following in MediaInfo:
Dolby Vision, Version 1.0, dvhe.08.03, BL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Is this the right profile? Sometimes I see 08.06? If I encode 3840x2160 -> 1920x1080 without cropping, will I need to use the cropping feature from dovi_tool? Or wont it matter to use if the encode isn't cropped? And if so, do I manually need to set the cropping offsets?
-
- Posts: 3
- Joined: Wed Nov 04, 2020 1:14 am
Re: Dolby Vision now possible through MP4 Mux.
I am trying to get the DV8 + HDR10 BL single layer with the yuesope's tool and I keep getting the same error:
and when I try to use the Dovi tool I get this message:Exception in thread Thread-5:SIS: 0.0% BL_EL_RPU WRITING: 0.0% (BL AUs: 105 EL AUs: 52)
Traceback (most recent call last):
File "E:\Video\Dolby Vision\v0.0.4_BETA_TEST_FEL_TO_MEL_PLUS_UHDBD_TO_81__PLUS_SKIP_HDR10plus__PLUS_EXPERIM_MUXER_17102020\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "src\app.py", line 929, in run
self.write(access_unit)
File "src\app.py", line 912, in write
nalu.data.prepend("0x00000001")
AttributeError: 'int' object has no attribute 'prepend'
BL_ANALYSIS: 0.0% EL_ANALYSIS: 0.0% BL_EL_RPU WRITING: 0.0% (BL AUs: 124 EL AUs: 52)
BL_ANALYSIS: 0.0% EL_ANALYSIS: 0.0% BL_EL_RPU WRITING: 0.0% (BL AUs: 515 EL AUs: 502)
I was wondering if anyone knows how to fix this or if there is something else I can use?E:\Video\Dolby Vision\dovi_tool-1.1.3-x86_64-pc-windows-msvc\dist>dovi_tool -m 2 extract-rpu EL_RPU.hevc
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\hevc_parser-0.2.0\src\hevc\slice.rs:39:55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Re: Dolby Vision now possible through MP4 Mux.
So I've tried using mp4muxer and I've converted this mkv file:
Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
to this mp4 file:
Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
The mp4 file plays fine on my LG C7 and even the DV logo is displayed. Is it possible it could work or do I just get some sort of fake DV?
Re: Dolby Vision now possible through MP4 Mux.
I don't know. You could try remuxing the file here: viewtopic.php?p=113537#p113537
In the same way, if you see changes then it should probably work.
Re: Dolby Vision now possible through MP4 Mux.
Yes! I can see the changes.quietvoid wrote: ↑Wed Oct 27, 2021 10:12 pmI don't know. You could try remuxing the file here: viewtopic.php?p=113537#p113537
In the same way, if you see changes then it should probably work.
Thank you for your help!
-
- Posts: 2013
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
What's up with the new Firetv stick? I don't know if it was the same with the older one but here's what I'm noticing:
1- no 24fps support on plex ... 23.976fps is fine
2- if display settings are set to '' AUTO 4k max '' then everything that is not 4k plays in 1080p on plex. (no upscale to 4k )
3- if display settings are set to 2160p 60hz, then 1080p videos are played in 4k but then the framerate match doesn't work anymore on plex
4- display settings ''AUTO 4K max'' , 4k movies on iTunes/appleTV plays in 1080p
5- display settings '' 2160p 60hz'' , DV movies play in HDR10 4K on itunes.
6- frame rate match doesn't work at all on iTunes.
in fact , it looks like only the amazon prime app works properly. I don't have a Netflix account.
1- no 24fps support on plex ... 23.976fps is fine
2- if display settings are set to '' AUTO 4k max '' then everything that is not 4k plays in 1080p on plex. (no upscale to 4k )
3- if display settings are set to 2160p 60hz, then 1080p videos are played in 4k but then the framerate match doesn't work anymore on plex
4- display settings ''AUTO 4K max'' , 4k movies on iTunes/appleTV plays in 1080p
5- display settings '' 2160p 60hz'' , DV movies play in HDR10 4K on itunes.
6- frame rate match doesn't work at all on iTunes.
in fact , it looks like only the amazon prime app works properly. I don't have a Netflix account.
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.
1- I played a 1080p24 file and Plex matched it to 24Hz, confirmed with System X-Ray. HDMI set to 24Hz.RESET_9999 wrote: ↑Wed Oct 27, 2021 10:46 pmWhat's up with the new Firetv stick? I don't know if it was the same with the older one but here's what I'm noticing:
1- no 24fps support on plex ... 23.976fps is fine
2- if display settings are set to '' AUTO 4k max '' then everything that is not 4k plays in 1080p on plex. (no upscale to 4k )
3- if display settings are set to 2160p 60hz, then 1080p videos are played in 4k but then the framerate match doesn't work anymore on plex
4- display settings ''AUTO 4K max'' , 4k movies on iTunes/appleTV plays in 1080p
5- display settings '' 2160p 60hz'' , DV movies play in HDR10 4K on itunes.
6- frame rate match doesn't work at all on iTunes.
in fact , it looks like only the amazon prime app works properly. I don't have a Netflix account.
My display settings are set to Auto.
2- Played a 720p25 file and it is sent as 720p50 to the TV.
Are you sure you're matching the resolution as well in Plex?
3- I'm pretty sure not setting to Auto makes the OS hide the different refresh rate modes, it was the same on the 2018 with Kodi at least.
Netflix logged me out so I don't want to bother trying it, but I'm pretty sure it did 2160p.
-
- Posts: 2013
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
1- will test another file, but the one I tried played in 23.976fps according to my vertex.quietvoid wrote: ↑Wed Oct 27, 2021 11:00 pm1- I played a 1080p24 file and Plex matched it to 24Hz, confirmed with System X-Ray. HDMI set to 24Hz.
My display settings are set to Auto.
2- Played a 720p25 file and it is sent as 720p50 to the TV.
Are you sure you're matching the resolution as well in Plex?
3- I'm pretty sure not setting to Auto makes the OS hide the different refresh rate modes, it was the same on the 2018 with Kodi at least.
Netflix logged me out so I don't want to bother trying it, but I'm pretty sure it did 2160p.
2- didn't try 25fps content (not sure if I even have some) but yes, both firestick and plex settings have the frame rate match on. Resolution match, I tried both but will try again, I'm not sure
3- yep, once you're not on ''auto'', framerate match becomes greyed out.
Last edited by RESET_9999 on Wed Oct 27, 2021 11:06 pm, edited 1 time in total.
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.
The Android Plex app has two settings, one for the refresh rate, the other for the resolution.
At least for me.
At least for me.
-
- Posts: 2013
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yeah sorry I misread your post.
Yes, I think I tried the resolution match on and off. but will try again, not 100% sure
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: 2013
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
ok so I tried with plex resolution match on ... this makes the TV switch to 720p for 720p video but it stays in 1080p for 4k videos ...
So I guess the right setting is ''off '' but still no 4k for non-4k video if the firestick display setting is ''auto 4k max''
Tried another 24fps video and still got 23.976
tried 29.970fps video and got 60fps.
![Image](https://i.ibb.co/rw7t8pZ/Capture.png)
chestnut man 24fps
![Image](https://i.ibb.co/RHSgZnd/2021-10-27-19-29-46.jpg)
So I guess the right setting is ''off '' but still no 4k for non-4k video if the firestick display setting is ''auto 4k max''
Tried another 24fps video and still got 23.976
tried 29.970fps video and got 60fps.
![Image](https://i.ibb.co/rw7t8pZ/Capture.png)
chestnut man 24fps
![Image](https://i.ibb.co/RHSgZnd/2021-10-27-19-29-46.jpg)
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.
I remembered I did post about this before: https://www.avsforum.com/threads/offici ... t-61099898RESET_9999 wrote: ↑Wed Oct 27, 2021 11:24 pmok so I tried with plex resolution match on ... this makes the TV switch to 720p for 720p video but it stays in 1080p for 4k videos ...
So I guess the right setting is ''off '' but still no 4k for non-4k video if the firestick display setting is ''auto 4k max''
So it's weird for it not to upscale at all for you..
Although I can't remember if I did that test on the new 4K Max.