Jump to content

Recommended Posts

supermood
Posted

hi you can see dts x in the audio section if you want to choose one.

can you implement a filter for it sometime? (there's only dts, not even dts ma..)

and the info on the info pages should be there. 

and also the corresponding overlay on the disc's / poster would be great!!

but maybe that's an add on I've lost the overview... 

all that also valid for atmos true HD and atmos eac3 and standard dd

thanks!!! 

Screenshot_20240513_184415.jpg

Posted

Hi, a filter where exactly?

supermood
Posted

more important at least for me would be the info Page of a movie / show and the overlays

Screenshot_20240513_190228.jpg

rbjtech
Posted

Maybe take a look at the MediaInfo Plugin ?

That is the only way to detect (and tag) these high end codecs.   You can then filter by DTS:X, DTS-HD MA, True-HD with Atmos etc.

The plugin does need some setting up and to note, does need to modify the MKV track title.

Emby is not able to do this because it uses ffmpeg, which does not (yet) detect these high end audio streams.

The Plugin is in the catalogue.

As an example - I can now use the 'Tag' filter to filter all the DTS codecs .. (as detected by MediaInfo)

image.png.ba1adfe66b5de911133f86dcf0eee2e4.png

or Dolby Audio ..

image.png.08e7163cfc3719777478bd1b6a8292c7.png

 

supermood
Posted

this is not a 'normal' Plugin I've tried to install it. I'm 46 and not an it guy. I had no chance. out of my league. headache attach after the third line of text. 

I don't understand why you cannot integrate it in 2024.

give the good man 2000 or 5000 eur or in whatever manner you handle rhese things and let's go... 

of that's not possible I wait again 5 years I will survive ;)

  • Like 1
Posted
2 hours ago, supermood said:

more important at least for me would be the info Page of a movie / show and the overlays

Screenshot_20240513_190228.jpg

What filters do you have available when you click that? 

The filters are not a pre-determined list. They are generated dynamically based on what is in your library. So if you don't have any files that say DTS-X as the audio codec, then it won't show up in the filter either.

supermood
Posted

I have only the most basic standard filter and I have many atmos dts x etc files. many! 

@rbjtechthe MediaInfo app I need too, with  pls check the plug in text (and it's not in the catalogue) and this app is not even possible with emby in a docker or directly on synology nas... :(

 

rbjtech
Posted
3 minutes ago, Luke said:

What filters do you have available when you click that? 

The filters are not a pre-determined list. They are generated dynamically based on what is in your library. So if you don't have any files that say DTS-X as the audio codec, then it won't show up in the filter either.

As far as I'm aware DTS:X is not detectable by ffmpeg ... nor is any form of Dolby Atmos either ...

The only based audio codecs you get are -

image.png.5d462a3b4edf3c4e317c9a3026272031.png

 

 

supermood
Posted

?? that's what I just wrote several times 

I see there's a MediaInfo docker maybe I will try. 

but as said. that belongs in the standard in 2024. you can easily integrate the work in emby? 

rbjtech
Posted
1 minute ago, supermood said:

I have only the most basic standard filter and I have many atmos dts x etc files. many! 

@rbjtechthe MediaInfo app I need too, with  pls check the plug in text (and it's not in the catalogue) and this app is not even possible with emby in a docker or directly on synology nas... :(

 

Ah - in which case you are out of luck I'm afraid as it uses 'MediaInfo' which is not available on the synology nas for some reason.   I'm not sure what OS you are running in the Docker, but the Plugin supports most of them - it just the synology that is an issue.

Embys hands are somewhat limited by what ffmpeg can detect - they haven't unfortunately improved high end audio codec detection for years..   

Hence us writing the MediaInfo plugin to 'fill the gaps'.  (both Audio and Video).

supermood
Posted

no MediaInfo cli for docker. as said, headache.. 

I don't understand limited hands the software is available you could integrate in emby and forget ffmpeg or whatever 

anyway. good night 

Happy2Play
Posted

But almost everything requires ffmpeg.  But Emby is limited to the tools it currently uses.  As MediaInfo will not provide you any playback as it is just reading track info.

supermood
Posted

let's use both in the new ember server for June24 :)

crossing fingers... 

  • Haha 1
supermood
Posted

got it. not so hard even I was able to link the 2 needed tools via copied script to appstore folder on my synology 

now I see atmos or dts x!

but filter still not working? 

 

 

Screenshot_20240513_230816.jpg

Screenshot_20240513_230758.jpg

Screenshot_20240513_230743.jpg

Happy2Play
Posted
1 minute ago, supermood said:

got it. not so hard even I was able to link the 2 needed tools via copied script to appstore folder on my synology 

now I see atmos or dts x!

but filter still not working? 

 

 

Screenshot_20240513_230816.jpg

Screenshot_20240513_230758.jpg

Screenshot_20240513_230743.jpg

Depends as track display titles and Emby detected codec are not the same.

 

  • Thanks 1
supermood
Posted
1 hour ago, rbjtech said:

Maybe take a look at the MediaInfo Plugin ?

That is the only way to detect (and tag) these high end codecs.   You can then filter by DTS:X, DTS-HD MA, True-HD with Atmos etc.

The plugin does need some setting up and to note, does need to modify the MKV track title.

Emby is not able to do this because it uses ffmpeg, which does not (yet) detect these high end audio streams.

The Plugin is in the catalogue.

As an example - I can now use the 'Tag' filter to filter all the DTS codecs .. (as detected by MediaInfo)

image.png.ba1adfe66b5de911133f86dcf0eee2e4.png

or Dolby Audio ..

image.png.08e7163cfc3719777478bd1b6a8292c7.png

 

how do I get tags as field in the filter I don't have that? thanks! 

supermood
Posted
5 minutes ago, Happy2Play said:

Depends as track display titles and Emby detected codec are not the same.

 

somehow the Plugin worked I never saw something like this before. 

but I can not filter for it and I don't see tags to choose from 

 

 

Screenshot_20240513_232118.jpg

supermood
Posted
6 minutes ago, supermood said:

somehow the Plugin worked I never saw something like this before. 

but I can not filter for it and I don't see tags to choose from 

 

 

Screenshot_20240513_232118.jpg

the log sais nothing worked with media info I don't know what I see here. maybe authorization issue or so. good night 

samuelqwe
Posted (edited)
8 hours ago, rbjtech said:

Embys hands are somewhat limited by what ffmpeg can detect - they haven't unfortunately improved high end audio codec detection for years..   

Actually, based on my testing, FFmpeg/FFprobe can identify Atmos (in both TrueHD and DDP audio streams), as well as DTS:X.

I looked around online, and I believe support for identifying these codecs was added in FFmpeg 6.0, but my testing was done with 7.0 (latest). I have put the output below of an Atmos demo file which contains Atmos in both possible codecs.

Spoiler

ffprobe version 7.0 Copyright (c) 2007-2024 the FFmpeg developers

  built with Apple clang version 15.0.0 (clang-1500.3.9.4)

  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon

  libavutil      59.  8.100 / 59.  8.100

  libavcodec     61.  3.100 / 61.  3.100

  libavformat    61.  1.100 / 61.  1.100

  libavdevice    61.  1.100 / 61.  1.100

  libavfilter    10.  1.100 / 10.  1.100

  libswscale      8.  1.100 /  8.  1.100

  libswresample   5.  1.100 /  5.  1.100

  libpostproc    58.  1.100 / 58.  1.100

Input #0, mpegts, from 'dolby-horizon-lossless-(www.demolandia.net).m2ts':

  Duration: 00:01:52.35, start: 4200.000000, bitrate: 26193 kb/s

  Program 1

  Stream #0:0[0x1011](eng): Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080, 24 fps, 24 tbr, 90k tbn

  Stream #0:1[0x1100]: Audio: truehd (Dolby TrueHD + Dolby Atmos) (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit)

  Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s

  Stream #0:3[0x1101]: Audio: eac3 (Dolby Digital Plus + Dolby Atmos) (AC-3 / 0x332D4341), 48000 Hz, 7.1, fltp, 1152 kb/s

 

And also the output of a DTS:X demo file

Spoiler

ffprobe version 7.0 Copyright (c) 2007-2024 the FFmpeg developers

  built with Apple clang version 15.0.0 (clang-1500.3.9.4)

  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon

  libavutil      59.  8.100 / 59.  8.100

  libavcodec     61.  3.100 / 61.  3.100

  libavformat    61.  1.100 / 61.  1.100

  libavdevice    61.  1.100 / 61.  1.100

  libavfilter    10.  1.100 / 10.  1.100

  libswscale      8.  1.100 /  8.  1.100

  libswresample   5.  1.100 /  5.  1.100

  libpostproc    58.  1.100 / 58.  1.100

Input #0, matroska,webm, from 'listen-x.mkv':

  Metadata:

    encoder         : libebml v1.3.3 + libmatroska v1.4.4

    creation_time   : 2016-02-20T09:39:53.000000Z

  Duration: 00:00:33.28, start: 0.000000, bitrate: 17692 kb/s

  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)

  Stream #0:1(eng): Audio: dts (dca) (DTS-HD MA + DTS:X), 48000 Hz, 7.1, s32p (24 bit) (default)

 

Since FFprobe can now identify these, I don't see any more reasons why it would not be possible for Emby to identify these types of audio codecs.

Edited by samuelqwe
Edited for clarity
  • Like 1
  • Thanks 1
rbjtech
Posted
5 hours ago, samuelqwe said:

Actually, based on my testing, FFmpeg/FFprobe can identify Atmos (in both TrueHD and DDP audio streams), as well as DTS:X.

I looked around online, and I believe support for identifying these codecs was added in FFmpeg 6.0, but my testing was done with 7.0 (latest). I have put the output below of an Atmos demo file which contains Atmos in both possible codecs.

  Hide contents

ffprobe version 7.0 Copyright (c) 2007-2024 the FFmpeg developers

  built with Apple clang version 15.0.0 (clang-1500.3.9.4)

  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon

  libavutil      59.  8.100 / 59.  8.100

  libavcodec     61.  3.100 / 61.  3.100

  libavformat    61.  1.100 / 61.  1.100

  libavdevice    61.  1.100 / 61.  1.100

  libavfilter    10.  1.100 / 10.  1.100

  libswscale      8.  1.100 /  8.  1.100

  libswresample   5.  1.100 /  5.  1.100

  libpostproc    58.  1.100 / 58.  1.100

Input #0, mpegts, from 'dolby-horizon-lossless-(www.demolandia.net).m2ts':

  Duration: 00:01:52.35, start: 4200.000000, bitrate: 26193 kb/s

  Program 1

  Stream #0:0[0x1011](eng): Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080, 24 fps, 24 tbr, 90k tbn

  Stream #0:1[0x1100]: Audio: truehd (Dolby TrueHD + Dolby Atmos) (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit)

  Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s

  Stream #0:3[0x1101]: Audio: eac3 (Dolby Digital Plus + Dolby Atmos) (AC-3 / 0x332D4341), 48000 Hz, 7.1, fltp, 1152 kb/s

 

And also the output of a DTS:X demo file

  Hide contents

ffprobe version 7.0 Copyright (c) 2007-2024 the FFmpeg developers

  built with Apple clang version 15.0.0 (clang-1500.3.9.4)

  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon

  libavutil      59.  8.100 / 59.  8.100

  libavcodec     61.  3.100 / 61.  3.100

  libavformat    61.  1.100 / 61.  1.100

  libavdevice    61.  1.100 / 61.  1.100

  libavfilter    10.  1.100 / 10.  1.100

  libswscale      8.  1.100 /  8.  1.100

  libswresample   5.  1.100 /  5.  1.100

  libpostproc    58.  1.100 / 58.  1.100

Input #0, matroska,webm, from 'listen-x.mkv':

  Metadata:

    encoder         : libebml v1.3.3 + libmatroska v1.4.4

    creation_time   : 2016-02-20T09:39:53.000000Z

  Duration: 00:00:33.28, start: 0.000000, bitrate: 17692 kb/s

  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)

  Stream #0:1(eng): Audio: dts (dca) (DTS-HD MA + DTS:X), 48000 Hz, 7.1, s32p (24 bit) (default)

 

Since FFprobe can now identify these, I don't see any more reasons why it would not be possible for Emby to identify these types of audio codecs.

That'll teach me to use embys local version of ffmpeg/ffprobe in all of my scripts .. !

I was not aware the emby version was so far behind tbh - thanks for the info.

I just downloaded ffmpeg directly - and yes, it appears to identify the codec extentions just fine.  

@Luke @ebr @softworkz

Is there any reason why you cannot include these ffmpeg updates in your emby ffmpeg build - add to the detection and start to include all the extra details/extentions in the audio codec filters ?

On the clients, adding 'Atmos' etc I guess may take a while, but at least the filters should have this data.

The Plugin works great (and I would still use it to name the MKV tracks) - but 'tagging' is a bit of a hack and I would much rather natively filter by Audio Codec if possible.

Thanks !

  • Like 1
  • Agree 1
Posted

Hi, yes we will be updating our ffmpeg libs in the near future to support this. Thanks for the feedback.

  • Thanks 2

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...