Page 90 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 12:46 am
by ATD555
RESET_9999 wrote: Wed Mar 04, 2020 12:04 am -if you're working with original m2ts from uhd-bd, you should remux to DV TS directly in tsMuxer. No mp4muxer needed.

-if you're working with DV MP4: on my end, because I also experienced the washed-out picture with grey black bars, I started using the mp4demuxer to demux first and then use the raw hevc layers to build a new DV TS with Atmos.
https://github.com/DolbyLaboratories/dlb_mp4demux

-personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
What commands do I use in the Dolby Demuxer

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 1:11 am
by RESET_9999

Code: Select all

mp4demuxer_64bits.exe --input-file E:\DV.mp4
only this cmd but the process is very slow. maybe I'm doing something wrong,I'm not sure.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 4:33 am
by Grencola
RESET_9999 wrote: Wed Mar 04, 2020 12:04 am -personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
have you tried a dual layer mkv remux at all? curious if demuxing it (gMKVExtractGUI) and making a ts from the two hevc and thd atmos files play properly on the x700 or not.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 11:39 am
by RESET_9999
Grencola wrote: Wed Mar 04, 2020 4:33 am
RESET_9999 wrote: Wed Mar 04, 2020 12:04 am -personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
have you tried a dual layer mkv remux at all? curious if demuxing it (gMKVExtractGUI) and making a ts from the two hevc and thd atmos files play properly on the x700 or not.
Yes I did and it works properly. Of course the truehd track need to be processed in eac3to

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 1:52 pm
by kws53
RESET_9999 wrote: Wed Mar 04, 2020 12:04 am -personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
What is the difference between having descriptors in both the EL and BL layers, compared to only the EL layer? Do they play differently?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 1:56 pm
by kws53
RESET_9999 wrote: Wed Mar 04, 2020 11:39 am
Grencola wrote: Wed Mar 04, 2020 4:33 am
RESET_9999 wrote: Wed Mar 04, 2020 12:04 am -personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
have you tried a dual layer mkv remux at all? curious if demuxing it (gMKVExtractGUI) and making a ts from the two hevc and thd atmos files play properly on the x700 or not.
Yes I did and it works properly. Of course the truehd track need to be processed in eac3to
Are you saying that a method of using the MKV container exists? Wouldn't we need a single layer DV file?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 2:12 pm
by Grencola
RESET_9999 wrote: Wed Mar 04, 2020 11:39 am Yes I did and it works properly. Of course the truehd track need to be processed in eac3to
awesome, I figured as much. and yea eac3to is probably the quickest way to add the ac3 track.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 2:14 pm
by ATD555
RESET_9999 wrote: Wed Mar 04, 2020 11:39 am
Grencola wrote: Wed Mar 04, 2020 4:33 am
RESET_9999 wrote: Wed Mar 04, 2020 12:04 am -personally I'm now using the newest tsmuxer with no DV descriptor in the HDR10 layer.
this one: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
have you tried a dual layer mkv remux at all? curious if demuxing it (gMKVExtractGUI) and making a ts from the two hevc and thd atmos files play properly on the x700 or not.
Yes I did and it works properly. Of course the truehd track need to be processed in eac3to
Can you explain what you did here?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 2:16 pm
by Grencola
kws53 wrote: Wed Mar 04, 2020 1:56 pm Are you saying that a method of using the MKV container exists? Wouldn't we need a single layer DV file?
depends on what device you're playing it on. x700 can play dual-layer ts made from mkv / m2ts fine. the shield, firetv, apple tv etc all still need single layer.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 3:14 pm
by RESET_9999
kws53 wrote: Wed Mar 04, 2020 1:56 pm
Are you saying that a method of using the MKV container exists? Wouldn't we need a single layer DV file?
Unless I misunderstood what he asked. DV in MKV container does not work but if the mkv got both layers, you can build a new DV TS from it.
kws53 wrote: Wed Mar 04, 2020 1:52 pm
What is the difference between having descriptors in both the EL and BL layers, compared to only the EL layer? Do they play differently?
no difference at all, but i believe the DV descriptor on the HDR10 layer is not needed. Just like the mp4muxer does.
Also this make the file playable(playback was jumpy tho) in HDR10 on the shield.. previous tsmuxer triggered DV with a black screen.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 3:36 pm
by yusesope
But how much do you guys write? :shock: :lol:

I don't know if there have been developments and I don't know if my tool to create a raw BL+EL+RPU file can still be useful or not but, as promised, you can find the tool HERE.

For those who do not want to use the command line, after unpacking the archive, click on the "start_bl_el_rpu_builder.bat" file and follow the instructions on the screen.
A "BL_EL_RPU.hevc" file will be created in the same folder of this program (so pay attention to how much free space you have left on the disk)

For those who want to use the command line (on Windows, MacOS and Linux), you can use your version of Python (with python >= 3) but you must first install "bitstring"

Code: Select all

pip install bitstring
Windows users can also use the interpreter present in the "python-3.7.6.amd64" folder.

To see the available options, run the source code (in the "src" folder) with the "-h" switch.

Code: Select all

python src/bl_el_rpu_builder.py -h

or(Windows users)

