Jump to content

DLNA emby vs Windows samsung TV profiles 2023


Yablos
Go to solution Solved by Luke,

Recommended Posts

Hi,

 is there any guide how to "upgrade"/set video profile for DLNA server?

Lets make things simple:
- iam expecting from emby ONLY extra work with subtitles(external and embedded). No any other video transcoding at all. Audio transcoding is bonus, but not neccesary.

windows DLNA server plays almost all files(avi,mkv,mp4...), except the subtitles(mostly in the external file). Same file in emby doesnt play at all(in tv emby app even in dlna). At dlna browser is shown as "ts" or "mpg" with 0 size. OR it plays, but with heavy transcoding when it should not.

For example:
mkv 4k- hvc1,hdr,with dts and ac3 audio tracks and embedded subtitles(pgssub) = windows dlna (no problem), emby shown as mpg file 0 size

What iam tried:

- modify samsung tv profile and make "empty" values in directplay-video-container mkv- codesc audio+video = delete/empty+restart. Didnt noticed any difference.

Expected result:
- serve and play the video as it is, if there is unsupported/unconfigured audio(ie dts), just explude/skip the track
- if there is external subtitle file, include it
- OR play it the same way is it was on direct usb drive(the best one, just over the network share)

Thanks for any ideas/tips, what combinations of profiles/settings should be the closest. Maybe iam misunderstand something.

Link to comment
Share on other sites

Hi Luke,
 thanks, here goes details, ill be glad with some kicking to the right direction. :)

- stopped emby server, delete all logs, start server.

Important START time at log:
2023-09-11 19:14:26.552 =
- begining of browsing DLNA files, navigating to file "Alien-vetrelec-4k.mkv"
BUT
1) - emby shows it as *.mpg 0 size, but properly extracted image resolution and title name.
PLAY the file = reencoding started!! It should not, file plays. !  BUT, also encoding never stops.
= screenshot fail_dlna_emby.png
after while, iam stopped emby service, because it was eating cpu(if i let it continu, it will burn cpu for hours, even the watching is stopped...)


2) same browsing by "windows default dlna", plays, no transcoding, all seems ok(maybe DTS audiotrack is not available, but there are 2 more ac-3)
= screenshot  ok_dlna_win.png

Modified emby server Settigns:

DLNA profile modified from "defalt samsung tv"
added subtitle suport:
PGS

DLNA - server settings modified(added as the end),Protocol info:
",http-get:*:video/x-mkv:*"
full line: http-get:*:video/mpeg:*,http-get:*:video/mp4:*,http-get:*:video/vnd.dlna.mpeg-tts:*,http-get:*:video/avi:*,http-get:*:video/x-matroska:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/wtv:*,http-get:*:audio/mpeg:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma*,http-get:*:audio/wav:*,http-get:*:audio/L16:*,http-get:*image/jpeg:*,http-get:*image/png:*,http-get:*image/gif:*,http-get:*image/tiff:*,http-get:*:video/x-mkv:*

edited MKV directplay(screenshot dlna-profile.png)
- also tried empty line audio codecs part, without any change at output.

At user-settings, disabled:
NO - Allow video transcoding, if necessary, during media playback
NO - Allow changing of container formats, if necessary, during media playback

 

file media details:

Format                         : Matroska
Format version                 : Version 4
File size                      : 43.2 GiB
Duration                       : 1 h 55 min
Overall bit rate mode          : Variable
Overall bit rate               : 53.5 Mb/s
Writing application            : mkvmerge v32.0.0 ('Astral Progressions') 64-bit
Writing library                : libebml v1.3.7 + libmatroska v1.5.0

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main 10@L5.1@High
HDR format                     : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 1 h 55 min
Bit rate                       : 49.3 Mb/s
Width                          : 3 840 pixels
Height                         : 2 160 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 23.976 (23976/1000) FPS
Original 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.248
Stream size                    : 39.9 GiB (92%)
Default                        : Yes
Forced                         : No
Color range                    : Limited
Color primaries                : BT.2020
Transfer characteristics       : PQ
Matrix coefficients            : BT.2020 non-constant
Mastering display color primar : Display P3
Mastering display luminance    : min: 0.0050 cd/m2, max: 1000 cd/m2

