Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

aboulfad wrote:
Mon Apr 24, 2023 12:38 pm

Thank you, I thought you had an HDR capable capture device :-) I'll borrow a DSLR & try. My 2017 LG E7 internal player didn't play that pattern in DoVI P8 (mp4->HDR, ts->spinning wheel), that could have been another source.
I you mean how to capture the PQ signal of a device? Sure, you can do that with any capture card but you're testing the player LLDV this way.
TV-LED cannot be captured since the final PQ image is generated by the TV and not the player.

The shield red push and other content have been tested this way in this thread a while ago( with the shogun atomos). I don't think the multi-pattern ever been tested this way though.
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

Hello everybody!!! mp4muxer.exe New version, I make commands:
C:\Users\Legosoff>"C:\Program Files\Dolby Media Encoder\resources\dee\mp4muxer.exe" --input-file C:\Users\CinemaHD\Desktop\SUPER_8.hevc --dv-profile 8 --dv-bl-compatible-id 1 --hvc1flag --input-file C:\Users\CinemaHD\Desktop\English.aac --media-lang eng --track-name R5 --input-file C:\Users\CinemaHD\Desktop\Russian.aac --media-lang rus --track-name Original --input-file C:\Users\CinemaHD\Desktop\subtitles.xml --media-lang rus --track-name R5 --cover-art C:\Users\CinemaHD\Desktop\cover.png --output-file C:\temp\out.mp4
mp4muxer.exe: ERROR: Images specified with unsupported file format. Images only supported for CFF (.uvu) files.

help:
--mux-flags arg Set the multiplexer flags.
--frag-flags arg Set the fragmentation flags.
--track-flags arg Set the track header flags.
--output-file arg Specify the output file.
--output-format arg Specify the output file format.
--dash-profile arg Specify the MPEG DASH profile.
--hls-profile arg Specify the HLS profile.
--validate arg Verify conformance to the output format.
--overwrite Overwrite the output file even if it already exists
--hvc1flag Set the HEVC track's sample entry name to 'hvc1'
--dvh1flag Set the DoVi track's sample entry name to 'dvh1'
--avc3flag Set the AVC track's sample entry name to 'avc3'
--ps-present-flag Set the parameter sets ( AVC: sps/pps; HEVC: vps/sps/pps) present in the sample and
sample entry.
--ps-only-sample-entry-flag Set the parameter sets ( AVC: sps/pps; HEVC: vps/sps/pps) only present in the sample
entry.
--input-file arg Specify the input elementary stream file or directory.
--input-format arg Specify the format of the input elementary stream file or directory.
--media-lang arg Set the 3-letter media language of the media.
--ref-flag Set the reference flag to the input ES file for segment alignment checking.
--track-name arg Set the value for the 'name' field in the `hdlr' box.
--track-groupid arg Set the alternate_group field in the `tkhd' box.
--track-tsoffset arg Set relative time offset of a single track.
--tt-sample-interval arg Set the time interval between subtitle samples, in milliseconds.
--log-file arg Set the log file
--uv-apid arg Set the APID.
--uv-profile arg Set the DECE profile.
--uv-movie-md arg Add DECE required metadata XML file.
--uv-opt-movie-md arg Add DECE optional metadata XML file.
--uv-metadata-images arg Specify a list of image files referenced within the metadata.
--cover-art arg Set the cover art image.

--enc-key arg Set the encryption key in either the base64 or hex format.
--drm-data-file arg Add a DRM data set from a file.
--uv-bloc arg Set the Base Location in an UltraViolet file.
--uv-purl arg Set the Purchase Location in an UltraViolet file.
--mpeg4-brand arg Specify the ISO base media file format brand in a format as follows (ABCD[:v]).
--mpeg4-comp-brand arg Specify the ISO base media file format compatible brand(s), comma separated, in a format
as follows: (ABCD,EDFG).
--license-file arg Specify a license file
--help Print general help information
--morehelp arg Print detailed help information on a specific option.
--progress Display a progress meter
--version Print the version information and exit.
--id3-blob arg Set the contents of the ID32 box.
--itunes-blob arg Set the contents of the udta.meta box.
--threegp-blob arg Set the contents of the 3GPP metadata boxes.
--dv-profile arg Set the Dolby Vision profile.
--dv-bl-compatible-id arg Set the Dolby Vision base layer compatible ID, if the profile index is 8, this option
must be set by user.
--ac4-bitrate arg Set the ac4 bitrate value.
--ac4-br-precision arg Set the ac4 bitrate precision value.

I need a poster picture, why is the picture refused --cover-art C:\Users\CinemaHD\Desktop\cover.png?
spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

legosoff wrote:Hello everybody!!!
mp4muxer.exe: ERROR: Images specified with unsupported file format. Images only supported for CFF (.uvu) files.

I need a poster picture, why is the picture refused --cover-art C:\Users\CinemaHD\Desktop\cover.png?
Error message is your answer, .png is NOT a supported file format
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

Different image format and still an error, where can I find CFF (.uvu)?
spl147
Posts: 309
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

legosoff wrote:Different image format and still an error, where can I find CFF (.uvu)?
Try googling it
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