python-3.7.6.amd64\python.exe src\bl_el_rpu_builder.py -h

Hoping that everything works correctly (forgive any errors), I recommend you to mux the file obtained using mp4muxer (as far as I know it is the only program able to process the information present in the NAL relating to the Enhancement Layer).
Try both with profile 4 and with profile 7.

Happy testing everyone!


CHANGELOG

Code: Select all

Version 0.0.3
	-- 	Fixed HDR10+ bug
	-- 	Fixed "Malformed NALu EOS" bug
	-- 	Fixed "Folders and files with spaces in the name" bug 
	-- 	Fixed "EL_ANALYSIS hanging at 0.0%" bug
	-- 	Changed the values ​​of the switch "-lbf" for a better management of the RAM.
		Default value: 500. Incremental steps of 100
	-- 	Improved logic and readability of the code

Version 0.0.2
	-- 	Improved logic and readability of the code
	-- 	The "-tbw" switch (time before the writer) has been removed and replaced by an internal mechanism.
	-- 	The "-mode" switch has been added. Allows you to choose the output mode:
		BL + EL + RPU (Single Track Double Layer == default) or BL + RPU (Single Track Single Layer).
		For more information, run the program with the "-h" switch

Version 0.0.1
	--	initial release


v0.0.4 ALFA
Download: HERE
Instructions and considerations: HERE

CHANGELOG

Code: Select all

initial release
	-- 	Management of raw HEVC streams from REMUXed files
	-- 	DEMUX capability (BL_EL_RPU.hevc  --->  BL.hevc + EL_RPU.hevc)

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 3:38 pm
by ATD555
yusesope wrote: Wed Mar 04, 2020 3:36 pm But how much do you guys write? :shock: :lol:

I don't know if there have been developments and I don't know if my tool to create a raw BL+EL+RPU file can still be useful or not but, as promised, you can find the tool HERE.

For those who do not want to use the command line, after unpacking the archive, click on the "start_bl_el_rpu_builder.bat" file and follow the instructions on the screen.
A "BL_EL_RPU.hevc" file will be created in the same folder of this program (so pay attention to how much free space you have left on the disk)

For those who want to use the command line (on Windows, MacOS and Linux), you can use your version of Python (with python >= 3) but you must first install "bitstring"

Code: Select all

pip install bitstring
Windows users can also use the interpreter present in the "python-3.7.6.amd64" folder.

To see the available options, run the source code (in the "src" folder) with the "-h" switch.

Code: Select all

python src/bl_el_rpu_builder.py -h

or(Windows users)

python-3.7.6.amd64\python.exe src\bl_el_rpu_builder.py -h

Hoping that everything works correctly (forgive any errors), I recommend you to mux the file obtained using mp4muxer (as far as I know it is the only program able to process the information present in the NAL relating to the Enhancement Layer).
Try both with profile 4 and with profile 7.

Happy testing everyone!
Thank you! Thank you! Thank you!

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 3:54 pm
by mattmarsden
Thank you so much. Whats the best way to demux the hevc layers? Also what commands do we use in mp4muxer? Thanks!

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 3:59 pm
by ATD555
mattmarsden wrote: Wed Mar 04, 2020 3:54 pm Thank you so much. Whats the best way to demux the hevc layers? Also what commands do we use in mp4muxer? Thanks!
To demux the HEVC files

Code: Select all

ffmpeg.exe -i bluray:\path\to\bluray -map 0:0 -c copy %userprofile%\Desktop\BL.hevc -map 0:1 -c copy %userprofile%\Desktop\EL.hevc
To use MP4Muxer

Code: Select all

mp4muxer_64bits.exe --dv-profile 7.06 --input-file %userprofile%\Desktop\BL.hevc --input-file %userprofile%\Desktop\EL.hevc --output-file %userprofile%\Desktop\mp4muxer_out.mp4

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 04, 2020 4:02 pm
by baker99
yusesope wrote: Wed Mar 04, 2020 3:36 pm But how much do you guys write? :shock: :lol:

I don't know if there have been developments and I don't know if my tool to create a raw BL+EL+RPU file can still be useful or not but, as promised, you can find the tool HERE.

For those who do not want to use the command line, after unpacking the archive, click on the "start_bl_el_rpu_builder.bat" file and follow the instructions on the screen.
A "BL_EL_RPU.hevc" file will be created in the same folder of this program (so pay attention to how much free space you have left on the disk)

For those who want to use the command line (on Windows, MacOS and Linux), you can use your version of Python (with python >= 3) but you must first install "bitstring"

Code: Select all

pip install bitstring
Windows users can also use the interpreter present in the "python-3.7.6.amd64" folder.

To see the available options, run the source code (in the "src" folder) with the "-h" switch.

Code: Select all

python src/bl_el_rpu_builder.py -h

or(Windows users)

python-3.7.6.amd64\python.exe src\bl_el_rpu_builder.py -h

Hoping that everything works correctly (forgive any errors), I recommend you to mux the file obtained using mp4muxer (as far as I know it is the only program able to process the information present in the NAL relating to the Enhancement Layer).
Try both with profile 4 and with profile 7.

Happy testing everyone!
Wohoo thank you, will get testing