Page 364 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Thu Sep 02, 2021 2:07 pm
by RESET_9999
andyy wrote: Thu Sep 02, 2021 1:16 pm Well yeah I mean do I need to buy an ethernet adapter to the Chromebook with Google TV since it doesn't have ethernet port. But I heard the insides of the thing are USB2.0 so even a gigabit USB-C ethernet adaptor wont help much.. I just ordered mine yesterday, will see how it performs when it arrives. :)
this is the one I use with mine: https://www.amazon.com/gp/product/B085X ... UTF8&psc=1
I don't watch uhd-bd rip on mine though,I mostly use it in my bedroom for appleTV+ and MA but it works great, I get 400/500 Mbps speed test with it. basically the same speed i get with wifi 5ghz but the cable connexion is more stable, especially when I use my VPN at router level.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Thu Sep 02, 2021 4:11 pm
by staknhalo
I bought this one for my CCw/GTV out on the patio:

https://www.amazon.com/gp/product/B07QQ ... UTF8&psc=1

Reason being it was only $13 when I bought it and going out on a patio exposed to weather, as mentioned. Honestly it's been well worth it - it's OOS ATM but if it comes back in stock for the price especially it's great. A bit big/bulky is the only nitpick but it's all packed away hiding behind the TV.

Edit: Does anyone know how to edit HDR10 metadata of an HEVC stream? My encoder (Handbrake 1.4.0) passes through the correct metadata 9/10, but for Batman Begins MDL is max 4k but my encodes always end up MDL max 1k, even tried making new source from disc and it still happens. This is the only movie out of about 100+ so far it's done this with.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Sep 03, 2021 12:57 am
by RESET_9999
staknhalo wrote: Thu Sep 02, 2021 4:11 pm Edit: Does anyone know how to edit HDR10 metadata of an HEVC stream? My encoder (Handbrake 1.4.0) passes through the correct metadata 9/10, but for Batman Begins MDL is max 4k but my encodes always end up MDL max 1k, even tried making new source from disc and it still happens. This is the only movie out of about 100+ so far it's done this with.
AFAIK, handbrake doesn't have a complete 10bit pipeline anyway. You should try Staxrip (x265 GUI with tons of script), it can be hard to learn at first but once you get it , you can do so much more than handbrake and you will get much better quality encodes. Things like incorrect metadata won't happen with staxrip.

https://github.com/staxrip/staxrip
staknhalo wrote: Thu Sep 02, 2021 4:11 pm Edit: Does anyone know how to edit HDR10 metadata of an HEVC stream?
you can try :

Code: Select all

mkvmerge -o X:\output.mkv --max-luminance 0:4000 --min-luminance 0:0.0050 X:\input.hevc

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Sep 03, 2021 1:27 am
by staknhalo
RESET_9999 wrote: Fri Sep 03, 2021 12:57 am
staknhalo wrote: Thu Sep 02, 2021 4:11 pm Edit: Does anyone know how to edit HDR10 metadata of an HEVC stream? My encoder (Handbrake 1.4.0) passes through the correct metadata 9/10, but for Batman Begins MDL is max 4k but my encodes always end up MDL max 1k, even tried making new source from disc and it still happens. This is the only movie out of about 100+ so far it's done this with.
AFAIK, handbrake doesn't have a complete 10bit pipeline anyway. You should try Staxrip (x265 GUI with tons of script), it can be hard to learn at first but once you get it , you can do so much more than handbrake and you will get much better quality encodes. Things like incorrect metadata won't happen with staxrip.

https://github.com/staxrip/staxrip
staknhalo wrote: Thu Sep 02, 2021 4:11 pm Edit: Does anyone know how to edit HDR10 metadata of an HEVC stream?
you can try :

Code: Select all

mkvmerge -o X:\output.mkv --max-luminance 0:4000 --min-luminance 0:0.50 X:\input.hevc
As of public v1.4.0 (before in nightlies) Handbrake encodes in full 10bit all the way through without converting to 8bit in the process - will try that and report back