spl147 wrote:
Tue Apr 25, 2023 12:07 pm
legosoff wrote:Different image format and still an error, where can I find CFF (.uvu)?
Try googling it
https://www.uvcentral.com/files/CFFMedi ... -1.1r1.pdf I did so and everything correct, it not clear.
qq1649536801
Posts: 2
Joined: Tue Apr 25, 2023 4:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by qq1649536801 »

I got a problem with script to mux a ts file.
this ts file
HDR Format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Code ID : 36
the code id 36 , won`t get work in Windows computer. only the code id dvhe, dvh1 and some else.

to get id dvhe, I use the mp4muxerNEW with
./mp4muxerNEW -i D:\DV\20000_P8.hevc --dv-profile 8 --dv-bl-compatible-id 1 -o D:\DV\20000_P8.mp4
so, if there is another way to get the dvhe flag?
cause I found some DoVi demo videos are ts file with dvhe, such as LG Amaze Dolby Vision UHD 4K Demo.ts
HDR Format : Dolby Vision, Version 1.0, dvhe.05.09, BL+RPU
Code ID : dvhe
Code ID/info : High Efficiency Video Coding with Dolby Vision
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

qq1649536801 wrote:
Wed Apr 26, 2023 9:01 am
I got a problem with script to mux a ts file.
If you have a file that can't be muxed in tsmuxer, you should open a ticket here: https://github.com/justdan96/tsMuxer/issues
qq1649536801
Posts: 2
Joined: Tue Apr 25, 2023 4:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by qq1649536801 »

RESET_9999 wrote:
Wed Apr 26, 2023 2:09 pm
qq1649536801 wrote:
Wed Apr 26, 2023 9:01 am
I got a problem with script to mux a ts file.
If you have a file that can't be muxed in tsmuxer, you should open a ticket here: https://github.com/justdan96/tsMuxer/issues
sorry to bother you, I found it`s my mistake. only mp4 file can make the codec id "dvhe".
just like the files in your "Dolby Vision Stuff" and "RPU and FEL test", some test video file are marked "NEWER TV" and "OLDER TV", both of them are mp4 files.
the codec ID of "NEWER TV“ mp4 file is dvh1, and the older one is dvhe.

so, I want to ask you : how did you mux those newer and older mp4 files.
Thanks for your work and everything you did in this posting!!! your scripts make me know a lot things od dolby vision.
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

qq1649536801 wrote:
Wed Apr 26, 2023 2:29 pm

sorry to bother you, I found it`s my mistake. only mp4 file can make the codec id "dvhe".
just like the files in your "Dolby Vision Stuff" and "RPU and FEL test", some test video file are marked "NEWER TV" and "OLDER TV", both of them are mp4 files.
the codec ID of "NEWER TV“ mp4 file is dvh1, and the older one is dvhe.

so, I want to ask you : how did you mux those newer and older mp4 files.
Thanks for your work and everything you did in this posting!!! your scripts make me know a lot things od dolby vision.

Ah ok I understand. in my script the ''OLDER TV'' files are muxed with the old mp4muxer.exe (7-2-1) and the ''NEWER TV'' with the new mp4muxerNEW.exe (7-1-1)
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

Good evening! I'm shocked LG 1C audio ALAC to appear 8 channels with a working.
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Next version of the DoVi_Scripts will be able to plot L2 :D
tomorrow probably...

examples:
https://slow.pics/c/OIKGsjr2
https://slow.pics/c/0ECUzXfq
https://slow.pics/c/9fiJz8tM
https://slow.pics/c/SWYYBnjD
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

@RESET_9999

I found an interesting topic: http://forum.zidoo.tv/index.php?threads ... 203.95534/
One could argue that some scenes in No Time To Die are brighter and more colourful on Oppo than Zidoo Z9X.
I made an L1 plot of the RPU: https://slow.pics/J7uB5NCt/
Is it because of the FEL or because of the faulty L6 data (at least as far as I can see)?
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

NiCE77 wrote:
Fri Apr 28, 2023 5:19 am
@RESET_9999

I found an interesting topic: http://forum.zidoo.tv/index.php?threads ... 203.95534/
One could argue that some scenes in No Time To Die are brighter and more colourful on Oppo than Zidoo Z9X.
I made an L1 plot of the RPU: https://slow.pics/J7uB5NCt/
Is it because of the FEL or because of the faulty L6 data (at least as far as I can see)?
probably because the zidoo wrongly send a bt2020 flag with the TV-LED signal.
When I tested this device a very long time ago, it was slightly affecting the colors: Green, yellow and blue were paler and red darker.
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

RESET_9999 wrote:
Fri Apr 28, 2023 11:03 am
NiCE77 wrote:
Fri Apr 28, 2023 5:19 am
@RESET_9999

I found an interesting topic: http://forum.zidoo.tv/index.php?threads ... 203.95534/
One could argue that some scenes in No Time To Die are brighter and more colourful on Oppo than Zidoo Z9X.
I made an L1 plot of the RPU: https://slow.pics/J7uB5NCt/
Is it because of the FEL or because of the faulty L6 data (at least as far as I can see)?
probably because the zidoo wrongly send a bt2020 flag with the TV-LED signal.
When I tested this device a very long time ago, it was slightly affecting the colors: Green, yellow and blue were paler and red darker.
Thanks, in principle, it only makes a difference for this film. Anyway, is the L6 metadata good? MaxCLL 4507 seems to me to be a bad value.
Post Reply