Audio #1
ID                             : 2
Format                         : DTS XLL
Format/Info                    : Digital Theater Systems
Commercial name                : DTS-HD Master Audio
Codec ID                       : A_DTS
Duration                       : 1 h 55 min
Bit rate mode                  : Variable
Bit rate                       : 3 453 kb/s
Channel(s)                     : 6 channels
Channel layout                 : C L R Ls Rs LFE
Sampling rate                  : 48.0 kHz
Frame rate                     : 93.750 FPS (512 SPF)
Bit depth                      : 24 bits
Compression mode               : Lossless
Stream size                    : 2.79 GiB (6%)
Language                       : English
Default                        : Yes
Forced                         : No

Audio #2
ID                             : 3
Format                         : AC-3
Format/Info                    : Audio Coding 3
Commercial name                : Dolby Digital
Codec ID                       : A_AC3
Duration                       : 1 h 55 min
Bit rate mode                  : Constant
Bit rate                       : 448 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
Delay relative to video        : 28 ms
Stream size                    : 371 MiB (1%)
Language                       : Czech
Service kind                   : Complete Main
Default                        : No
Forced                         : No

Audio #3
ID                             : 4
Format                         : AC-3
Format/Info                    : Audio Coding 3
Commercial name                : Dolby Digital
Codec ID                       : A_AC3
Duration                       : 1 h 55 min
Bit rate mode                  : Constant
Bit rate                       : 224 kb/s
Channel(s)                     : 2 channels
Channel layout                 : L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 31.250 FPS (1536 SPF)
Compression mode               : Lossy
Delay relative to video        : 28 ms
Stream size                    : 186 MiB (0%)
Language                       : English
Service kind                   : Complete Main
Default                        : No
Forced                         : No

Text
ID                             : 5
Format                         : PGS
Muxing mode                    : zlib
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 50 min
Bit rate                       : 19.8 kb/s
Frame rate                     : 0.224 FPS
Count of elements              : 1488
Stream size                    : 15.7 MiB (0%)
Language                       : Czech
Default                        : Yes
Forced                         : No

 

list of supported formats are here, lets focus on mkv,hvc,ac3 first:
https://developer.samsung.com/smarttv/develop/specifications/media-specifications/2023-tv-video-specifications.html#23TV_BASIC1-(UHD)

Any ideas, how to tell the emby server, to not transcode mkv files? (or NONE of the files, just subitles and audio will be perfect. If the video is not playable on device, so let the device decide and fail)

dlna-profile.png

fail_dlna_emby.png

ok_dlna_win.png

embyserver.txt ffmpeg-remux-380d90cf-20ab-4e2c-ba1b-00e72571a806_1.txt ffmpeg-remux-d943e41c-1681-45a6-a940-99ed9d648c76_1.txt ffmpeg-transcode-f48d9518-7a5f-45f9-ae88-dbc4275ebdb1_1.txt ffmpeg-transcode-f48d9518-7a5f-45f9-ae88-dbc4275ebdb1_1graph.txt hardware_detection-63830054159.txt

Link to comment
Share on other sites

On 9/14/2023 at 8:11 PM, Luke said:

Hi, well for these examples try adding eac3 to the audio codecs.

Luke, thanks for the tip, yes it worked. My personal gues was about subtitles, but it behaves as expected(not supported by device,named in definition, no transcoding, not shown = ok).


To be sure, which setup is at right path:
1) shouldnt it work also when the "Audio codecs" line is empty? That was how iam started thinking: If everything is "empty", emby do not try to encode anything = passthrought.
or
2) Name "everything"(audio+video) codecs for every container(even that not supported one, by device)

Its not problem configure it once by option 1) or 2), copy paste is our friend, just to be sure :) 
Thanks

Link to comment
Share on other sites

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