Edit: Yeah, that would only change/set the correct metadata in just the mkv container, not within the actual hevc stream itself (what I'm trying to do) - and oddly when you do that it shows you both info to show you there's container and stream metadata I guess. Thanks though.

Not even ffmpeg could do it apparently (without encoding) - not for the MDL metadata at least

Oh well, I'll have to try some other encoding tools I guess

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Sep 03, 2021 2:52 pm
by MastaG
Regarding LG WebOS players and DV inside .TS containers.
They always seem to stutter, was there ever a fix for this?

For the record, I open the m2ts file from the disc in yusescope's tool without any fel to mel or profile8 options.
Then I use the latest nightly of TSmuxer to mux the resulting hevc + ac3 5.1 audio inside a .TS container (no HD audio or whatsover).
Like this:

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : test_mux_exp_AC3.ts
Format                                   : MPEG-TS
File size                                : 66.7 GiB
Duration                                 : 2 h 10 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 73.0 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06                                                 , BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 10 min
Bit rate                                 : 68.8 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
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.346
Stream size                              : 62.8 GiB (94%)
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 358 cd/m2

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Format settings                          : Dolby Surround EX
Codec ID                                 : 129
Duration                                 : 2 h 10 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 599 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
But when I play them, they stutter every 2 seconds, even when all processing options are disabled.
Is there some solution to this? e.g. a modified or older version of TSMuxer?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Sep 03, 2021 3:41 pm
by RESET_9999
staknhalo wrote: Fri Sep 03, 2021 1:27 am
Edit: Yeah, that would only change/set the correct metadata in just the mkv container, not within the actual hevc stream itself (what I'm trying to do) - and oddly when you do that it shows you both info to show you there's container and stream metadata I guess. Thanks though.

Not even ffmpeg could do it apparently (without encoding) - not for the MDL metadata at least

Oh well, I'll have to try some other encoding tools I guess
AFAIK, what matters is what is reported to the TV by the player. Last time I checked, changing the metadata with mkvmerge correctly change what madvr(htpc) send to the TV. I don't know about other players though.
you could also try this old software: https://www.videohelp.com/software/NVHSP

anyway, my recommendation still stands, forget about handbrake and take a look at staxrip.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Sep 03, 2021 7:12 pm
by Ride_UL
Can anyone help or point me to the post/guide on how to convert hdr10/10+ to DV?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Sep 03, 2021 10:22 pm
by shawnc22
Ride_UL wrote: Fri Sep 03, 2021 7:12 pm Can anyone help or point me to the post/guide on how to convert hdr10/10+ to DV?
it doesn't exist

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Sep 04, 2021 6:58 am
by DaMacFunkin
RESET_9999 wrote: Fri Sep 03, 2021 3:41 pm
staknhalo wrote: Fri Sep 03, 2021 1:27 am
Edit: Yeah, that would only change/set the correct metadata in just the mkv container, not within the actual hevc stream itself (what I'm trying to do) - and oddly when you do that it shows you both info to show you there's container and stream metadata I guess. Thanks though.

Not even ffmpeg could do it apparently (without encoding) - not for the MDL metadata at least

Oh well, I'll have to try some other encoding tools I guess
AFAIK, what matters is what is reported to the TV by the player. Last time I checked, changing the metadata with mkvmerge correctly change what madvr(htpc) send to the TV. I don't know about other players though.
you could also try this old software: https://www.videohelp.com/software/NVHSP

anyway, my recommendation still stands, forget about handbrake and take a look at staxrip.
I concur, used Staxrip for many years.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Sep 04, 2021 1:05 pm
by PlatypusW
Probably been discussed over and over again so sorry, but what are people using to play profile 5 in mkvs currently?

As much as I don’t trust it from profile 7 attempts, I’m guessing it’s probably the nvidia shield? Kodi/plex?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Sep 04, 2021 4:48 pm
by quietvoid
PlatypusW wrote: Sat Sep 04, 2021 1:05 pm Probably been discussed over and over again so sorry, but what are people using to play profile 5 in mkvs currently?

As much as I don’t trust it from profile 7 attempts, I’m guessing it’s probably the nvidia shield? Kodi/plex?
I use a Firestick 4K with Kodi, works well for me.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Sep 05, 2021 3:47 am
by lexyz
galarond wrote: Sat Sep 04, 2021 9:56 pm Anybody know if Godzilla vs Kong is MEL or FEL, in blu-ray.com forums says the info shows as FEL but is MEL? Read about other movies with the same problem...theres any 100% accurate source for that info with all DV releases?.
EL with bitrate around 2 Mbps is MEL for sure


I wonder does anyone tested hybrid UHD HDR10 BL+p5 DV meta on Shield TV reagarding infamous red push issue? :roll:
Could be hard to spot...

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Sep 05, 2021 7:54 am
by vantheman
Please could I have some thoughts on:
A. ShieldTV 2019 PRO supports only LLDV playback.
B. When playing DV profile 7 with FEL MKV on the ShieldTV 2019 with PLEX the FEL is downgraded to MEL (LG CX TV displays the DV logo on top right corner).
C. When playing DV profile 7 with FEL MKV on the ShieldTV 2019 with PLEX the FEL is ignored and only the BL+RPU layer is decoded (LG CX TV displays the DV logo on top right corner).
D. When playing DV profile 7 with MEL MKV on the ShieldTV 2019 with PLEX the MEL is decoded correctly (LG CX TV displays the DV logo on top right corner).
E. Profile 5/8 BL+RPU gives better colour accuracy than HDR10.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Sep 05, 2021 8:02 am
by FubbAyH
I could be wrong, but I believe the process of converting FEL to MEL just discards the FEL video data but leaves the RPU untouched. So when converting to profile 8.1 I don't think you have to do anything special if you have a FEL source because you'll be discarding the whole EL and replacing it with the converted RPU either way.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Sep 05, 2021 1:22 pm
by FubbAyH
quietvoid wrote: Sat Jul 24, 2021 6:58 pm Apparently my injected Soul video is corrupted near (if not directly) at a seamless branching boundary. Looking into it..
Edit: Seems to be caused by the source video being extracted by FFmpeg.
No corruption in the source when using mkvextract.
uhdiznotenough4mee wrote: Tue Aug 31, 2021 1:30 pm
quietvoid wrote: Tue Aug 31, 2021 12:31 pm
uhdiznotenough4mee wrote: Mon Aug 30, 2021 10:08 pm I do not have any errors either in ffmpeg or dovi_tool. All is going smooth. Except when I try to play the final file in either mpv or mpc-hc I see glitches - for example in the beginning when the the logo appears, the picture will freeze for a couple of seconds and the sound is continuing. At that time the glitch in small rectangle in left upper corner will appear. Here are examples:
Have you tried using mkvextract instead of ffmpeg for the HDR10 base layer demux?
If there are issues with the injected file, they are probably present in the original demuxed bitstream.
Brilliant. It seems to be working fine using mkvextract. Will test the result later but no glitches at all. Thanks so much, kind sir, for all the work you are doing.
I'm currently attempting to make my first hybrid profile 8.1 file and I had the same problem with my ffmpeg-demuxed HDR10 file.

I stumbled on this ffmpeg bug ("hevc_mp4toannexb bsf doesn't insert correct parameter sets if they change in-band") that looks to me like it might be what we're encountering? My source video is also one that makes (heavy) use of seamless branching.

Unfortunately a fix for that bug seems to have gotten bogged down. Do you think it would be good idea to change the dovi_tool usage examples to use mkvextract for now? I'd be happy to submit a pull request if you'd like.