Jump to content

DOLBY Vision


Go to solution Solved by muiz,

Recommended Posts

Posted

Hello,

do you think Dolby Vision will be available for playback in emby for LG ?

My DV movies are detected as HDR.... no color issue, but one says it could be the case...

thank you

rbjtech
Posted (edited)

DV playback on the LG Client needs to be via the MP4 container.   MKV will not work with DV and will fallback to HDR10.    

The LG hardware plays DV/MKV without issue via a Shield, FireTV or suitable DV playback device attached via HDMI.

Edited by rbjtech
  • Agree 1
Posted

ok, so ? you mean it should be possible?

  • Solution
Posted (edited)

Yes its possible. I dont know how you get your media. But this works for Windows : DDVT Tool Manual  demux from MKV to MP4
And if  you use apps like SABnzbd, Radarr,  Sonarr : arr-scripts

It will make a Mp4 from a MKV And then LG will play DolbyVision fine

 

 

 

Edited by muiz
  • Thanks 1
Posted (edited)

thank you, i will test these scripts!!! and let you know!!

EDIT: hum, I think I need updates :(

I've installed the scripts on my Sonarr container (Linux Host)

But now I'm blocked because I don't find how to use it and make sonnarr detect DV mkv and auto convert them into DV mp4....

is there something to configure manually?

Edited by Moreje
Posted
56 minutes ago, Moreje said:

thank you, i will test these scripts!!! and let you know!!

You're welcome.
I use the arr script myself. And it works perfect.
Before that i used the DDVT tool. Also did the trick.
But i like  automatic.
Let me know if you need any help. And they both have also their own pages to ask for help.

Posted

yes, I also want it auto....

but to be honnest I can't find how to use these scripts within sonarr..... I effectively need help :)

Posted
11 minutes ago, Moreje said:

yes, I also want it auto....

but to be honnest I can't find how to use these scripts within sonarr..... I effectively need help :)

Sonarr Readme

Posted
23 minutes ago, muiz said:

I've read this readme but it only explains how to install it. How can you use it within sonarr? wich settings do I have to configure to get my DV mkv converted into DV mp4 ?

Posted

my media are downloaded with transmission

I check your post and refs and come back later ! thank you for your help

 

Posted
1 hour ago, muiz said:

I used the script in the beginning with Sonarr SMA.
But im  using  SABNZBD now. So i switched to that.

 

Its basicly the same as https://github.com/RandomNinjaAtk/arr-scripts/blob/main/sonarr/readme.md


After you did this there will be a file called :  SMA.ini
In there change MKV to MKV -> MKV to MP4
With wich app you download your media?

I found this SMA.ini file (what is SMA signification??) with this inside:

[Converter]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = 0
hwaccels = 
hwaccel-decoders = 
hwdevices = 
hwaccel-output-format = 
output-directory = 
output-format = mkv
output-extension = mkv
temp-extension = 
minimum-size = 0
ignored-extensions = nfo, ds_store
copy-to = 
move-to = 
delete-original = True
process-same-extensions = True
bypass-if-copying-all = False
force-convert = True
post-process = False
wait-post-process = False
detailed-progress = False
opts-separator = ,
preopts = 
postopts = 
regex-directory-replace = [^\w\-_\. ]
output-directory-space-ratio = 0.0

do I just need to change "output-extension = mkv "  into "output-extension = mp4"  ?

Posted (edited)

I've found a SMA readme.... i'm trying to understand it...

Edited by Moreje
Posted

configuration is really hard.... the doc in not clear on what each script is doing...

also: is it possible to run the script only if DV is detected? not for every imported media?

Posted (edited)
7 hours ago, Moreje said:

I found this SMA.ini file (what is SMA signification??) with this inside:

[Converter]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = 0
hwaccels = 
hwaccel-decoders = 
hwdevices = 
hwaccel-output-format = 
output-directory = 
output-format = mkv
output-extension = mkv
temp-extension = 
minimum-size = 0
ignored-extensions = nfo, ds_store
copy-to = 
move-to = 
delete-original = True
process-same-extensions = True
bypass-if-copying-all = False
force-convert = True
post-process = False
wait-post-process = False
detailed-progress = False
opts-separator = ,
preopts = 
postopts = 
regex-directory-replace = [^\w\-_\. ]
output-directory-space-ratio = 0.0

do I just need to change "output-extension = mkv "  into "output-extension = mp4"  ?

On  github they  explain the SMA.ini
I can give you mine so you can see  what i have.
Ofcourse i use another language then you. So you can leave that out.
And for MP4 ;

output-format = mp4
output-extension = mp4


And i run this on a Synology NAS so i use vaapi.
Depents on the system you run this on.
Where do you run your Sonarr on?
And how? Docker?

[Converter]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = 0
hwaccels = vaapi
hwaccel-decoders = vaapi
hwdevices = /dev/dri/renderD128
hwaccel-output-format = vaapi:vaapi
output-directory = 
output-format = mp4
output-extension = mp4
temp-extension = 
minimum-size = 0
ignored-extensions = nfo, ds_store
copy-to = 
move-to = 
delete-original = True
process-same-extensions = True
bypass-if-copying-all = False
force-convert = True
post-process = False
wait-post-process = False
detailed-progress = False
opts-separator = ,
preopts = -fflags,+genpts
postopts = 
regex-directory-replace = [^\w\-_\. ]
output-directory-space-ratio = 0.0

[Permissions]
chmod = 0666
uid = -1
gid = -1

[Metadata]
relocate-moov = False
full-path-guess = True
tag = True
tag-language = eng
download-artwork = thumb
sanitize-disposition = 
strip-metadata = True
keep-titles = True

[Video]
codec = h265vaapi, x265, hevc h264vaapi, h264, x264
max-bitrate = 0
bitrate-ratio = 
crf = -1
crf-profiles = 
preset = 
codec-parameters = 
dynamic-parameters = False
max-width = 0
profile = 
max-level = 0.0
pix-fmt = 
prioritize-source-pix-fmt = True
filter = 
force-filter = False

[HDR]
codec = h265vaapi, x265, hevc h264vaapi, h264, x264
pix-fmt = 
space = bt2020nc
transfer = smpte2084
primaries = bt2020
preset = 
codec-parameters = 
filter = 
force-filter = False
profile = 

[Audio]
codec = eac3, truehd
languages = eng
default-language = eng
first-stream-of-language = False
allow-language-relax = True
relax-to-default = False
channel-bitrate = 80
variable-bitrate = 0
max-bitrate = 0
max-channels = 0
filter = 
profile = 
force-filter = False
sample-rates = 
sample-format = 
copy-original = False
aac-adtstoasc = False
ignored-dispositions = hearing_impaired, forced
force-default = False
unique-dispositions = True
stream-codec-combinations = 
include-original-language = True

[Audio.Sorting]
sorting = language, channels.d, map, d.comment
default-sorting = language, channels.d, map, d.comment
codecs = 

[Universal Audio]
codec = 
channel-bitrate = 128
variable-bitrate = 0
first-stream-only = true
filter = 
profile = 
force-filter = False

[Audio.ChannelFilters]
6-2 = pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE

[Subtitle]
codec = mov_text, srt
codec-image-based = pgs
languages = nld, dut, eng
default-language = nld, dut
first-stream-of-language = False
encoding = 
burn-subtitles = False
burn-dispositions = 
embed-subs = True
embed-image-subs = True
embed-only-internal-subs = True
filename-dispositions = forced
ignore-embedded-subs = False
ignored-dispositions = hearing_impaired, forced
force-default = False
unique-dispositions = True
attachment-codec = 
remove-bitstream-subs = False
include-original-language = False

[Subtitle.Sorting]
sorting = language, d.comment, d.default.d, d.forced.d
burn-sorting = language, d.comment, d.default.d, d.forced.d
codecs = 

[Subtitle.CleanIt]
enabled = False
config-path = 
tags = 

[Subtitle.Subliminal]
download-subs = False
download-hearing-impaired-subs = False
providers = 
download-forced-subs = False
include-hearing-impaired-subs = False

[Subtitle.Subliminal.Auth]
opensubtitles = 
tvsubtitles = 

[Sonarr]
host = 192.168.1.236
port = 8989
apikey = 54b5f2c2b74442e4xxxxxxxxx
ssl = False
webroot = 
force-rename = False
rescan = True
block-reprocess = False
in-progress-check = True

[Radarr]
host = 192.168.1.236
port = 7878
apikey = b18b0898b4xxxxxxxxxx
ssl = False
webroot = 
force-rename = False
rescan = True
block-reprocess = False
in-progress-check = True

[Sickbeard]
host = localhost
port = 8081
ssl = False
apikey = 
webroot = 
username = 
password = 

[Sickrage]
host = localhost
port = 8081
ssl = False
apikey = 
webroot = 
username = 
password = 

[SABNZBD]
convert = True
sickbeard-category = sickbeard
sickrage-category = sickrage
sonarr-category = sonarr
radarr-category = radarr
bypass-category = bypass
output-directory = 
path-mapping = 

[Deluge]
sickbeard-label = sickbeard
sickrage-label = sickrage
sonarr-label = sonarr
radarr-label = radarr
bypass-label = bypass
convert = True
host = localhost
port = 58846
username = 
password = 
output-directory = 
remove = False
path-mapping = 

[qBittorrent]
sickbeard-label = sickbeard
sickrage-label = sickrage
sonarr-label = sonarr
radarr-label = radarr
bypass-label = bypass
convert = True
action-before = 
action-after = 
host = localhost
port = 8580
ssl = False
username = admin
password = adminadmin
output-directory = 
path-mapping = 

[uTorrent]
sickbeard-label = sickbeard
sickrage-label = sickrage
sonarr-label = sonarr
radarr-label = radarr
bypass-label = bypass
convert = True
webui = False
action-before = 
action-after = 
host = localhost
ssl = False
port = 8080
username = 
password = 
output-directory = 
path-mapping = 

[Plex]
host = localhost
port = 32400
refresh = False
token = 
username = 
password = 
servername = 
ssl = True
ignore-certs = False
path-mapping = 

[Subtitle.FFSubsync]
enabled = False

 

Edited by muiz
Posted

thank you for all these details!

and what about script triggering? do you convert every media you download, are you able to trigger only DV medias, and how do you do that?

Posted
2 hours ago, Moreje said:

thank you for all these details!

and what about script triggering? do you convert every media you download, are you able to trigger only DV medias, and how do you do that?

Mine converts all  downloads to MP4.
Maybe that its possible to only convert DV. But i  dont know.

Posted

Was about to post about this problem with hybrid DV/HDR10 files I was also having falling back to HDR and sure enough the file that worked was in MP4 and the one that falls back to HDR10 is a MKV. When investigating I found that either plays correctly on my iPad via the iOS Emby app and I'm wondering since the issue seems well identified and app specific is it going to be fixed to play correctly in either container in an forthcoming updated LG App ? Don't want to start mkv->mp4 converting if it's going to be fixed soon enough ? Thanks

Posted
11 hours ago, bjjones2 said:

Was about to post about this problem with hybrid DV/HDR10 files I was also having falling back to HDR and sure enough the file that worked was in MP4 and the one that falls back to HDR10 is a MKV. When investigating I found that either plays correctly on my iPad via the iOS Emby app and I'm wondering since the issue seems well identified and app specific is it going to be fixed to play correctly in either container in an forthcoming updated LG App ? Don't want to start mkv->mp4 converting if it's going to be fixed soon enough ? Thanks

Its LG and not Emby related. So you will have to convert or play with an other device. 

Posted
4 hours ago, muiz said:

Its LG and not Emby related. So you will have to convert or play with an other device. 

Interesting, how is it LG related? LG OS can't see the container if the video stream within it is being passed through the app can it? I could understand it being an LG issue say if I was presenting the video container directly to it say from a USB or network share but the Emby app is the one processing the container portion, no?

Posted (edited)
43 minutes ago, bjjones2 said:

Interesting, how is it LG related? LG OS can't see the container if the video stream within it is being passed through the app can it? I could understand it being an LG issue say if I was presenting the video container directly to it say from a USB or network share but the Emby app is the one processing the container portion, no?

Most LG's wont play DV, only if its a MP4.  Dont know about the latest models. Mine is from 2021. Just try to play a DV file. If its purple/green or plays as HDR. It wont go.

Edited by muiz
Posted

The LG plays DV fine, it's a 2023, but you are absolutely correct - only if it's in a MP4 container. I think I'll loop @Lukeinto this. Did a little more testing and I don't think it's far enough off topic to deserve a new dedicated thread. My first issue was the DV hybrid streams with HDR fallback profile 8.1/08.03 in a MKV always playing as HDR. After finding this thread and muxing the same content to an MP4 as the only change it played correctly as DV and not falling back. Just as a confirmation I did the same thing with a straight DV file profile 5/05.03 and it plays fine in a MP4 but in a MKV the LG doesn't recognize the DV stream as such and it plays the distorted colors so it's not passing something to the TV that it wants.

Luke, there's not really any logging I can see worth attaching since in all 4 cases it's direct play. Is this something that can be addressed in the LG Emby app or is it just a quirk of LG handling DV? I recently changed from MP4 to MKV adding to my library and would like to stay MKV if possible (it has a single feature over MP4 that I like, the forced flag on forced subtitles and Emby clients automatically picking that up) - Thanks

Posted

No matter where i try to play my mkv with. It wont play DV. My Google chromecast plays DV with Emby. Even on a non DV or 4k tv.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...