Page 434 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat May 14, 2022 8:13 pm
by RESET_9999
MastaG wrote: Sat May 14, 2022 5:04 pm
Hi,
Not exactly what you asked but I just quickly added a workflow that can mux dual lossy audio + sub ( I may add lossless audio support in the future).

MODE.M4 ---> MODE.1 ---> Workflow.2
MastaG wrote: Sat May 14, 2022 5:04 pm Reason for this is that DD+ doesn't work over ARC in some cases due to bandwidth limitations.
DD+ 1536kbps works via ARC on my C8

Dolby Vision mp4Remux became streched wide?

Posted: Sun May 15, 2022 4:40 am
by realbabilu
I have several convert with mp4muxer from dolby. All successful except several titles profile 8 from pahe.li
The movie became stretched wide....after converted to mp4 using mp4cleaver and mp4muxer dolby. Any clue?

Width : 3 840 pixels
Height : 1 612 pixels
Display aspect ratio :2.40:1
Bits/(Pixel*Frame) :0.036

then become....
Width : 3 840 pixels
Height : 1 616 pixels
Original height : 1 612 pixels
Display aspect ratio : 2.40:1
Bits/(Pixel*Frame) : 0.036


input DV mkv

Code: Select all

General
Unique ID                                : 53961545557488463110803255778292519549 (0x28989D9ACF476A8A2FC05EFB613FD27D)
Complete name                            : P:\backup\Logan.2017.2160p.UHD.BluRay.x265.HDR.DV.DD+7.1-Pahe.in.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 6.16 GiB
Duration                                 : 2 h 17 min
Overall bit rate                         : 6 420 kb/s
Encoded date                             : UTC 2022-03-05 03:09:39
Writing application                      : mkvmerge v61.0.0 ('So') 64-bit
Writing library                          : libebml v1.4.2 + libmatroska v1.6.4
Cover                                    : Yes
Attachments                              : cover.jpg
Encoded by                               : Pahe.in™ Team
Notes                                    : If you wish to share this release, please keep everything intact including the file names
Official Site                            : https://pahe.ph

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 17 min
Bit rate                                 : 5 335 kb/s
Width                                    : 3 840 pixels
Height                                   : 1 612 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.036
Stream size                              : 5.12 GiB (83%)
Writing library                          : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=5 / numa-pools=24 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1612 / interlace=0 / total-frames=197641 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=1 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=19.5 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=65000 / vbv-bufsize=55000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50) / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.01 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2

Audio #1
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 2 h 17 min
Bit rate mode                            : Constant
Bit rate                                 : 960 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 943 MiB (15%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No



converted mp4 ...streched wide.

Code: Select all

General
Complete name                            : P:\ATMOS\Logan.2017.2160p.UHD.BluRay.x265.HDR.DV.DD+7.1-Pahe.in.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/iso6/isom/msdh/dby1)
File size                                : 6.04 GiB
Duration                                 : 2 h 17 min
Overall bit rate                         : 6 297 kb/s
Encoded date                             : UTC 2022-04-29 03:22:05
Tagged date                              : UTC 2022-04-29 03:22:05

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, SDR compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 2 h 17 min
Bit rate                                 : 5 335 kb/s
Width                                    : 3 840 pixels
Height                                   : 1 616 pixels
Original height                          : 1 612 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.036
Stream size                              : 5.12 GiB (85%)
Writing library                          : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=5 / numa-pools=24 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1612 / interlace=0 / total-frames=197641 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=1 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=19.5 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=65000 / vbv-bufsize=55000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50) / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.01 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2022-04-29 03:22:05
Tagged date                              : UTC 2022-04-29 03:22:05
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Codec configuration box                  : hvcC+dvvC

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 2 h 17 min
Bit rate mode                            : Constant
Bit rate                                 : 960 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 943 MiB (15%)
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 2
Encoded date                             : UTC 2022-04-29 03:22:05
Tagged date                              : UTC 2022-04-29 03:22:05

SOLUTION! GOT it!
The RPU not match size with the Video. Detect and repair with DDVT Tool Dolby Vision RPU Demuxing from DDTOOLS
https://forum.doom9.org/showthread.php?t=183479
Got the mkv fixed and remux to mp4 with mp4muxer.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 7:43 am
by NiCE77
@RESET_9999
I uploaded a good mp4 version from your HLG test file: https://1drv.ms/v/s!Ahh4FiB9hIuT-EK3sg5 ... j?e=RKiQG4
Interestingly, neither Apple TV 4K 2021 nor Dune Real Vision 4K handles RPU from the 8.4 file, only Shield.
I made a capture from my Shield: https://1drv.ms/v/s!Ahh4FiB9hIuT-EPZwIY ... Y?e=8CekDj

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 8:03 am
by MastaG
RESET_9999 wrote: Sat May 14, 2022 8:13 pm
MastaG wrote: Sat May 14, 2022 5:04 pm
Hi,
Not exactly what you asked but I just quickly added a workflow that can mux dual lossy audio + sub ( I may add lossless audio support in the future).

MODE.M4 ---> MODE.1 ---> Workflow.2
MastaG wrote: Sat May 14, 2022 5:04 pm Reason for this is that DD+ doesn't work over ARC in some cases due to bandwidth limitations.
DD+ 1536kbps works via ARC on my C8
Thanks, I'll give it a shot :)
But DD+ doesn't work over optical out.
That's why a regular AC3 track as the first one would be nice and a second higher quality DD+ one for the ones who can output that over ARC.
I always get drop-outs every few seconds when outputting DD+ over ARC from my C8 to my Denon receiver.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 12:34 pm
by RESET_9999
NiCE77 wrote: Sun May 15, 2022 7:43 am @RESET_9999
I uploaded a good mp4 version from your HLG test file: https://1drv.ms/v/s!Ahh4FiB9hIuT-EK3sg5 ... j?e=RKiQG4
Interestingly, neither Apple TV 4K 2021 nor Dune Real Vision 4K handles RPU from the 8.4 file, only Shield.
I made a capture from my Shield: https://1drv.ms/v/s!Ahh4FiB9hIuT-EPZwIY ... Y?e=8CekDj
thanks, but the problem is that the rpu itself is not really profile 8.4: only the container is. We need a real profile 8.4 file and delay the rpu. Iphone recordings are not dynamic I think, so it wouldnt work.

Dune: that doesnt surprise me and it's exactly the reason why I sold my Zidoo: those devices don't like profile 8 and often ignore the RPU or go out of sync in the middle of a movie. I could not trust it anymore.
MastaG wrote: Sun May 15, 2022 8:03 am I always get drop-outs every few seconds when outputting DD+ over ARC from my C8 to my Denon receiver.
yep, I do get audio drop out too with DD+ in a mp4 container but not in a TS container.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 2:50 pm
by quietvoid
RESET_9999 wrote: Sun May 15, 2022 12:34 pm We need a real profile 8.4 file and delay the rpu. Iphone recordings are not dynamic I think, so it wouldnt work.
Should be simple to make. Apple uses a static reshaping for HLG to PQ in iPhone recordings.
I would assume they are limited to 1000 nits.

Would need people to test on the Apple TV 4K though, since it supports profile 8.4.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 4:05 pm
by NiCE77
quietvoid wrote: Sun May 15, 2022 2:50 pm
RESET_9999 wrote: Sun May 15, 2022 12:34 pm We need a real profile 8.4 file and delay the rpu. Iphone recordings are not dynamic I think, so it wouldnt work.
Should be simple to make. Apple uses a static reshaping for HLG to PQ in iPhone recordings.
I would assume they are limited to 1000 nits.

Would need people to test on the Apple TV 4K though, since it supports profile 8.4.
I have an Apple TV 4K 2021 and an iPhone 12 Pro Max, so I can help.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 5:57 pm
by RESET_9999
I don't have an ATV4k anymore nor an iPhone but it would be nice to have a true p8.4 test file(only thing missing in my test files).

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 6:52 pm
by ragico
I and a friend of mine have tested the file on these devices:
Sony X700 and X800m2 does not trigger DV but Sdr
Dune Real Vision 4K triggers DV with internal player
Firestick 4k max triggers Dv using kodi.
ATV 4k triggers sdr both with infuse and plex.
Tv's are Lg C8 and Lg Cx.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 7:30 pm
by RESET_9999
ragico wrote: Sun May 15, 2022 6:52 pm Sony X700 and X800m2 does not trigger DV but Sdr
remux it to TS and it will work. The MP4 version in my dovi test files GD folder should work as well.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 7:36 pm
by Donpoku
ragico wrote: Sun May 15, 2022 6:52 pm I and a friend of mine have tested the file on these devices:
Sony X700 and X800m2 does not trigger DV but Sdr
Dune Real Vision 4K triggers DV with internal player
Firestick 4k max triggers Dv using kodi.
ATV 4k triggers sdr both with infuse and plex.
Tv's are Lg C8 and Lg Cx.
Which files? Also didn't you have a ugoos have you tried on it?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 9:30 pm
by ragico
The file posted by @NICE77 on page 438
I sold my ugoos long time ago.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun May 15, 2022 9:35 pm
by ragico
RESET_9999 wrote: Sun May 15, 2022 7:30 pm
ragico wrote: Sun May 15, 2022 6:52 pm Sony X700 and X800m2 does not trigger DV but Sdr
remux it to TS and it will work. The MP4 version in my dovi test files GD folder should work as well.
You are right. remuxed in ts it works. And it works also in ATV 4K via plex. Thanks.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Mon May 16, 2022 8:32 am
by deadchip12
RESET_9999 wrote: Sun May 15, 2022 7:30 pm
ragico wrote: Sun May 15, 2022 6:52 pm Sony X700 and X800m2 does not trigger DV but Sdr
remux it to TS and it will work. The MP4 version in my dovi test files GD folder should work as well.
Any review on the Dune HD Real Vision 4k? Is it a good alternative to the sony x700 when it comes to playing dolby vision files?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Mon May 16, 2022 8:37 am
by realbabilu
NiCE77 wrote: Sun May 15, 2022 7:43 am @RESET_9999
I uploaded a good mp4 version from your HLG test file: https://1drv.ms/v/s!Ahh4FiB9hIuT-EK3sg5 ... j?e=RKiQG4
Interestingly, neither Apple TV 4K 2021 nor Dune Real Vision 4K handles RPU from the 8.4 file, only Shield.
I made a capture from my Shield: https://1drv.ms/v/s!Ahh4FiB9hIuT-EPZwIY ... Y?e=8CekDj
Hi i tried your mp4 HLG
HLG test file: https://1drv.ms/v/s!Ahh4FiB9hIuT-EK3sg5 ... j?e=RKiQG4
This is Dolby Vision detected on my tv when using mp4. Version 1.0, dvhe.08.07, BL+RPU, HLG compatible
Using ts4muxer, ts version remux. i got HLG only. Dolby vision logo not appear.

UPDATE: I forgot to mention: The HLG test file = The Rpu and the video mismatch.
Image

i cant got DV working using tsmuxer. Do you have any DV reported working ts to test?
With tsmuxer also i cant get mux DV 5 profile. The mkv with wrong color and the mp4 DV with DV logo on and correct color.
https://www.mediafire.com/file/pw2s63yy ... e.mkv/file
https://www.mediafire.com/file/dj1hifc4 ... e.mp4/file

The mux for other samples with ts, also get jitter.
this

For now on, i still use mp4muxer for Atmos / DV titles.
The problem the mp4muxer dolby cannot insert delay audio if there is, unlike other muxer has -delay option
The srt substitle also cant get muxed into, unlike m4v subler for mac or old mp4box with yamb.