Giter VIP home page Giter VIP logo

jellyfin-plugin-dlna's Introduction

jellyfin-plugin-dlna's People

Contributors

anteus avatar barronpm avatar crobibero avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jellyfin-plugin-dlna's Issues

Make DLNA playback mark videos as watched

When playing videos via DLNA (using VLC and other clients) the video is not marked as watched in Jellyfin.

Videos should be marked as watched, using any DLNA client. Not only when using the "play to" function of the jellyfin/emby clients to cast to a DLNA renderer.

This was an existing issue in emby and I can't test right now since DLNA playback isn't working for me at all at the moment. Here's some of the emby discussion thread about it. https://emby.media/community/index.php?/topic/44390-video-playback-over-dlna-updates-the-played-status-on-emby-server/

DLNA Remote Control / Playlists don't work

Describe the bug
Hey there!

After testing some medi-centers for my music libary i finally would like to stick with jellyfin because i really like it! Thanks for all your hard work dear developers!

Finally i face a problem like described in the issue title.

My Set up / Home Environment:

  • Jellyfin 10.4.3 - Linux 64bit Debian 9 (Basement)

  • Bose Home Speaker 500 (Living Room)

  • Bose CineMate (TV Room)

  • Tested with the webinterface and android client: same issue

  • Tested with disabled firewall on my linux system

Jellyfin works like a charm using the webinterface or the android client while playing music and playlists on the local device. As you see on the screenshot all "control elements" are there and working correctly:

1

2

If i choose to push a playlist to an device via DLNA (button upper right corner), just the actual / first song is correctly playing on the selected device, but then it's always stop to play anything. At this time when i select a device the *control elements" are gone. When using the "Remote Control" option from the selected device i see a more or less blank screen (last screenshot below).
Weird thing is, that the *Volume Control" is working properly remotely

With both devices the exact same happens.

3

4

To Reproduce

  • See described bug / screenshots and logfiles

Expected behavior

  • We just should be able to "Remote Control" our DLNA devices using jellyfin, like add playlists, skip to next song and so on. Like it works for a local device.

Logs

  • Before i did above described steps i cleared the jellyfin log and enabled the extended DLNA logging in the admin webinterface (actually i'm not pretty sure if it's logging also to jellyfin.log??)
    I just see some exceptions about xml-parsing.....i'm not a dev, but maybe there is a problem..

jellyfin.log

Screenshots

  • See described bug

System (please complete the following information):

  • See described bug

Additional context
Maybe you can merge this issue with issue jellyfin/jellyfin#2028
This guy describes exactly the same, but managed it with a workaround......

If i can deliver more info just feel free to ask!

DLNA not showing certain folders' content

When using DLNA, going to 'Folders' view, then my music folder, then Artist folder, you should see Albums' folders of that Artist.
Problem is if Artist's folder is in format "Artist_name -- discography", then there is no Albums listed.

Content is still available if I access it by anything else than 'Folders' view.

It was working fine before JF 10.7 (I went from 10.6.x to 10.7.1) and still is broken in 10.7.2

All Artists with folders in format "Artist_name -- discography" and "Artist_name -- discography YYYY" are affected.

I tried renaming test folder by removing " -- discography" part. refreshing metadata, and restarting JF, but in DLNA I still could see old "Artist_name -- discography" folder, so not sure how to test it....

System (please complete the following information):

  • OS: Linux
  • Virtualization: None, JF is installed
  • Clients: Any DLNA client
  • Jellyfin Version: 10.7.1 and 10.7.2
  • Storage: NAS, Linux EXT

Wrong covers for DLNA gеnres folders

Describe the bug
Covers for genres include thumbnails for media from libraries which user has no access.

To Reproduce

  1. Create user without access to all libraries
  2. Set this user as default for DLNA server
  3. Eneble DLNA server
  4. Navigate with UPnP device to Jellyfin - media/<library>/Genres
  5. See wrong covers

Expected behavior

Covers should contain only thumbnails allowed libraries.

Logs

N/A

Screenshots

Will add if needed.

System (please complete the following information):

  • OS: Ubuntu
  • Browser: Firefox, Chrome
  • Jellyfin Version: 10.2.1

DLNA will not transcode audio

Trying to watch videos on a PS3 via DLNA but there is no audio. ffmpeg is transcoding the video but copying the audio. I tried messing with the ps3 profile provided but nothing. I think maybe the profile included with the Jellyfin Docker image might be incorrect.

Casting through DLNA not showing SRT subtitles properly, though VTT subtitles are fine.

Describe the bug
I am casting from my PC, to my Smart TV using DLNA, a movie with arabic subtitles. The characters are all bugged, like this for example:
image
Subtitles format is SRT, encoding is UTF-8 with BOM (also tried without BOM), both not working properly.
Tried with .VTT subtitles, it worked fine.

Can that be solved by a software option change from the dashboard or is that a bug from Jellyfin that needs to be fixed?

System (please complete the following information):

  • OS: Windows
  • Virtualization: None
  • Clients: LG NetCast through DLNA
  • Browser: Edge 92
  • Jellyfin Version: 10.7.6
  • Playback: Direct
  • Hardware Acceleration: None
  • Installed Plugins: None
  • Reverse Proxy: None
  • Base URL: I don't understand that, by default, none

To Reproduce

  1. Cast from any device, to TV using DLNA, SRT subtitles with UTF-8 with BOM encoding
  2. See error

Expected behavior
.SRT subtitles to work fine (like VTT subtitles), as they do on other clients, since the subtitles encoding is right.

Screenshots
I can't screenshot my TV so here's an example of exactly how it looks like
image

Additional context
.SRT format is supported by the TV, I tried playing the movie and the subtitles on the TV from a flash memory and it worked just fine with no encoding problems.

No external subtitles (.srt) on 10.8.0 using DLNA Samsung j5200

Please describe your bug

No external subtitles (.srt) on 10.8.0 using DLNA Samsung j5200

  • OS:Windows
    was working before on 10.5.2, any one can confirm this issue?

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS:Windows

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

DLNA PlayTo: No device info updated when TV offline or restart

Describe the bug

DLNA PlayTo can not play to TV when AndroidTV offline or restart, since DLNA PlayTo not update device info.
Need to restart Jellyfin server to get and create the lastest DLNA Player's info.

If AndroidTv or other DLNA player offine or restart, some DLNA player may change the RemoteEndPoint ip
or port, eg: "http://192.168.1.80:49153/description.xml" -> "http://192.168.1.80:49000/description.xml".

But DLNA PlayTo still used the old device info, so it's failed to play.

System (please complete the following information):

  • OS: Debian
  • Virtualization: Docker
  • Clients: Browser
  • Jellyfin Version: 10.7.2

[issue]: Media seeking not possible in some cases over DLNA

This issue is probably related to jellyfin/jellyfin#2857 and jellyfin/jellyfin#5152, but I have further insights and logs that I felt would be more useful as a new issue.

Context

I tried playing some media over DLNA. Some files allowed seeking and others didn't, displaying an error message stating that the functionality wasn't available.

My computer was running jellyfin server and I have an LG TV which I was using to access jellyfin over DLNA.

I tried playing two different media files:

  • movie-1.mp4, which didn't allow seeking. The transcode log is shown further below.
  • movie-2.mp4, which allowed seeking. Jellyfin didn't save a transcode log for this one.

I would say the issue might be with the transcoding somewhere, as this only seems to happen with transcoded media. Or maybe only happens with H265 (encoding of movie-1.mp4)?

I will gladly run more tests if needed.

Media Info of files

movie-1.mp4

General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : HEVC
Video_Format_WithHint_List               : HEVC
Codecs Video                             : HEVC
Audio_Format_List                        : AAC LC
Audio_Format_WithHint_List               : AAC LC
Audio codecs                             : AAC LC
Audio_Language_List                      : English
Complete name                            : E:\Movies\movie-1\movie-1.mp4
Folder name                              : E:\Movies\movie-1
File name extension                      : movie-1.mp4
File name                                : movie-1
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID                                 : isom (isom/iso2/mp41)
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible                       : isom/iso2/mp41
File size                                : 2457347768
File size                                : 2.29 GiB
File size                                : 2 GiB
File size                                : 2.3 GiB
File size                                : 2.29 GiB
File size                                : 2.289 GiB
Duration                                 : 8817355
Duration                                 : 2 h 26 min
Duration                                 : 2 h 26 min 57 s 355 ms
Duration                                 : 2 h 26 min
Duration                                 : 02:26:57.355
Duration                                 : 02:26:59;12
Duration                                 : 02:26:57.355 (02:26:59;12)
Overall bit rate                         : 2229555
Overall bit rate                         : 2 230 kb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 211404
Stream size                              : 6062914
Stream size                              : 5.78 MiB (0%)
Stream size                              : 6 MiB
Stream size                              : 5.8 MiB
Stream size                              : 5.78 MiB
Stream size                              : 5.782 MiB
Stream size                              : 5.78 MiB (0%)
Proportion of this stream                : 0.00247
HeaderSize                               : 36
DataSize                                 : 2451284862
FooterSize                               : 6062870
IsStreamable                             : No
Title                                    : movie-1
Movie name                               : movie-1
Encoded date                             : UTC 2022-07-14 12:27:20
Tagged date                              : UTC 2022-07-14 12:27:20
File creation date                       : UTC 2023-03-01 01:00:54.359
File creation date (local)               : 2023-03-01 02:00:54.359
File last modification date              : UTC 2022-07-23 17:29:25.128
File last modification date (local)      : 2022-07-23 18:29:25.128
Writing application                      : Lavf58.20.100
Writing application                      : Lavf58.20.100
Comment                                  : movie-1

Video
Count                                    : 378
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : HEVC
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format/Url                               : http://www.itu.int
Commercial name                          : HEVC
Format profile                           : Main 10@L4@Main
Internet media type                      : video/H265
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Codec ID/Url                             : http://www.itu.int/
Duration                                 : 8817309
Duration                                 : 2 h 26 min
Duration                                 : 2 h 26 min 57 s 309 ms
Duration                                 : 2 h 26 min
Duration                                 : 02:26:57.309
Duration                                 : 02:26:59;12
Duration                                 : 02:26:57.309 (02:26:59;12)
Bit rate                                 : 2000063
Bit rate                                 : 2 000 kb/s
Width                                    : 1918
Width                                    : 1 918 pixels
Height                                   : 958
Height                                   : 958 pixels
Stored_Width                             : 1920
Stored_Height                            : 960
Sampled_Width                            : 1918
Sampled_Height                           : 958
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.002
Display aspect ratio                     : 2.002
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 (24000/1001) FPS
FrameRate_Num                            : 24000
FrameRate_Den                            : 1001
Frame count                              : 211404
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 10
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.045
Stream size                              : 2204398624
Stream size                              : 2.05 GiB (90%)
Stream size                              : 2 GiB
Stream size                              : 2.1 GiB
Stream size                              : 2.05 GiB
Stream size                              : 2.053 GiB
Stream size                              : 2.05 GiB (90%)
Proportion of this stream                : 0.89706
Writing library                          : x265 - 3.3+4-30eb4de83092:[Linux][GCC 8.3.1][64 bit] 10bit
Writing library                          : x265 3.3+4-30eb4de83092:[Linux][GCC 8.3.1][64 bit] 10bit
Encoded_Library_Name                     : x265
Encoded_Library_Version                  : 3.3+4-30eb4de83092:[Linux][GCC 8.3.1][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1918x958 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / 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 / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=2000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / 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=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / 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 / no-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 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0
Encoded date                             : UTC 2022-07-14 12:27:20
Tagged date                              : UTC 2022-07-14 12:27:20
Codec configuration box                  : hvcC

Audio
Count                                    : 280
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Commercial name                          : AAC
Format_AdditionalFeatures                : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 8817355
Duration                                 : 2 h 26 min
Duration                                 : 2 h 26 min 57 s 355 ms
Duration                                 : 2 h 26 min
Duration                                 : 02:26:57.355
Duration                                 : 02:26:33:43
Duration                                 : 02:26:57.355 (02:26:33:43)
Duration_LastFrame                       : -11
Duration_LastFrame                       : -11 ms
Duration_LastFrame                       : -11 ms
Duration_LastFrame                       : -11 ms
Duration_LastFrame                       : -00:00:00.011
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 224000
Bit rate                                 : 224 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
Channel layout                           : C L R Ls Rs LFE
Samples per frame                        : 1024
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 423233040
Frame rate                               : 46.875
Frame rate                               : 46.875 FPS (1024 SPF)
Frame count                              : 413314
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 246886230
Stream size                              : 235 MiB (10%)
Stream size                              : 235 MiB
Stream size                              : 235 MiB
Stream size                              : 235 MiB
Stream size                              : 235.4 MiB
Stream size                              : 235 MiB (10%)
Proportion of this stream                : 0.10047
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Alternate group                          : 1
Alternate group                          : 1
Encoded date                             : UTC 2022-07-14 12:27:20
Tagged date                              : UTC 2022-07-14 12:27:20

movie-2.mp4

General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Audio_Format_List                        : AAC LC
Audio_Format_WithHint_List               : AAC LC
Audio codecs                             : AAC LC
Audio_Language_List                      : English
Complete name                            : E:\Movies\movie-2\movie-2.mp4
Folder name                              : E:\Movies\movie-2
File name extension                      : movie-2.mp4
File name                                : movie-2
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID                                 : isom (isom/iso2/avc1/mp41)
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible                       : isom/iso2/avc1/mp41
File size                                : 3045853761
File size                                : 2.84 GiB
File size                                : 3 GiB
File size                                : 2.8 GiB
File size                                : 2.84 GiB
File size                                : 2.837 GiB
Duration                                 : 8931755
Duration                                 : 2 h 28 min
Duration                                 : 2 h 28 min 51 s 755 ms
Duration                                 : 2 h 28 min
Duration                                 : 02:28:51.755
Duration                                 : 02:28:53;20
Duration                                 : 02:28:51.755 (02:28:53;20)
Overall bit rate                         : 2728112
Overall bit rate                         : 2 728 kb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 214144
Stream size                              : 6114580
Stream size                              : 5.83 MiB (0%)
Stream size                              : 6 MiB
Stream size                              : 5.8 MiB
Stream size                              : 5.83 MiB
Stream size                              : 5.831 MiB
Stream size                              : 5.83 MiB (0%)
Proportion of this stream                : 0.00201
HeaderSize                               : 40
DataSize                                 : 3039739189
FooterSize                               : 6114532
IsStreamable                             : No
Title                                    : movie-2
Movie name                               : movie-2
Encoded date                             : UTC 2017-12-18 10:59:23
Tagged date                              : UTC 2017-12-18 10:59:23
File creation date                       : UTC 2018-09-02 00:43:03.509
File creation date (local)               : 2018-09-02 01:43:03.509
File last modification date              : UTC 2018-09-02 00:52:45.413
File last modification date (local)      : 2018-09-02 01:52:45.413
Writing application                      : Lavf57.71.100
Writing application                      : Lavf57.71.100
Comment                                  : movie-2

Video
Count                                    : 378
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : [email protected]
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4
Format settings, Reference frames        : 4 frames
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 8931599
Duration                                 : 2 h 28 min
Duration                                 : 2 h 28 min 51 s 599 ms
Duration                                 : 2 h 28 min
Duration                                 : 02:28:51.599
Duration                                 : 02:28:53;20
Duration                                 : 02:28:51.599 (02:28:53;20)
Bit rate                                 : 2500000
Bit rate                                 : 2 500 kb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 864
Height                                   : 864 pixels
Sampled_Width                            : 1920
Sampled_Height                           : 864
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.222
Display aspect ratio                     : 2.222
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 (23976/1000) FPS
FrameRate_Num                            : 23976
FrameRate_Den                            : 1000
Frame count                              : 214144
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.063
Stream size                              : 2789650050
Stream size                              : 2.60 GiB (92%)
Stream size                              : 3 GiB
Stream size                              : 2.6 GiB
Stream size                              : 2.60 GiB
Stream size                              : 2.598 GiB
Stream size                              : 2.60 GiB (92%)
Proportion of this stream                : 0.91588
Writing library                          : x264 - core 152 r2851M ba24899
Writing library                          : x264 core 152 r2851M ba24899
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 152 r2851M ba24899
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=32 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=2500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=3:1.00
Encoded date                             : UTC 2017-12-18 10:59:23
Tagged date                              : UTC 2017-12-18 10:59:23
Codec configuration box                  : avcC

Audio
Count                                    : 280
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Commercial name                          : AAC
Format_AdditionalFeatures                : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 8931755
Duration                                 : 2 h 28 min
Duration                                 : 2 h 28 min 51 s 755 ms
Duration                                 : 2 h 28 min
Duration                                 : 02:28:51.755
Duration                                 : 02:28:28:00
Duration                                 : 02:28:51.755 (02:28:28:00)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 224000
Bit rate                                 : 224 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
Channel layout                           : C L R Ls Rs LFE
Samples per frame                        : 1024
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 428724240
Frame rate                               : 46.875
Frame rate                               : 46.875 FPS (1024 SPF)
Frame count                              : 418676
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 250089131
Stream size                              : 239 MiB (8%)
Stream size                              : 239 MiB
Stream size                              : 239 MiB
Stream size                              : 239 MiB
Stream size                              : 238.5 MiB
Stream size                              : 239 MiB (8%)
Proportion of this stream                : 0.08211
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Alternate group                          : 1
Alternate group                          : 1
Encoded date                             : UTC 2017-12-18 10:59:23
Tagged date                              : UTC 2017-12-18 10:59:23

Logs

[2023-07-23 21:18:17.686 +01:00] [INF] [4] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "[TV][LG]40UF695V-ZB" - "LG TV"
[2023-07-23 21:18:19.000 +01:00] [INF] [13] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.0.0.1" request
[2023-07-23 21:21:43.173 +01:00] [INF] [49] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-07-23 21:25:16.181 +01:00] [INF] [34] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2023-07-23 21:25:16.183 +01:00] [INF] [34] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2023-07-23 21:25:16.184 +01:00] [INF] [32] Emby.Server.Implementations.EntryPoints.ExternalPortForwarding: Stopping NAT discovery
[2023-07-23 21:25:53.879 +01:00] [INF] [58] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="LG Smart TV", Path="E:\Movies\movie-1\movie-1.mp4", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/ff5b9ace-cfee-ab58-14c8-1d7b5b936fd8/stream.ts?MediaSourceId=ff5b9acecfeeab5814c81d7b5b936fd8&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=2&VideoBitrate=139776000&AudioBitrate=224000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&RequireAvc=false&Tag=33599333e23895604541730fedbc38c6&hevc-level=120&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&TranscodeReasons=VideoCodecNotSupported"
[2023-07-23 21:25:53.848 +01:00] [INF] [58] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="LG Smart TV", Path="E:\Movies\movie-2\movie-2.mp4", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/dccfdf4c-045a-c150-ed67-c65c3a86c407/stream.mp4?MediaSourceId=dccfdf4c045ac150ed67c65c3a86c407&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=2&api_key=<token>&Tag=0684fec53101bc2e58200ad6a0ccf320"
[2023-07-23 21:27:00.980 +01:00] [INF] [70] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-analyzeduration 200M -init_hw_device d3d11va=dx11:,vendor=0x1002 -init_hw_device opencl=ocl@dx11 -filter_hw_device ocl -hwaccel d3d11va -hwaccel_output_format d3d11 -autorotate 0 -i file:\"E:\Movies\movie-1\movie-1.mp4\" -autoscale 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -force_key_frames \"expr:gte(t,n_forced*5)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=opencl,scale_opencl=format=nv12,hwmap=derive_device=d3d11va:reverse=1,format=d3d11\" -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 4000128 -maxrate 4000128 -bufsize 8000256 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y \"C:\ProgramData\Jellyfin\Server\transcodes\c3b0bcc831de9b3f247584854d87fd9b.ts\""
[2023-07-23 21:27:28.758 +01:00] [INF] [52] Jellyfin.Api.Helpers.TranscodingJobHelper: Transcoding kill timer stopped for JobId "017572bf9b2c41f795a71736608eb0c9" PlaySessionId null. Killing transcoding
[2023-07-23 21:27:28.761 +01:00] [INF] [52] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\c3b0bcc831de9b3f247584854d87fd9b.ts"
[2023-07-23 21:27:29.164 +01:00] [INF] [52] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-07-23 21:27:29.165 +01:00] [INF] [52] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "C:\ProgramData\Jellyfin\Server\transcodes\c3b0bcc831de9b3f247584854d87fd9b.ts"
[2023-07-23 21:27:39.266 +01:00] [INF] [68] Jellyfin.Api.Helpers.TranscodingJobHelper: Transcoding kill timer stopped for JobId "8fe013c4e5594e39959a0bccb66989e7" PlaySessionId null. Killing transcoding
[2023-07-23 21:27:39.268 +01:00] [INF] [68] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f6484acff73e842860524cbd3da6b589.ts"
[2023-07-23 21:27:39.552 +01:00] [INF] [69] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-07-23 21:27:39.554 +01:00] [INF] [68] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "C:\ProgramData\Jellyfin\Server\transcodes\f6484acff73e842860524cbd3da6b589.ts"
[2023-07-23 21:29:43.588 +01:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-07-23 21:31:44.613 +01:00] [INF] [97] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.0.0.1" closed

FFmpeg Logs

/videos/ff5b9ace-cfee-ab58-14c8-1d7b5b936fd8/stream.ts

{"Protocol":0,"Id":"ff5b9acecfeeab5814c81d7b5b936fd8","Path":"E:\\Movies\\movie-1\\movie-1.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":2457347840,"Name":"movie-1","IsRemote":false,"ETag":"33599333e23895604541730fedbc38c6","RunTimeTicks":88173551616,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"subrip","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Undefined - SUBRIP - External","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"E:\\Movies\\movie-1\\movie-1.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"hevc","CodecTag":"hev1","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/24000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":2000064,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":958,"Width":1918,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"959:479","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":120,"IsAnamorphic":null},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":224000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":2229555,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

ffmpeg -analyzeduration 200M -init_hw_device d3d11va=dx11:,vendor=0x1002 -init_hw_device opencl=ocl@dx11 -filter_hw_device ocl -hwaccel d3d11va -hwaccel_output_format d3d11 -autorotate 0 -i file:"E:\Movies\movie-1\movie-1.mp4" -autoscale 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -force_key_frames "expr:gte(t,n_forced*5)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=opencl,scale_opencl=format=nv12,hwmap=derive_device=d3d11va:reverse=1,format=d3d11" -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 4000128 -maxrate 4000128 -bufsize 8000256 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "C:\ProgramData\Jellyfin\Server\transcodes\c3b0bcc831de9b3f247584854d87fd9b.ts"


ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12-win32 (GCC)
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lfftw3f -lstdc++' --extra-cflags=-DCHROMAPRINT_NODLL --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[AVHWDeviceContext @ 000001c02f46b080] Using device 1002:73ff (AMD Radeon RX 6600 XT).
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:E:\Movies\movie-1\movie-1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    creation_time   : 2022-07-14T12:27:20.000000Z
    title           : movie-1
    encoder         : Lavf58.20.100
    comment         : movie-1
  Duration: 02:26:57.36, start: 0.000000, bitrate: 2229 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1918x958 [SAR 1:1 DAR 959:479], 2000 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
    Metadata:
      creation_time   : 2022-07-14T12:27:20.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 224 kb/s (default)
    Metadata:
      creation_time   : 2022-07-14T12:27:20.000000Z
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_amf))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Output #0, mpegts, to 'C:\ProgramData\Jellyfin\Server\transcodes\c3b0bcc831de9b3f247584854d87fd9b.ts':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264, d3d11(tv, bt709, progressive), 1918x958 [SAR 1:1 DAR 959:479], q=2-31, 4000 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder         : Lavc59.37.100 h264_amf
  Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 224 kb/s (default)
frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.51 bitrate=   0.0kbits/s speed=20.7x    
frame=   91 fps=0.0 q=-0.0 size=     117kB time=00:00:04.28 bitrate= 224.1kbits/s speed=8.15x    
frame=  230 fps=222 q=-0.0 size=    4864kB time=00:00:10.09 bitrate=3948.8kbits/s speed=9.76x    
frame=  370 fps=241 q=-0.0 size=    7680kB time=00:00:15.91 bitrate=3953.2kbits/s speed=10.4x    
frame=  509 fps=249 q=-0.0 size=   10752kB time=00:00:21.71 bitrate=4055.8kbits/s speed=10.6x    
frame=  649 fps=254 q=-0.0 size=   13824kB time=00:00:27.56 bitrate=4108.7kbits/s speed=10.8x    
frame=  795 fps=260 q=-0.0 size=   17152kB time=00:00:33.64 bitrate=4176.5kbits/s speed=  11x    
frame=  942 fps=264 q=-0.0 size=   20480kB time=00:00:39.78 bitrate=4216.8kbits/s speed=11.2x    
frame= 1086 fps=267 q=-0.0 size=   24064kB time=00:00:45.78 bitrate=4306.0kbits/s speed=11.2x    
frame= 1232 fps=269 q=-0.0 size=   26368kB time=00:00:51.88 bitrate=4163.4kbits/s speed=11.3x    
frame= 1378 fps=270 q=-0.0 size=   30720kB time=00:00:57.96 bitrate=4341.7kbits/s speed=11.4x    
frame= 1512 fps=270 q=-0.0 size=   34048kB time=00:01:03.55 bitrate=4388.9kbits/s speed=11.4x    
frame= 1654 fps=271 q=-0.0 size=   36352kB time=00:01:09.48 bitrate=4285.9kbits/s speed=11.4x    
frame= 1795 fps=272 q=-0.0 size=   39680kB time=00:01:15.34 bitrate=4314.0kbits/s speed=11.4x    
frame= 1939 fps=272 q=-0.0 size=   42752kB time=00:01:21.36 bitrate=4304.3kbits/s speed=11.4x    
frame= 2085 fps=273 q=-0.0 size=   46080kB time=00:01:27.44 bitrate=4316.8kbits/s speed=11.5x    
frame= 2234 fps=275 q=-0.0 size=   49408kB time=00:01:33.67 bitrate=4320.8kbits/s speed=11.5x    
frame= 2376 fps=275 q=-0.0 size=   52480kB time=00:01:39.58 bitrate=4317.1kbits/s speed=11.5x    
frame= 2517 fps=275 q=-0.0 size=   55552kB time=00:01:45.47 bitrate=4314.7kbits/s speed=11.5x    
frame= 2662 fps=276 q=-0.0 size=   59136kB time=00:01:51.50 bitrate=4344.4kbits/s speed=11.6x    
frame= 2804 fps=276 q=-0.0 size=   62208kB time=00:01:57.44 bitrate=4339.3kbits/s speed=11.6x    
frame= 2952 fps=277 q=-0.0 size=   65280kB time=00:02:03.60 bitrate=4326.5kbits/s speed=11.6x    
frame= 3099 fps=277 q=-0.0 size=   68608kB time=00:02:09.74 bitrate=4331.7kbits/s speed=11.6x    
frame= 3246 fps=278 q=-0.0 size=   72192kB time=00:02:15.87 bitrate=4352.6kbits/s speed=11.6x    
frame= 3389 fps=278 q=-0.0 size=   75264kB time=00:02:21.84 bitrate=4346.7kbits/s speed=11.6x    
frame= 3538 fps=279 q=-0.0 size=   78080kB time=00:02:28.05 bitrate=4320.3kbits/s speed=11.7x    
frame= 3687 fps=279 q=-0.0 size=   81920kB time=00:02:34.26 bitrate=4350.3kbits/s speed=11.7x    
frame= 3836 fps=280 q=-0.0 size=   84992kB time=00:02:40.49 bitrate=4338.3kbits/s speed=11.7x    
frame= 3980 fps=280 q=-0.0 size=   88576kB time=00:02:46.48 bitrate=4358.4kbits/s speed=11.7x    
frame= 4130 fps=280 q=-0.0 size=   91392kB time=00:02:52.73 bitrate=4334.3kbits/s speed=11.7x    
frame= 4275 fps=280 q=-0.0 size=   95232kB time=00:02:58.79 bitrate=4363.3kbits/s speed=11.7x    
frame= 4419 fps=280 q=-0.0 size=   98048kB time=00:03:04.78 bitrate=4346.6kbits/s speed=11.7x    
frame= 4563 fps=280 q=-0.0 size=  101632kB time=00:03:10.80 bitrate=4363.4kbits/s speed=11.7x    
frame= 4710 fps=281 q=-0.0 size=  104704kB time=00:03:16.92 bitrate=4355.6kbits/s speed=11.7x    
frame= 4856 fps=281 q=-0.0 size=  108032kB time=00:03:23.02 bitrate=4359.0kbits/s speed=11.7x    
frame= 5002 fps=281 q=-0.0 size=  111104kB time=00:03:29.10 bitrate=4352.6kbits/s speed=11.7x    
frame= 5144 fps=281 q=-0.0 size=  114176kB time=00:03:35.04 bitrate=4349.6kbits/s speed=11.7x    
frame= 5288 fps=281 q=-0.0 size=  117248kB time=00:03:41.03 bitrate=4345.5kbits/s speed=11.7x    
frame= 5438 fps=281 q=-0.0 size=  120832kB time=00:03:47.30 bitrate=4354.7kbits/s speed=11.8x    
frame= 5584 fps=281 q=-0.0 size=  124160kB time=00:03:53.38 bitrate=4358.1kbits/s speed=11.8x    
frame= 5731 fps=282 q=-0.0 size=  127488kB time=00:03:59.53 bitrate=4360.1kbits/s speed=11.8x    
frame= 5875 fps=282 q=-0.0 size=  130560kB time=00:04:05.52 bitrate=4356.2kbits/s speed=11.8x    
frame= 6015 fps=282 q=-0.0 size=  133888kB time=00:04:11.37 bitrate=4363.3kbits/s speed=11.8x    
frame= 6149 fps=281 q=-0.0 size=  136960kB time=00:04:16.96 bitrate=4366.3kbits/s speed=11.7x    
frame= 6221 fps=278 q=-0.0 size=  138496kB time=00:04:19.96 bitrate=4364.2kbits/s speed=11.6x    
frame= 6293 fps=275 q=-0.0 size=  140288kB time=00:04:22.95 bitrate=4370.5kbits/s speed=11.5x    
frame= 6365 fps=272 q=-0.0 size=  141824kB time=00:04:25.96 bitrate=4368.4kbits/s speed=11.4x    
frame= 6437 fps=269 q=-0.0 size=  143616kB time=00:04:28.97 bitrate=4374.1kbits/s speed=11.2x    
frame= 6509 fps=266 q=-0.0 size=  144896kB time=00:04:31.97 bitrate=4364.3kbits/s speed=11.1x    
frame= 6581 fps=264 q=-0.0 size=  146432kB time=00:04:34.96 bitrate=4362.6kbits/s speed=  11x    
frame= 6653 fps=261 q=-0.0 size=  147968kB time=00:04:37.97 bitrate=4360.7kbits/s speed=10.9x    
frame= 6725 fps=259 q=-0.0 size=  150016kB time=00:04:40.98 bitrate=4373.7kbits/s speed=10.8x    

Transcoding is paused. Press [u] to resume.


[q] command received. Exiting.

frame= 6773 fps=257 q=-0.0 Lsize=  151361kB time=00:04:42.96 bitrate=4382.0kbits/s speed=10.7x    
video:138243kB audio:7740kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.683836%

Server System

  • OS: Windows 11 22H2
  • Jellyfin Version: 10.8.10
  • Hardware settings & device: AMD Ryzen 5 5600X, AMD Radeon RX 6600 XT,
  • Reverse proxy: no
  • Other hardware notes: media mounted in attached HDD

Client System

  • Device: LG TV 40UF695V-ZB
  • OS: NetCast 4.5 (?)
  • Client: OS DLNA integration

Can't use DLNA server with Orange TV decoder

I tried to use Jellyfin as a DLNA server. It works well except with my TV Decoder. I can't read any video from Jellyfin, no matter the video format.

Logs

[2022-12-29 14:42:27.980 +00:00] [INF] [27] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -fflags +genpts -f matroska,webm  -i file:\"/media/myfile.mkv\" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y \"/config/transcodes/a4e7b9904a2636a17cd21a69cea138fe.mkv?deviceprofileid=f97d98ebd94c468b9b07e33463fd50fc&deviceid=test&mediasourceid=5c1b0eefbdecc20924de9249ac65f9c2&static=true&videocodec=h264&audiocodec=dts&audiostreamindex=1&subtitlestreamindex=2&subtitlemethod=embed&tag=04fbab2554e7761c6033dbfbeb790547&dlnaheaders=true\""
[2022-12-29 14:42:28.057 +00:00] [ERR] [17] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
[2022-12-29 14:42:28.160 +00:00] [ERR] [17] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5c1b0eef-bdec-c209-24de-9249ac65f9c2/stream.mkv%3FDeviceProfileId=f97d98ebd94c468b9b07e33463fd50fc&DeviceId=test&MediaSourceId=5c1b0eefbdecc20924de9249ac65f9c2&Static=true&VideoCodec=h264&AudioCodec=dts&AudioStreamIndex=1&SubtitleStreamIndex=2&SubtitleMethod=Embed&Tag=04fbab2554e7761c6033dbfbeb790547&dlnaheaders=true".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
   at Jellyfin.Api.Helpers.FileStreamResponseHelpers.GetTranscodedFile(StreamState state, Boolean isHeadRequest, HttpContext httpContext, TranscodingJobHelper transcodingJobHelper, String ffmpegCommandLineArguments, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource)
   at Jellyfin.Api.Controllers.VideosController.GetVideoStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions)
   at lambda_method338(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

FFmpeg Logs

/videos/5c1b0eef-bdec-c209-24de-9249ac65f9c2/stream.mkv%3FDeviceProfileId=f97d98ebd94c468b9b07e33463fd50fc&DeviceId=test&MediaSourceId=5c1b0eefbdecc20924de9249ac65f9c2&Static=true&VideoCodec=h264&AudioCodec=dts&AudioStreamIndex=1&SubtitleStreamIndex=2&SubtitleMethod=Embed&Tag=04fbab2554e7761c6033dbfbeb790547&dlnaheaders=true

{"Protocol":0,"Id":"5c1b0eefbdecc20924de9249ac65f9c2","Path":"/media/myfile.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":8213915648,"Name":"my file","IsRemote":false,"ETag":"04fbab2554e7761c6033dbfbeb790547","RunTimeTicks":63129579520,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":10408959,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":808,"Width":1920,"AverageFrameRate":24,"RealFrameRate":24,"Profile":"High","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"dts","CodecTag":null,"Language":"fre","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"FR","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"FR - Fre - DTS - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":1536000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"DTS","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"frf","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"FRF","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Non d\u00E9fini","LocalizedDefault":"Par d\u00E9faut","LocalizedForced":"Forc\u00E9","LocalizedExternal":"External","DisplayTitle":"FRF - Par d\u00E9faut - Forc\u00E9 - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":true,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":11944959,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -fflags +genpts -f matroska,webm  -i file:"/media/myfile.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/config/transcodes/a4e7b9904a2636a17cd21a69cea138fe.mkv?deviceprofileid=f97d98ebd94c468b9b07e33463fd50fc&deviceid=test&mediasourceid=5c1b0eefbdecc20924de9249ac65f9c2&static=true&videocodec=h264&audiocodec=dts&audiostreamindex=1&subtitlestreamindex=2&subtitlemethod=embed&tag=04fbab2554e7761c6033dbfbeb790547&dlnaheaders=true"


ffmpeg version 5.1.2-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, matroska,webm, from 'file:/media/myfile.mkv':
  Metadata:
    encoder         : libebml v1.0.0 + libmatroska v1.0
  Duration: 01:45:12.96, start: 0.000000, bitrate: 10408 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 674.458000
      Metadata:
        title           : 00:00:00.000
    Chapter #0:1: start 674.458000, end 1110.458000
      Metadata:
        title           : 00:11:14.458
    Chapter #0:2: start 1110.458000, end 1575.792000
      Metadata:
        title           : 00:18:30.458
    Chapter #0:3: start 1575.792000, end 2132.875000
      Metadata:
        title           : 00:26:15.792
    Chapter #0:4: start 2132.875000, end 2694.375000
      Metadata:
        title           : 00:35:32.875
    Chapter #0:5: start 2694.375000, end 3105.667000
      Metadata:
        title           : 00:44:54.375
    Chapter #0:6: start 3105.667000, end 3693.083000
      Metadata:
        title           : 00:51:45.667
    Chapter #0:7: start 3693.083000, end 4188.167000
      Metadata:
        title           : 01:01:33.083
    Chapter #0:8: start 4188.167000, end 4773.000000
      Metadata:
        title           : 01:09:48.167
    Chapter #0:9: start 4773.000000, end 5139.042000
      Metadata:
        title           : 01:19:33.000
    Chapter #0:10: start 5139.042000, end 5883.000000
      Metadata:
        title           : 01:25:39.042
    Chapter #0:11: start 5883.000000, end 6312.958000
      Metadata:
        title           : 01:38:03.000
  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x808, SAR 1:1 DAR 240:101, 24 fps, 24 tbr, 1k tbn (default)
  Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title           : FR
  Stream #0:2(frf): Subtitle: subrip (default) (forced)
    Metadata:
      title           : FRF
[NULL @ 0x558f8e7d7300] Unable to find a suitable output format for '/config/transcodes/a4e7b9904a2636a17cd21a69cea138fe.mkv?deviceprofileid=f97d98ebd94c468b9b07e33463fd50fc&deviceid=test&mediasourceid=5c1b0eefbdecc20924de9249ac65f9c2&static=true&videocodec=h264&audiocodec=dts&audiostreamindex=1&subtitlestreamindex=2&subtitlemethod=embed&tag=04fbab2554e7761c6033dbfbeb790547&dlnaheaders=true'
/config/transcodes/a4e7b9904a2636a17cd21a69cea138fe.mkv?deviceprofileid=f97d98ebd94c468b9b07e33463fd50fc&deviceid=test&mediasourceid=5c1b0eefbdecc20924de9249ac65f9c2&static=true&videocodec=h264&audiocodec=dts&audiostreamindex=1&subtitlestreamindex=2&subtitlemethod=embed&tag=04fbab2554e7761c6033dbfbeb790547&dlnaheaders=true: Invalid argument

Server System (please complete the following information):

  • OS: Docker container : Debian
  • Jellyfin Version: 10.8.8
  • Reverse proxy: nginx

Client System (please complete the following information):

[Issue]: Multi Part Movies are not supportted in DLNA server

Please describe your bug

Hi, there.

I just realized that the DLNA server in Jellyfin does not suuport multi part movies. In Web Interface, the movies which have multi files(end with -CD*.mp4) were stacked in one item, and the parts after the first one would be displayed as additional items.

However in Jellyfin's DLNA server, there is only first part of movie was displayed and could be played. There is no way to access the rest parts of the movie. I have tried the Plex server, what they do is to display multiple parts as seperate items in DLNA, but there is no existing solution in Jellyfin.

Hope this could be solved soon... Thanks!

Jellyfin Version

10.7.7

if other:

No response

Environment

- OS:
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Issue]: Samsung TV (pre-Tizen, DLNA only) is not showing subtitles from Jellyfin 10.8.11

Please describe your bug

Samsung TV model UE40ES6100 (pre-Tizen, DLNA only) is not showing subtitles from Jellyfin 10.8.11
The used DLNA profile is "Samsung Smart TV" and there are no indication for any problem in the DLNA debug logging.
When a remote managed casting is used the subtitle option is shown, but cannot be selected.
The subtitle is an external SRT file and the encoding is not changing the behavior... ANSI, UTF8 (with/without BOM) - all variations are still not shown on the TV. i found out the bug exist here jellyfin/jellyfin#7771

Jellyfin Version

10.8.z

if other:

10.8.11

Environment

- OS:Windows 10 - android Mi 12.5
- Linux Kernel:none
- Virtualization:none
- Clients:Samsung TV
- Browser: Chrome ,firefox
- FFmpeg Version:jellyfin-ffmpeg_6.0-6
- Playback Method:Direct Stream
- Hardware Acceleration:Nvidia NVENC
- GPU Model:1050ti
- Plugins:none
- Reverse Proxy:none
- Base URL:none
- Networking:Host
- Storage:local

Jellyfin logs

/videos/93d8db35-b3a7-48bc-2e44-c92bb8dcf9eb/stream.ts

{"Protocol":0,"Id":"93d8db35b3a748bc2e44c92bb8dcf9eb","Path":"D:\\Downloads\\Videos\\Movies\\Top Gun Maverick (2022)\\Top Gun Maverick (2022) Bluray-1080p.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":24954531503,"Name":"Top Gun Maverick (2022) Bluray-1080p","IsRemote":false,"ETag":"c222807e2ca60503b968b7d66126a72d","RunTimeTicks":78211470000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"subrip","CodecTag":null,"Language":"gre","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"Gre - \u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF - SUBRIP - \u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":true,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"D:\\Downloads\\Videos\\Movies\\Top Gun Maverick (2022)\\Top Gun Maverick (2022) Bluray-1080p.gre.forced.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF - SUBRIP - \u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"D:\\Downloads\\Videos\\Movies\\Top Gun Maverick (2022)\\Top Gun Maverick (2022) Bluray-1080p.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":25525188,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1020,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"32:17","Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"truehd","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - TRUEHD - 7.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"7.1","BitRate":4303511,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"spa","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"Spanish - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":29828699,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

C:\Users\alexh\OneDriveγγραφα\jellyfin-ffmpeg_6.0-6\ffmpeg.exe -analyzeduration 200M -fflags +genpts  -i file:"D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022) Bluray-1080p.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -y "C:\ProgramData\Jellyfin\Server\transcodes\88a2a186db24d06342fbfa8ddef6c94e.ts"


ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12-win32 (GCC)
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Input #0, matroska,webm, from 'file:D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022) Bluray-1080p.mkv':
  Metadata:
    encoder         : libebml v1.3.5 + libmatroska v1.4.8
    creation_time   : 2022-10-18T20:27:26.000000Z
  Duration: 02:10:21.15, start: 0.000000, bitrate: 25525 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 185.226000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 185.226000, end 820.110000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 820.110000, end 1282.948000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1282.948000, end 1959.415000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1959.415000, end 2687.518000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2687.518000, end 3234.940000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3234.940000, end 3609.606000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3609.606000, end 4059.305000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 4059.305000, end 4546.166000
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 4546.166000, end 5017.721000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 5017.721000, end 5509.128000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 5509.128000, end 6092.628000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 6092.628000, end 6528.063000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 6528.063000, end 7042.410000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 7042.410000, end 7393.135000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 7393.135000, end 7821.147000
      Metadata:
        title           : Chapter 16
  Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1020 [SAR 1:1 DAR 32:17], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 21156148
      BPS-eng         : 21156148
      DURATION        : 02:10:21.147000000
      DURATION-eng    : 02:10:21.147000000
      NUMBER_OF_FRAMES: 187520
      NUMBER_OF_FRAMES-eng: 187520
      NUMBER_OF_BYTES : 20683168690
      NUMBER_OF_BYTES-eng: 20683168690
      _STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      BPS             : 4303511
      BPS-eng         : 4303511
      DURATION        : 02:10:14.516000000
      DURATION-eng    : 02:10:14.516000000
      NUMBER_OF_FRAMES: 9377419
      NUMBER_OF_FRAMES-eng: 9377419
      NUMBER_OF_BYTES : 4203732812
      NUMBER_OF_BYTES-eng: 4203732812
      _STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: subrip
    Metadata:
      BPS             : 54
      BPS-eng         : 54
      DURATION        : 01:57:13.400000000
      DURATION-eng    : 01:57:13.400000000
      NUMBER_OF_FRAMES: 1476
      NUMBER_OF_FRAMES-eng: 1476
      NUMBER_OF_BYTES : 47476
      NUMBER_OF_BYTES-eng: 47476
      _STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(spa): Subtitle: subrip
    Metadata:
      BPS             : 63
      BPS-eng         : 63
      DURATION        : 02:02:30.239000000
      DURATION-eng    : 02:02:30.239000000
      NUMBER_OF_FRAMES: 1608
      NUMBER_OF_FRAMES-eng: 1608
      NUMBER_OF_BYTES : 58264
      NUMBER_OF_BYTES-eng: 58264
      _STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to 'C:\ProgramData\Jellyfin\Server\transcodes\88a2a186db24d06342fbfa8ddef6c94e.ts':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1020 [SAR 1:1 DAR 32:17], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn (default)
    Metadata:
      BPS             : 21156148
      BPS-eng         : 21156148
      DURATION        : 02:10:21.147000000
      DURATION-eng    : 02:10:21.147000000
      NUMBER_OF_FRAMES: 187520
      NUMBER_OF_FRAMES-eng: 187520
      NUMBER_OF_BYTES : 20683168690
      NUMBER_OF_BYTES-eng: 20683168690
      _STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      BPS             : 4303511
      BPS-eng         : 4303511
      DURATION        : 02:10:14.516000000
      DURATION-eng    : 02:10:14.516000000
      NUMBER_OF_FRAMES: 9377419
      NUMBER_OF_FRAMES-eng: 9377419
      NUMBER_OF_BYTES : 4203732812
      NUMBER_OF_BYTES-eng: 4203732812
      _STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      encoder         : Lavc60.3.100 ac3
frame=    0 fps=0.0 q=-1.0 size=       0kB time=-00:00:00.04 bitrate=  -0.0kbits/s speed=N/A    
frame=  489 fps=0.0 q=-1.0 size=   58624kB time=00:00:20.37 bitrate=23566.2kbits/s speed=40.7x    
frame= 1033 fps=1033 q=-1.0 size=   69632kB time=00:00:43.09 bitrate=13235.3kbits/s speed=43.1x    
frame= 1581 fps=1054 q=-1.0 size=   86784kB time=00:01:05.94 bitrate=10780.4kbits/s speed=  44x    
frame= 2064 fps=1032 q=-1.0 size=  154368kB time=00:01:26.10 bitrate=14686.2kbits/s speed=  43x    
frame= 2542 fps=1017 q=-1.0 size=  231424kB time=00:01:45.94 bitrate=17894.1kbits/s speed=42.4x    
frame= 3027 fps=1009 q=-1.0 size=  308224kB time=00:02:06.20 bitrate=20007.3kbits/s speed=42.1x    
frame= 3518 fps=1005 q=-1.0 size=  385024kB time=00:02:26.65 bitrate=21507.7kbits/s speed=41.9x    
frame= 4016 fps=1004 q=-1.0 size=  460288kB time=00:02:47.41 bitrate=22522.5kbits/s speed=41.8x    
frame= 4530 fps=1007 q=-1.0 size=  525568kB time=00:03:08.89 bitrate=22793.4kbits/s speed=  42x    
frame= 5058 fps=1011 q=-1.0 size=  578816kB time=00:03:30.97 bitrate=22475.4kbits/s speed=42.2x    
frame= 5594 fps=1017 q=-1.0 size=  635904kB time=00:03:53.33 bitrate=22325.2kbits/s speed=42.4x    
frame= 5974 fps=996 q=-1.0 size=  679680kB time=00:04:09.17 bitrate=22345.2kbits/s speed=41.5x    

Transcoding is paused. Press [u] to resume.


[q] command received. Exiting.

frame= 6147 fps=975 q=-1.0 Lsize=  698167kB time=00:04:16.34 bitrate=22311.1kbits/s speed=40.7x    
video:661648kB audio:20030kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.418830%

FFmpeg logs

ffmpeg started on 2023-10-01 at 01:47:03
Report written to "ffmpeg-20231001-014703.log"
Log level: 48
ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12-win32 (GCC)
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Please attach any browser or client logs here

Alexandros C., [10/1/2023 1:55 AM]
/videos/93d8db35-b3a7-48bc-2e44-c92bb8dcf9eb/stream.ts

{"Protocol":0,"Id":"93d8db35b3a748bc2e44c92bb8dcf9eb","Path":"D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022) Bluray-1080p.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":24954531503,"Name":"Top Gun Maverick (2022) Bluray-1080p","IsRemote":false,"ETag":"c222807e2ca60503b968b7d66126a72d","RunTimeTicks":78211470000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"subrip","CodecTag":null,"Language":"gre","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"Gre - \u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF - SUBRIP - \u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":true,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022) Bluray-1080p.gre.forced.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF - SUBRIP - \u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022)

Alexandros C., [10/1/2023 1:55 AM]
Bluray-1080p.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":25525188,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1020,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"32:17","Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":null},{"Codec":"truehd","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - TRUEHD - 7.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"7.1","BitRate":4303511,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"spa","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":nu

Alexandros C., [10/1/2023 1:55 AM]
l,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"\u0391\u03C0\u03C1\u03BF\u03C3\u03B4\u03B9\u03CC\u03C1\u03B9\u03C3\u03C4\u03BF","LocalizedDefault":"\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE","LocalizedForced":"\u0395\u03BE\u03B1\u03BD\u03B1\u03B3\u03BA\u03B1\u03C3\u03BC\u03AD\u03BD\u03BF","LocalizedExternal":"\u0395\u03BE\u03C9\u03C4\u03B5\u03C1\u03B9\u03BA\u03CC","DisplayTitle":"Spanish - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":29828699,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

C:\Users\alexh\OneDrive\Έγγραφα\jellyfin-ffmpeg_6.0-6\ffmpeg.exe -analyzeduration 200M -fflags +genpts -i file:"D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022) Bluray-1080p.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -y "C:\ProgramData\Jellyfin\Server\transcodes\88a2a186db24d06342fbfa8ddef6c94e.ts"

ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12-win32 (GCC)
configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, matroska,webm, from 'file:D:\Downloads\Videos\Movies\Top Gun Maverick (2022)\Top Gun Maverick (2022) Bluray-1080p.mkv':
Metadata:
encoder : libebml v1.3.5 + libmatroska v1.4.8
creation_time : 2022-10-18T20:27:26.000000Z
Duration: 02:10:21.15, start: 0.000000, bitrate: 25525 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 185.226000
Metadata:
title : Chapter 01
Chapter #0:1: start 185.226000, end 820.110000
Metadata:
title : Chapter 02
Chapter #0:2: start 820.110000, end 1282.948000
Metadata:
title : Chapter 03
Chapter #0:3: start 1282.948000, end 1959.415000

Alexandros C., [10/1/2023 1:55 AM]
Metadata:
title : Chapter 04
Chapter #0:4: start 1959.415000, end 2687.518000
Metadata:
title : Chapter 05
Chapter #0:5: start 2687.518000, end 3234.940000
Metadata:
title : Chapter 06
Chapter #0:6: start 3234.940000, end 3609.606000
Metadata:
title : Chapter 07
Chapter #0:7: start 3609.606000, end 4059.305000
Metadata:
title : Chapter 08
Chapter #0:8: start 4059.305000, end 4546.166000
Metadata:
title : Chapter 09
Chapter #0:9: start 4546.166000, end 5017.721000
Metadata:
title : Chapter 10
Chapter #0:10: start 5017.721000, end 5509.128000
Metadata:
title : Chapter 11
Chapter #0:11: start 5509.128000, end 6092.628000
Metadata:
title : Chapter 12
Chapter #0:12: start 6092.628000, end 6528.063000
Metadata:
title : Chapter 13
Chapter #0:13: start 6528.063000, end 7042.410000
Metadata:
title : Chapter 14
Chapter #0:14: start 7042.410000, end 7393.135000
Metadata:
title : Chapter 15
Chapter #0:15: start 7393.135000, end 7821.147000
Metadata:
title : Chapter 16
Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1020 [SAR 1:1 DAR 32:17], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS : 21156148
BPS-eng : 21156148
DURATION : 02:10:21.147000000
DURATION-eng : 02:10:21.147000000
NUMBER_OF_FRAMES: 187520
NUMBER_OF_FRAMES-eng: 187520
NUMBER_OF_BYTES : 20683168690
NUMBER_OF_BYTES-eng: 20683168690
_STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
_STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
BPS : 4303511
BPS-eng : 4303511
DURATION : 02:10:14.516000000
DURATION-eng : 02:10:14.516000000
NUMBER_OF_FRAMES: 9377419
NUMBER_OF_FRAMES-eng: 9377419
NUMBER_OF_BYTES : 4203732812
NUMBER_OF_BYTES-eng: 4203732812
_STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
_STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip
Metadata:
BPS : 54
BPS-eng : 54
DURATION : 01:57:13.400000000
DURATION-eng : 01:57:13.400000000
NUMBER_OF_FRAMES: 1476
NUMBER_OF_FRAMES-eng: 1476
NUMBER_OF_BYTES : 47476
NUMBER_OF_BYTES-eng: 47476
_STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
_STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(spa): Subtitle: subrip
Metadata:
BPS : 63
BPS-eng : 63

Alexandros C., [10/1/2023 1:55 AM]
DURATION : 02:02:30.239000000
DURATION-eng : 02:02:30.239000000
NUMBER_OF_FRAMES: 1608
NUMBER_OF_FRAMES-eng: 1608
NUMBER_OF_BYTES : 58264
NUMBER_OF_BYTES-eng: 58264
_STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
_STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to 'C:\ProgramData\Jellyfin\Server\transcodes\88a2a186db24d06342fbfa8ddef6c94e.ts':
Metadata:
encoder : Lavf60.3.100
Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1020 [SAR 1:1 DAR 32:17], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn (default)
Metadata:
BPS : 21156148
BPS-eng : 21156148
DURATION : 02:10:21.147000000
DURATION-eng : 02:10:21.147000000
NUMBER_OF_FRAMES: 187520
NUMBER_OF_FRAMES-eng: 187520
NUMBER_OF_BYTES : 20683168690
NUMBER_OF_BYTES-eng: 20683168690
_STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
_STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
BPS : 4303511
BPS-eng : 4303511
DURATION : 02:10:14.516000000
DURATION-eng : 02:10:14.516000000
NUMBER_OF_FRAMES: 9377419
NUMBER_OF_FRAMES-eng: 9377419
NUMBER_OF_BYTES : 4203732812
NUMBER_OF_BYTES-eng: 4203732812
_STATISTICS_WRITING_APP: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-18 20:27:26
_STATISTICS_WRITING_DATE_UTC-eng: 2022-10-18 20:27:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc60.3.100 ac3
frame= 0 fps=0.0 q=-1.0 size= 0kB time=-00:00:00.04 bitrate= -0.0kbits/s speed=N/A
frame= 494 fps=0.0 q=-1.0 size= 58880kB time=00:00:20.57 bitrate=23448.2kbits/s speed=41.1x
frame= 1047 fps=1046 q=-1.0 size= 69888kB time=00:00:43.64 bitrate=13118.4kbits/s speed=43.6x
frame= 1589 fps=1059 q=-1.0 size= 87040kB time=00:01:06.26 bitrate=10760.0kbits/s speed=44.2x
frame= 2080 fps=1040 q=-1.0 size= 156672kB time=00:01:26.71 bitrate=14800.9kbits/s speed=43.3x
frame= 2574 fps=1029 q=-1.0 size= 236800kB time=00:01:47.35 bitrate=18069.7kbits/s speed=42.9x
frame= 3062 fps=1020 q=-1.0 size= 312832kB time=00:02:07.64 bitrate=20077.3kbits/s speed=42.5x
frame= 3550 fps=1014 q=-1.0 size= 389888kB time=00:02:27.99 bitrate=21581.6kbits/s speed=42.3x
frame= 4037 fps=1009 q=-1.0 size= 462848kB time=00:02:48.34 bitrate=22522.9kbits/s speed=42.1x
frame= 4548 fps=1011 q=-1.0 size= 526848kB time=00:03:09.69 bitrate=22752.5kbits/s speed=42.1x
frame= 5090 fps=1018 q=-1.0 size= 581888kB time=00:03:32.25 bitrate=22458.5kbits/s speed=42.4x
frame= 5625 fps=1023 q=-1.0 size= 639232kB time=00:03:54.68 bitrate=22313.5kbits/s speed=42.7x
frame= 6150 fps=1025 q=-1.0 size= 698368kB time=00:04:16.46 bitrate=22307.3kbits/s speed=42.7x

Transcoding is paused. Press [u] to resume.

[q] command received. Exiting.

Alexandros C., [10/1/2023 1:55 AM]
frame= 6307 fps=1000 q=-1.0 Lsize= 719827kB time=00:04:22.97 bitrate=22423.9kbits/s speed=41.7x
video:682287kB audio:20548kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.417762%

Please attach any screenshots here

photo_2023-10-01_01-49-43
Screenshot_1

Code of Conduct

  • I agree to follow this project's Code of Conduct

Media playback issue on upnp/dlna renderer

Good morning all..
I have an audio amplifier connected (Harman Kardon AVR265), when I am on Jellyfin I can play my music directly on my amp.
On the other hand my amp can only read MP3 or WMA, I also managed to stream my music with SWYH-RS ( https://github.com/dheijl/swyh-rs ) in LPCM WAV format.
My problem is that Jellyfin transcodes some songs (* .ogg, * .mpc, ...) in FLAC format (my amp cannot read this format) I try to edit a specific profile for my amp but it doesn't work no, how do you specify which transcoding to use ..?
Another small problem, but quite unpleasant, when I start "instant mix", at the end of each song I again have the beginning of the song which starts again (for a few seconds) and then switch to the next song. It's strange because at this moment, the time bar only displays Naan: Naan
Capture d’écran (23)
Capture d’écran (25)
Capture d’écran (27)
On some songs I get stuck at the end of reading on Naan: Naan and I have to restart another song, I cannot simply start the next song by clicking on "next" ...
Maybe it would be easier to use a method similar to SWYH-RS, my server reads the files and only streams in one audio format .. well I don't know too much ..
Thank you again for this great app, hoping for a more functional upnp / dlna integration, I also come back to the web-radio integration (this will allow me to stream web radio in my amplifier ..)
Have a good day..

Support search functionality in DLNA browser

Music DLNA browser screen offers many groupings (newest, playlists, albums, songs, favourite artists, etc.) but if you have more than 40-50 different songs you will need the search functionality. More if you have more than 1000+ songs.

Please, add a new section for searching inside the Jellyfin music (and perhaps movies) database.

DLNA browser is many times a must for built-in devices (e.g. an AV receiver with its own smartphone app), therefore this interface cannot be substituted by the Web UI (e.g. Jellyfin app).

A similar thread I found: https://news.ycombinator.com/item?id=30923571

DLNA Play On remote is broken for Bose Soundtouch 300

I'm able to play to my Bose Soundtouch 300 sound bar. However, the remote screen is blank and doesn't show the play status. There's no way to control once the music stats casting. I can't pause, go to the next track, etc.

I can control the volume on Soundtouch though.

Setup: linuxserver jellyfin docker image, running on Synology.

Screenshots below.
7939729A-577E-49AA-B028-34FEFC70439C
9830D10A-C002-4169-B7C7-5D930B584F15

Information from logs:
Pastebin link with better formatting - https://pastebin.com/igTEJTyB
Log copy below for reference, in case there's an issue with above pastern link.

[2023-03-24 14:01:23.972 +00:00] [INF] [22] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used. DeviceIdentification { FriendlyName: "Bedroom", ModelNumber: "", SerialNumber: "38D269A727FF", ModelName: "SoundTouch 10", ModelDescription: "Bose SoundTouch Wireless Streaming Audio Device", ModelUrl: "http://www.bose.com", Manufacturer: "Bose Corporation", ManufacturerUrl: "http://www.bose.com", Headers: [] } [2023-03-24 14:01:24.363 +00:00] [ERR] [33] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/63fdeabce4dd930090b16412e29fb873/Playing". System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken) at Emby.Dlna.PlayTo.Device.SetNextAvTransport(String url, String header, String metaData, CancellationToken cancellationToken) at Emby.Dlna.PlayTo.PlayToController.SendNextTrackMessage(Int32 currentPlayListItemIndex, CancellationToken cancellationToken) at Emby.Dlna.PlayTo.PlayToController.SetPlaylistIndex(Int32 index, CancellationToken cancellationToken) at Emby.Dlna.PlayTo.PlayToController.PlayItems(IEnumerable1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, SessionMessageType name, T data, CancellationToken cancellationToken)
at Emby.Server.Implementations.Session.SessionManager.SendPlayCommand(String controllingSessionId, String sessionId, PlayRequest command, CancellationToken cancellationToken)
at Jellyfin.Api.Controllers.SessionController.Play(String sessionId, PlayCommand playCommand, Guid[] itemIds, Nullable1 startPositionTicks, String mediaSourceId, Nullable1 audioStreamIndex, Nullable1 subtitleStreamIndex, Nullable1 startIndex)
at lambda_method1036(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) [2023-03-24 14:01:24.399 +00:00] [WRN] [33] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://athena.local:8096/Sessions/63fdeabce4dd930090b16412e29fb873/Playing?ItemIds=5ea0e733dd3db589fce68a704353a50b&PlayCommand=PlayNow" to "192.168.1.7" in 0:00:00.7563751 with Status Code 500 [2023-03-24 14:01:24.704 +00:00] [ERR] [20] Emby.Dlna.Main.DlnaEntryPoint: Uncaught exception while parsing xml System.InvalidOperationException: Sequence contains no elements at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.First[TSource](IEnumerable1 source)
at Emby.Dlna.PlayTo.Device.ParseResponse(String xml)
at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken)
[2023-03-24 14:01:24.709 +00:00] [ERR] [20] Emby.Dlna.Main.DlnaEntryPoint: Failed to parse xml:
"<res duration="00:08:25.3235200" size="60821136" nrAudioChannels="2" sampleFrequency="44100" bitrate="962886" protocolInfo="http-get::audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000">http://192.168.1.203:8096/audio/efb3d2c1-755c-2353-d390-8cdd119466b6/stream.flac?DeviceProfileId=34cf7511877745b2b91ecbeef97550c4&amp;amp;DeviceId=BO5EBO5E-F00D-F00D-FEED-38D269A727FF&amp;amp;MediaSourceId=efb3d2c1755c2353d3908cdd119466b6&amp;amp;Static=true&amp;amp;Tag=a6846b24fcc47e2fa1b364d1ef16f31e&amp;amp;dlnaheaders=true&lt;/res>"
[2023-03-24 14:01:34.812 +00:00] [ERR] [22] Emby.Dlna.Main.DlnaEntryPoint: Uncaught exception while parsing xml
System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at Emby.Dlna.PlayTo.Device.ParseResponse(String xml) at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken) [2023-03-24 14:01:34.814 +00:00] [ERR] [22] Emby.Dlna.Main.DlnaEntryPoint: Failed to parse xml: "&lt;res duration=&quot;00:08:25.3235200&quot; size=&quot;60821136&quot; nrAudioChannels=&quot;2&quot; sampleFrequency=&quot;44100&quot; bitrate=&quot;962886&quot; protocolInfo=&quot;http-get:*:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000&quot;&gt;http://192.168.1.203:8096/audio/efb3d2c1-755c-2353-d390-8cdd119466b6/stream.flac?DeviceProfileId=34cf7511877745b2b91ecbeef97550c4&amp;amp;DeviceId=BO5EBO5E-F00D-F00D-FEED-38D269A727FF&amp;amp;MediaSourceId=efb3d2c1755c2353d3908cdd119466b6&amp;amp;Static=true&amp;amp;Tag=a6846b24fcc47e2fa1b364d1ef16f31e&amp;amp;dlnaheaders=true&lt;/res&gt;" [2023-03-24 14:01:44.871 +00:00] [ERR] [33] Emby.Dlna.Main.DlnaEntryPoint: Uncaught exception while parsing xml System.InvalidOperationException: Sequence contains no elements at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.First[TSource](IEnumerable1 source)
at Emby.Dlna.PlayTo.Device.ParseResponse(String xml)
at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken)
[2023-03-24 14:01:44.872 +00:00] [ERR] [33] Emby.Dlna.Main.DlnaEntryPoint: Failed to parse xml:
"<res duration="00:08:25.3235200" size="60821136" nrAudioChannels="2" sampleFrequency="44100" bitrate="962886" protocolInfo="http-get:
:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000">http://192.168.1.203:8096/audio/efb3d2c1-755c-2353-d390-8cdd119466b6/stream.flac?DeviceProfileId=34cf7511877745b2b91ecbeef97550c4&amp;amp;DeviceId=BO5EBO5E-F00D-F00D-FEED-38D269A727FF&amp;amp;MediaSourceId=efb3d2c1755c2353d3908cdd119466b6&amp;amp;Static=true&amp;amp;Tag=a6846b24fcc47e2fa1b364d1ef16f31e&amp;amp;dlnaheaders=true&lt;/res>"
[2023-03-24 14:01:54.950 +00:00] [ERR] [51] Emby.Dlna.Main.DlnaEntryPoint: Uncaught exception while parsing xml
System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at Emby.Dlna.PlayTo.Device.ParseResponse(String xml) at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken) [2023-03-24 14:01:54.956 +00:00] [ERR] [51] Emby.Dlna.Main.DlnaEntryPoint: Failed to parse xml: "&lt;res duration=&quot;00:08:25.3235200&quot; size=&quot;60821136&quot; nrAudioChannels=&quot;2&quot; sampleFrequency=&quot;44100&quot; bitrate=&quot;962886&quot; protocolInfo=&quot;http-get:*:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000&quot;&gt;http://192.168.1.203:8096/audio/efb3d2c1-755c-2353-d390-8cdd119466b6/stream.flac?DeviceProfileId=34cf7511877745b2b91ecbeef97550c4&amp;amp;DeviceId=BO5EBO5E-F00D-F00D-FEED-38D269A727FF&amp;amp;MediaSourceId=efb3d2c1755c2353d3908cdd119466b6&amp;amp;Static=true&amp;amp;Tag=a6846b24fcc47e2fa1b364d1ef16f31e&amp;amp;dlnaheaders=true&lt;/res&gt;" ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������AC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000&quot;&gt;http://192.168.1.203:8096/audio/efb3d2c1-755c-2353-d390-8cdd119466b6/stream.flac?DeviceProfileId=34cf7511877745b2b91ecbeef97550c4&amp;amp;DeviceId=BO5EBO5E-F00D-F00D-FEED-38D269A727FF&amp;amp;MediaSourceId=efb3d2c1755c2353d3908cdd119466b6&amp;amp;Static=true&amp;amp;Tag=a6846b24fcc47e2fa1b364d1ef16f31e&amp;amp;dlnaheaders=true&lt;/res&gt;" [2023-03-24 14:02:25.137 +00:00] [ERR] [51] Emby.Dlna.Main.DlnaEntryPoint: Uncaught exception while parsing xml System.InvalidOperationException: Sequence contains no elements at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.First[TSource](IEnumerable1 source)
at Emby.Dlna.PlayTo.Device.ParseResponse(String xml)
at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken)
[2023-03-24 14:02:25.140 +00:00] [ERR] [51] Emby.Dlna.Main.DlnaEntryPoint: Failed to parse xml:
"<res duration="00:08:25.3235200" size="60821136" nrAudioChannels="2" sampleFrequency="44100" bitrate="962886" protocolInfo="http-get:*:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000">http://192.168.1.203:8096/audio/efb3d2c1-755c-2353-d390-8cdd119466b6/stream.flac?DeviceProfileId=34cf7511877745b2b91ecbeef97550c4&amp;amp;DeviceId=BO5EBO5E-F00D-F00D-FEED-38D269A727FF&amp;amp;MediaSourceId=efb3d2c1755c2353d3908cdd119466b6&amp;amp;Static=true&amp;amp;Tag=a6846b24fcc47e2fa1b364d1ef16f31e&amp;amp;dlnaheaders=true&lt;/res>"
`

LG OLED C9 (2019) - File works via USB playback but not via DLNA playback

Hi Community,

I am currently facing following issue. I am trying to run my jellyfin libary to be played by my LG TV to 100% direct play via DLNA. I set up a DLNA profile for my TV to force to always force directplay. Everytime the TV says it cannot play the file, I test if it is possible to play it via USB to see if the TV cannot handle the transcode or codec. And this time I have a file which can be played via the USB but if I try to play it via the Jellyfin DLNA, I receive the message "file cannot be recognized". I thought that it might causes issue that the source file has the special character ½ in the name, so I tried on a different DLNA Server the name with a simpler path and filename, but I receive the same error message.

Is it possible that the USB direct player and the DLNA player behave differently? Should I just invest in a better media player box? What would you recommend if I just need a simple 4K DLNA player?

Thank you for your time and I appreciate any help.

Media Info of the file
Media Info from File which cannot be played

General
Unique ID                                : 287567215230585557502879446451783495393 (0xD8576E5B7FBC1C694DCB0F4226C06EE1)
Complete name                            : C:\Users\Andi\Videos\Ranma ½ (1989) - S01E01 - Heres Ranma [Bluray-1080p][FLAC 2.0][x265]-Refha.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.56 GiB
Duration                                 : 23 min 48 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 9 382 kb/s
Frame rate                               : 23.976 FPS
Writing application                      : mkvmerge v35.0.0 ('All The Love In The World') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Attachments                              : 123Marker.ttf / Alberta.ttf / AOTFJunPro201Nyarlko.ttf / Arial.ttf / ArialB.ttf / ArialBI.ttf / ArialI.ttf / ArialNarrow.ttf / ArialRoundedMTB.ttf / BenguiatGothicCTT.ttf / Betina.ttf / BlambotProLite.ttf / BookAntiqua.ttf / BookAntiquaB.ttf / BookAntiquaBI.ttf / BookAntiquaI.ttf / Brook23.ttf / BurstMyBubble.ttf / Calibri.ttf / CalibriB.ttf / CalibriBI.ttf / CalibriI.ttf / CenturyGothic.ttf / CenturyGothicB.ttf / CenturyGothicBI.ttf / CenturyGothicI.ttf / Chinacat.ttf / ClubTypeMercuriusM.ttf / ComicSansMS.ttf / ComicSansMSB.ttf / ComicSansMSBI.ttf / ComicSansMSI.ttf / CronosProBold.otf / DFPMaruGothicW6Kami.ttf / DotNess.ttf / Dupree.ttf / Formal436BT.ttf / HanodedHeavy.ttf / HelveticaLTStdR.otf / HelveticaRoundedLTStdBC.otf / HelveticaWorldB.ttf / JustTheWayYouAre.ttf / KGSecondChancesSolid.ttf / LinotypeFinneganM.ttf / LydianBT.ttf / LydianBTB.ttf / LydianBTBI.ttf / LydianBTI.ttf / Mikachan.ttf / MoonMod.ttf / MyFairCody.otf / MyriadProC.otf / ThrowMyHandsUpInTheAir.ttf / TrebuchetMS.ttf / TrebuchetMSB.ttf / TrebuchetMSBI.ttf / TrebuchetMSI.ttf / Verdana.ttf / VerdanaB.ttf / VerdanaBI.ttf / VerdanaI.ttf / WaitingForTheSunrise.ttf / WrittenInTheStars.ttf / YellowjacketRotate.ttf

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 23 min 47 s
Bit rate                                 : 7 797 kb/s
Width                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.209
Stream size                              : 1.30 GiB (83%)
Title                                    : Moozzi2
Writing library                          : x265 1.8+2-55a4a9b920ff:[Windows][GCC 5.2.0][64 bit] 8bit+10bit+12bit
Encoding settings                        : wpp / ctu=32 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=4 / merange=25 / no-rect / no-amp / max-merge=4 / temporal-mvp / no-early-skip / rdpenalty=2 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=480 / min-keyint=1 / scenecut=40 / rc-lookahead=40 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=4 / limit-refs=0 / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.80 / rdoq-level=0 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=crf / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Audio jellyfin/jellyfin#1
ID                                       : 2
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Codec ID                                 : A_FLAC
Duration                                 : 23 min 47 s
Bit rate mode                            : Variable
Bit rate                                 : 440 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 11.720 FPS (4096 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 74.9 MiB (5%)
Title                                    : [jpn] Moozzi2
Writing library                          : libFLAC 1.3.1 (2014-11-25)
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No
MD5 of the unencoded content             : 43857A4597FB9BC92398DD839217789E

Audio jellyfin/jellyfin#2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 23 min 47 s
Bit rate                                 : 157 kb/s
Channel(s)                               : 1 channel
Channel layout                           : M
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 26.8 MiB (2%)
Title                                    : [cat] Animelliure
Language                                 : Catalan
Default                                  : No
Forced                                   : No

Audio jellyfin/jellyfin#3
ID                                       : 4
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 23 min 28 s
Bit rate                                 : 221 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 37.2 MiB (2%)
Title                                    : [eng] DorianHD
Language                                 : English
Default                                  : No
Forced                                   : No

Audio jellyfin/jellyfin#4
ID                                       : 5
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 23 min 47 s
Bit rate mode                            : Constant
Bit rate                                 : 192 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
Stream size                              : 32.7 MiB (2%)
Title                                    : [lat] Team Kurosaki
Language                                 : Latin
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio jellyfin/jellyfin#5
ID                                       : 6
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 23 min 27 s
Bit rate mode                            : Constant
Bit rate                                 : 192 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
Stream size                              : 32.2 MiB (2%)
Title                                    : [rus] TF-AniGroup
Language                                 : Russian
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio jellyfin/jellyfin#6
ID                                       : 7
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 23 min 47 s
Bit rate                                 : 157 kb/s
Channel(s)                               : 1 channel
Channel layout                           : M
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 26.8 MiB (2%)
Title                                    : [spa] Animelliure [1993-95]
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Audio jellyfin/jellyfin#7
ID                                       : 8
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 23 min 47 s
Bit rate                                 : 126 kb/s
Channel(s)                               : 1 channel
Channel layout                           : M
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 21.4 MiB (1%)
Title                                    : [spa] Animelliure [2005-09]
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#1
ID                                       : 9
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 19 min 49 s
Bit rate                                 : 123 b/s
Frame rate                               : 0.213 FPS
Count of elements                        : 253
Compression mode                         : Lossless
Stream size                              : 17.9 KiB (0%)
Title                                    : [ara] كرشرول
Language                                 : Arabic
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#2
ID                                       : 10
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 42 s
Bit rate                                 : 16 b/s
Frame rate                               : 0.033 FPS
Count of elements                        : 47
Compression mode                         : Lossless
Stream size                              : 2.92 KiB (0%)
Title                                    : [cat] Animelliure [Forçat]
Language                                 : Catalan
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#3
ID                                       : 11
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 14 s
Bit rate                                 : 109 b/s
Frame rate                               : 0.202 FPS
Count of elements                        : 281
Compression mode                         : Lossless
Stream size                              : 18.7 KiB (0%)
Title                                    : [chi] Cornflower Studio [GB]
Language                                 : Chinese
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#4
ID                                       : 12
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 14 s
Bit rate                                 : 109 b/s
Frame rate                               : 0.202 FPS
Count of elements                        : 281
Compression mode                         : Lossless
Stream size                              : 18.7 KiB (0%)
Title                                    : [chi] Cornflower Studio [BIG5]
Language                                 : Chinese
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#5
ID                                       : 13
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 14 s
Bit rate                                 : 134 b/s
Frame rate                               : 0.253 FPS
Count of elements                        : 353
Compression mode                         : Lossless
Stream size                              : 23.0 KiB (0%)
Title                                    : [eng] Doki/grimf/der richter/Refha
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text jellyfin/jellyfin#6
ID                                       : 14
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 14 s
Bit rate                                 : 92 b/s
Frame rate                               : 0.205 FPS
Count of elements                        : 286
Compression mode                         : Lossless
Stream size                              : 15.7 KiB (0%)
Title                                    : [fre] SoH/Refha
Language                                 : French
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#7
ID                                       : 15
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 23 min 15 s
Bit rate                                 : 92 b/s
Frame rate                               : 0.224 FPS
Count of elements                        : 313
Stream size                              : 15.7 KiB (0%)
Title                                    : [kor] 익명
Language                                 : Korean
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#8
ID                                       : 16
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 44 s
Bit rate                                 : 124 b/s
Frame rate                               : 0.217 FPS
Count of elements                        : 309
Compression mode                         : Lossless
Stream size                              : 21.6 KiB (0%)
Title                                    : [rus] G-Host/Cheb/Mike/Warlock/Ta-kun
Language                                 : Russian
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#9
ID                                       : 17
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 23 min 41 s
Bit rate                                 : 107 b/s
Frame rate                               : 0.225 FPS
Count of elements                        : 320
Compression mode                         : Lossless
Stream size                              : 18.6 KiB (0%)
Title                                    : [spa] Animelliure
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#10
ID                                       : 18
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 21 min 47 s
Bit rate                                 : 6 b/s
Frame rate                               : 0.014 FPS
Count of elements                        : 18
Compression mode                         : Lossless
Stream size                              : 1.11 KiB (0%)
Title                                    : [spa] Animelliure [Forzado]
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Opening
00:01:31.091                             : en:Part A
00:12:41.761                             : en:Part B
00:21:57.316                             : en:Ending
00:23:27.427                             : en:Next

Media Info from a file which is working

General
Unique ID                                : 307503793224403262110876686738972332757 (0xE757138AE90D739373EC627B2F75D2D5)
Complete name                            : C:\Users\Andi\Videos\Rick and Morty (2013) - S06E01 - Solaricks [Bluray-1080p][DTS-HD MA 5.1][x265].mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 795 MiB
Duration                                 : 22 min 29 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 938 kb/s
Frame rate                               : 23.976 FPS
Encoded date                             : 2023-04-02 06:27:58 UTC
Writing application                      : mkvmerge v19.0.0 ('Brave Captain') 64-bit
Writing library                          : libebml v1.3.5 + libmatroska v1.4.8 / Lavf58.45.100

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 22 min 29 s
Bit rate                                 : 1 880 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.038
Stream size                              : 302 MiB (38%)
Title                                    : Encoded by Goki for TAoE using Choryu V16bw
Writing library                          : x265 3.4:[Linux][GCC 7.5.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=3 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=4 / scenecut=40 / hist-scenecut=0 / 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=3 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / selective-sao=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=1.30 / psy-rdoq=2.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=4 / aq-strength=1.10 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / 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 / no-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 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited

Audio jellyfin/jellyfin#1
ID                                       : 2
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 22 min 29 s
Bit rate mode                            : Variable
Bit rate                                 : 2 320 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                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 373 MiB (47%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio jellyfin/jellyfin#2
ID                                       : 9
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 22 min 29 s
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                              : 103 MiB (13%)
Writing library                          : Lavc58.91.100 ac3
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#1
ID                                       : 3
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 22 min 12 s
Bit rate                                 : 55.3 kb/s
Frame rate                               : 0.611 FPS
Count of elements                        : 814
Stream size                              : 8.78 MiB (1%)
Title                                    : English PGS SDH
Language                                 : English
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#2
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 22 min 12 s
Bit rate                                 : 100 b/s
Frame rate                               : 0.286 FPS
Count of elements                        : 381
Stream size                              : 16.4 KiB (0%)
Title                                    : English Text
Language                                 : English
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#3
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 22 min 12 s
Bit rate                                 : 104 b/s
Frame rate                               : 0.305 FPS
Count of elements                        : 407
Stream size                              : 17.0 KiB (0%)
Title                                    : English Text SDH
Language                                 : English
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#4
ID                                       : 6
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 22 min 19 s
Bit rate                                 : 47.7 kb/s
Frame rate                               : 0.659 FPS
Count of elements                        : 882
Stream size                              : 7.61 MiB (1%)
Title                                    : français PGS
Language                                 : French
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#5
ID                                       : 7
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 22 min 19 s
Bit rate                                 : 63.9 kb/s
Frame rate                               : 0.643 FPS
Count of elements                        : 862
Stream size                              : 10.2 MiB (1%)
Title                                    : Deutsch PGS
Language                                 : German
Default                                  : No
Forced                                   : No

Text jellyfin/jellyfin#6
ID                                       : 8
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 22 min 19 s
Bit rate                                 : 46.2 kb/s
Frame rate                               : 0.511 FPS
Count of elements                        : 684
Stream size                              : 7.38 MiB (1%)
Title                                    : Nederlands PGS
Language                                 : Dutch
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : Chapter 01
00:02:20.265                             : Chapter 02
00:11:46.288                             : Chapter 03
00:20:55.796                             : Chapter 04
00:21:27.577                             : Chapter 05
00:22:28.722                             : Chapter 06

Logs
jellyfin_dlna_log.txt

DLNA Profile

<?xml version="1.0" encoding="utf-8"?>
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>LGOLED</Name>
  <Identification>
    <FriendlyName>LG.*</FriendlyName>
    <ModelNumber />
    <SerialNumber />
    <ModelName />
    <ModelDescription />
    <ModelUrl />
    <Manufacturer />
    <ManufacturerUrl />
    <Headers>
      <HttpHeaderInfo name="User-Agent" value="LG" match="Substring" />
    </Headers>
  </Identification>
  <FriendlyName />
  <Manufacturer>Jellyfin</Manufacturer>
  <ManufacturerUrl>https://github.com/jellyfin/jellyfin</ManufacturerUrl>
  <ModelName>Jellyfin Server</ModelName>
  <ModelNumber>01</ModelNumber>
  <ModelUrl>https://github.com/jellyfin/jellyfin</ModelUrl>
  <SerialNumber />
  <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
  <UserId>0afed0e3408145fbb50fcbb0d811325c</UserId>
  <AlbumArtPn>JPEG_SM</AlbumArtPn>
  <MaxAlbumArtWidth>480</MaxAlbumArtWidth>
  <MaxAlbumArtHeight>480</MaxAlbumArtHeight>
  <MaxIconWidth>48</MaxIconWidth>
  <MaxIconHeight>48</MaxIconHeight>
  <MaxStreamingBitrate>140000000</MaxStreamingBitrate>
  <MaxStaticBitrate>140000000</MaxStaticBitrate>
  <MusicStreamingTranscodingBitrate>192000</MusicStreamingTranscodingBitrate>
  <MaxStaticMusicBitrate>8000000</MaxStaticMusicBitrate>
  <SonyAggregationFlags />
  <ProtocolInfo>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:*</ProtocolInfo>
  <XmlRootAttributes />
  <DirectPlayProfiles>
    <DirectPlayProfile container="" type="Video" />
    <DirectPlayProfile container="" type="Audio" />
  </DirectPlayProfiles>
  <TranscodingProfiles />
  <ContainerProfiles />
  <CodecProfiles />
  <ResponseProfiles>
    <ResponseProfile container="m4v" type="Video" mimeType="video/mp4">
      <Conditions />
    </ResponseProfile>
  </ResponseProfiles>
  <SubtitleProfiles>
    <SubtitleProfile format="srt" method="External" />
    <SubtitleProfile format="sub" method="External" />
    <SubtitleProfile format="srt" method="Embed" />
    <SubtitleProfile format="ass" method="Embed" />
    <SubtitleProfile format="ssa" method="Embed" />
    <SubtitleProfile format="smi" method="Embed" />
    <SubtitleProfile format="dvdsub" method="Embed" />
    <SubtitleProfile format="pgs" method="Embed" />
    <SubtitleProfile format="pgssub" method="Embed" />
    <SubtitleProfile format="sub" method="Embed" />
    <SubtitleProfile format="subrip" method="Embed" />
    <SubtitleProfile format="vtt" method="Embed" />
    <SubtitleProfile format="UTF-8" method="Embed" didlMode="" />
  </SubtitleProfiles>
</Profile>

Server System (please complete the following information):

  • OS: UnRaid Linux Docker Container
  • Jellyfin Version: 10.8.10
  • Hardware settings & device: Lenovo TS140

Client System (please complete the following information):

  • Device: LG OLED55C97LA
  • OS: WebOS 05.30.40
  • Client: internal DLNA Player

DLNA: Jellyfin fails to cast to Denon Heos device

Describe the bug
In Jellyfin, if I go to the "Cast" button I can see my Denon Heos device. If I select it the UI does appear to connect to the device (shows as selected in the top bar, and if I click the Cast button again see the alternative dialog with "Disconnect" option). However, if I attempt to play a song nothing happens.

System (please complete the following information):

  • OS: Ubuntu 20.04.2 LTS
  • Virtualization: N/A
  • Clients: Tested in browser and Jellyfin Media Player app
  • Browser: Latest Firefox / Chrome
  • Jellyfin Version: 10.7.5
  • Playback: Appears to apply to any song I attempt to play regardless of format, when casting via DLNA
  • Installed Plugins: AudioDB, Fanart, Kodi Sync Queue, Last.fm, MusicBrainz, OMBd, Open Subtitles, Playback Reporting, TVmaze, TheTVDB, Trakt
  • Reverse Proxy: Apache
  • Base URL: /
  • Networking: Local network
  • Storage: Local

To Reproduce

  1. Go to "Cast" icon
  2. Select Denon HEOS DLNA output
  3. Try to play a song
  4. Nothing happens (no song appears to play at all in interface, and obviously no audio output)

Expected behavior
Song successfully plays in Jellyfin, casting to DLNA (Denon Heos) device

Server Logs

[2021-08-11 13:24:44.552 +00:00] [INF] [126] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB
[2021-08-11 13:24:44.556 +00:00] [INF] [126] Trakt.ServerMediator: Playback Stopped
[2021-08-11 13:24:44.647 +00:00] [INF] [26] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
FriendlyName:Heos Bedroom
Manufacturer:Denon
ManufacturerUrl:http://www.denon.com
ModelDescription:
ModelName:HEOS 5
ModelNumber:DWS-5000 3.0
ModelUrl:
SerialNumber:NOT CONFIGURED

[2021-08-11 13:24:44.647 +00:00] [INF] [26] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
FriendlyName:Heos Bedroom
Manufacturer:Denon
ManufacturerUrl:http://www.denon.com
ModelDescription:
ModelName:HEOS 5
ModelNumber:DWS-5000 3.0
ModelUrl:
SerialNumber:NOT CONFIGURED

[2021-08-11 13:24:44.647 +00:00] [INF] [26] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
FriendlyName:Heos Bedroom
Manufacturer:Denon
ManufacturerUrl:http://www.denon.com
ModelDescription:
ModelName:HEOS 5
ModelNumber:DWS-5000 3.0
ModelUrl:
SerialNumber:NOT CONFIGURED

(above block just repeats in log)

Screenshots
image

image

Additional context
I've copied everything I could see relevant from the server logs, but if there's anything else helpful I can provide to debug this please just let me know.

Note I've also checked the Denon Heos device itself is running latest firmware (as of 11 Aug 2021)

[Issue]: DLNA server chooses not to transcode even though AudioCodecNotSupported

Please describe your bug

When playing (DLNA) unsupported audio formats (ones not specified in the active profile), Jellyfin successfully identiefies the audio as not being supported but chooses not to transcode it anyway.
Always seeing "PlayMethod=DirectStream, TranscodeReason=AudioCodecNotSupported"
Tested with multiple MKV files with both FLAC and DTS audio (neither of which is specified in the profile)

Custom Profile /etc/jellyfin/dlna/user/Panasonic GX800.xml

<DirectPlayProfile container="mkv" audioCodec="aac,ac3,dca,mp3,mp2,pcm" videoCodec="h264,h265,hevc,mpeg2video" type="Video" />

Jellyfin Version

Other

if other:

10.8.1-1

Environment

- OS: Ubuntu 20.04.4 LTS
- Virtualization:
- Clients: Panasonic TX-50GX820e (DLNA)
- Browser:
- FFmpeg Version:
- Playback Method: 
- Hardware Acceleration: none
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[2022-07-26 18:11:50.505 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="Panasonic GX800", Path="/red/test/Serial.(Bad).Weddings.2014.1080p.BluRay.DTS.x264-Narkyy.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectStream, TranscodeReason=AudioCodecNotSupported ) "media:/videos/585bbc9b-a229-b119-6c68-42d648434ed3/stream.mkv?MediaSourceId=585bbc9ba229b1196c6842d648434ed3&Static=true&VideoCodec=h264,hevc,mpeg2video,h264&AudioCodec=aac,ac3,dca,mp3,mp2,pcm&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=138464000&AudioBitrate=1536000&MaxFramerate=24&MaxWidth=1920&MaxHeight=1080&api_key=<token>&SubtitleMethod=Embed&Tag=7dfebe25a7ca6030751859f1ae410862&h264-level=41&h264-videobitdepth=8&h264-profile=high&hevc-videobitdepth=8&mpeg2video-videobitdepth=8"

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Issue]: Can't play album (Compilation, Various Artists) on DLNA

Please describe your bug

I have some compilation albums in my library.

On my Cambridge Audio Evo 150, library retrieved by DNLA, the compilation or various artists albums, tagged with "Album Artist" as "Various Artists" are shown with the first track artist in the alphabetic order case sensitive.

Example: Friends Soundtrack is presented with "Album Artist" as "k.d. lang" instead of "Various Artists"

The result is that on my Cambridge Audio Evo 150, I can't play or queue tracks on the playlist from those compilations.

Jellyfin Version

10.8.z

if other:

No response

Environment

- Virtualization: Docker
- Clients: Cambridge Audio Evo 150
- Playback: Direct Play
- Installed Plugins: none
- Reversed Proxy: none
- Networking: Host/DLNA
- Storage: NAS

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

DlnaEventSubscriptionResponse responds with plain type-string Emby.Dlna.EventSubscriptionResponse

Describe the bug
While trying to get my non-smart LG TV (without apps but with builtin DLNA client) working with Jellyfin, it continually could find the DLNA server, but would give a generic error on connecting.
Wireshark analysis showed me that Jellyfin would respond to DLNA event subscription requests with the plain string 'Emby.Dlna.EventSubscriptionResponse' in a HTTP packet. This seemed to me like a missing .ToString()-kind-of-error.

Commit 42b27979e37d47a67c6445e2e4b96b5fc75962db (rewriting the response from a EventSubscriptionResponse to plain output and headers) fixes the behaviour for me.

System (please complete the following information):

  • OS: Debian
  • Virtualization: Proxmox LXC
  • Clients: LG TV
  • Browser: n/a
  • Jellyfin Version: 10.7.1
  • Playback: DLNA connection
  • Installed Plugins: standard
  • Reverse Proxy: none
  • Base URL: none
  • Networking: Proxmox bridge
  • Storage: local

To Reproduce
Connect to Jellyfin with DLNA client requesting event subscriptions.
Analyse DLNA packet contents.

Expected behavior
As far as I can ascertain it should return an empty HTTP response body with appropriate headers.

Server Logs
No errors in jellyfin log found.

FFmpeg Logs
N/A

Browser Console Logs
N/A

Screenshots

Additional context

[Issue]: Jellyfin requesting 404 resources causing play-to feature to fail

Please describe your bug

Jellyfin requested a 404 resource on the DLNA device causing playback to fail. The path it requested does not appear in the BaseURL (which linked to a xml file) that describes its functions.

Steps to reproduce:

  1. Get a Mi AI sound box
  2. Enable DLNA in Jellyfin
  3. Try the play-to feature on a song

Jellyfin Version

10.8.z

if other:

No response

Environment

- OS:Raspberry pi OS bullseye
- Linux Kernel: 6.1.21
- Virtualization: None
- Clients: Android
- Browser:
- FFmpeg Version:
- Playback Method: Play-to
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy: None
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[2023-07-04 20:23:04.677 +08:00] [ERR] [8] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/001d6aab4d5094e7071f294ad5623b10/Playing".
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.GetAVProtocolAsync(CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.SetAvTransport(String url, String header, String metaData, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.PlayToController.SetPlaylistIndex(Int32 index, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.PlayToController.PlayItems(IEnumerable`1 items, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, SessionMessageType name, T data, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Session.SessionManager.SendPlayCommand(String controllingSessionId, String sessionId, PlayRequest command, CancellationToken cancellationToken)
   at Jellyfin.Api.Controllers.SessionController.Play(String sessionId, PlayCommand playCommand, Guid[] itemIds, Nullable`1 startPositionTicks, String mediaSourceId, Nullable`1 audioStreamIndex, Nullable`1 subtitleStreamIndex, Nullable`1 startIndex)
   at lambda_method1172(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

FFmpeg logs

No response

Please attach any browser or client logs here

Archive.zip

The zip file contained:

  • 2 pcapng files created by wireshark
    • one created when using Jellyfin play-to feature but failed
    • one created when using GUPNP universal control point software that successfully played
  • Information provided by gupnp universal control point
  • The file that the Base URL entry linked to
  • How did I invoked the speaker to create the second pcapng file

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Issue]: DLNA Play To 404 on client that works with Universal Media Server

Please describe your bug

I have an old Philips TV (46PFL6606H/12) with which I would like to use DLNA Play To.

First some confirmed working things on my Jellyfin instance and/or local network:

  • DLNA browsing and playback works with all devices, including this Philips TV (through "Browse Computer" functionality, Jellyfin DLNA server comes up and playback works).
  • DLNA Play To works with all other devices except this Philips TV.
  • DLNA playback on Philips TV with Universal Media Server works correctly ("Push from the UMS interface to a renderer")
  • Everything was attempted through http://tyr:8096 (local domain) as well as 192.168.178.87 (local IP).

UMS playback works using the "Philips PFL" profile. Creating a custom DLNA profile in Jellyfin was attempted by specifying the Identification data (which results in correct profile selection as seen in the logs) and specifying limited set of formats as seen in the UMS profile. Removing all supported formats was also attempted. Neither of those did anything, presumably the error happens earlier. No transcoding was even started in any of the cases, although log confirms PlayMethod=Transcode).

2 errors occur.

  1. On device detection, presumably harmful overall as we can define our own profile, but comparing to 2nd error, it is also a 404.
[2022-12-05 02:32:04.222 +00:00] [INF] [21] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "Philips TV" - "NMR"
[2022-12-05 02:32:05.234 +00:00] [ERR] [13] Emby.Dlna.Main.DlnaEntryPoint: Error updating device info for "Philips TV"
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.GetAVProtocolAsync(CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender)
  1. On "Play" with Philips TV selected as "Play On" target.
[2022-12-05 02:32:23.924 +00:00] [INF] [8] Emby.Dlna.Main.DlnaEntryPoint: StreamBuilder.BuildVideoItem( Profile="Philips TV", Path="/srv/jellyfin/Movies/13 Hours (2016)/rep-13hoursthesecretsoldiers.1080p.bluray.x264.mkv", AudioStreamIndex=2, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=DirectPlayError ) "media:/videos/a65fb37a-47ef-4313-d9dd-c51321e92766/stream?MediaSourceId=a65fb37a47ef4313d9ddc51321e92766&AudioStreamIndex=2&api_key=<token>&SubtitleMethod=Encode&RequireAvc=false&Tag=da917d13f1188ced37ccd6a49c7e1328&TranscodeReasons=DirectPlayError"
[2022-12-05 02:32:24.003 +00:00] [ERR] [25] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/cd0f31a079d153187a56a46efc6e0a1d/Playing".
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.GetAVProtocolAsync(CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.SetAvTransport(String url, String header, String metaData, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.PlayToController.SetPlaylistIndex(Int32 index, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.PlayToController.PlayItems(IEnumerable`1 items, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, SessionMessageType name, T data, CancellationToken cancellationToken)
<snip, see bottom of full log for the rest of the exception trace>

Considering this device works correctly with Universal Media Server, I would like to get it working with Jellyfin as well. Appreciate any suggestions.

Jellyfin Version

Other

if other:

10.8.7

Environment

- OS: Arch Linux (kernel 6.0.10)
- Virtualization: none
- Clients: Browser, Android, DLNA (VLC), **DLNA (Philips TV)**
- Browser: Firefox 107
- FFmpeg Version: 5.1.2-jellyfin
- Playback Method: Any
- Hardware Acceleration: NVENC (GTX 1050 Ti)
- Plugins: OpenSubtitles, subbuzz, Session Cleaner
- Reverse Proxy: none
- Base URL: none
- Networking: Host
- Storage: local

Jellyfin logs

[2022-12-05 02:31:53.407 +00:00] [INF] [1] Main: Jellyfin version: "10.8.7"
[2022-12-05 02:31:53.427 +00:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_DATA_DIRECTORY, /var/lib/jellyfin]", "[JELLYFIN_LOG_DIR, /var/lib/jellyfin/log]", "[JELLYFIN_CACHE_DIRECTORY, /var/cache/jellyfin]", "[JELLYFIN_ADD_OPTS, --webdir=/usr/share/jellyfin/web]"]
[2022-12-05 02:31:53.430 +00:00] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--datadir", "/var/lib/jellyfin", "--cachedir", "/var/cache/jellyfin", "--webdir=/usr/share/jellyfin/web"]
[2022-12-05 02:31:53.431 +00:00] [INF] [1] Main: Operating system: "Linux"
[2022-12-05 02:31:53.431 +00:00] [INF] [1] Main: Architecture: X64
[2022-12-05 02:31:53.432 +00:00] [INF] [1] Main: 64-Bit Process: True
[2022-12-05 02:31:53.432 +00:00] [INF] [1] Main: User Interactive: True
[2022-12-05 02:31:53.432 +00:00] [INF] [1] Main: Processor count: 4
[2022-12-05 02:31:53.432 +00:00] [INF] [1] Main: Program data path: "/var/lib/jellyfin"
[2022-12-05 02:31:53.432 +00:00] [INF] [1] Main: Web resources path: "/usr/share/jellyfin/web"
[2022-12-05 02:31:53.432 +00:00] [INF] [1] Main: Application directory: "/usr/lib/jellyfin/bin/"
[2022-12-05 02:31:53.601 +00:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/var/cache/jellyfin"
[2022-12-05 02:31:53.647 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2022-12-05 02:31:53.659 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.OpenSubtitles, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null" from "/var/lib/jellyfin/plugins/Open Subtitles_18.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll"
[2022-12-05 02:31:53.659 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.SessionCleaner, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" from "/var/lib/jellyfin/plugins/Session Cleaner_2.0.0.0/Jellyfin.Plugin.SessionCleaner.dll"
[2022-12-05 02:31:53.697 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "subbuzz, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null" from "/var/lib/jellyfin/plugins/subbuzz_1.0.3.0/subbuzz.dll"
[2022-12-05 02:31:53.702 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Tvdb, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null" from "/var/lib/jellyfin/plugins/TheTVDB_8.0.0.0/Jellyfin.Plugin.Tvdb.dll"
[2022-12-05 02:31:53.703 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "TvDbSharper, Version=3.2.2.0, Culture=neutral, PublicKeyToken=null" from "/var/lib/jellyfin/plugins/TheTVDB_8.0.0.0/TvDbSharper.dll"
[2022-12-05 02:31:53.796 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2022-12-05 02:31:53.796 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2022-12-05 02:31:53.797 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2022-12-05 02:31:53.804 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[192.168.178.87/32]"
[2022-12-05 02:31:53.804 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2022-12-05 02:31:55.762 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Open Subtitles" "18.0.0.0"
[2022-12-05 02:31:55.763 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Session Cleaner" "2.0.0.0"
[2022-12-05 02:31:55.764 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "subbuzz" "1.0.3.0"
[2022-12-05 02:31:55.764 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TheTVDB" "8.0.0.0"
[2022-12-05 02:31:55.765 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.7.0"
[2022-12-05 02:31:55.765 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.7.0"
[2022-12-05 02:31:55.765 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.7.0"
[2022-12-05 02:31:55.765 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.7.0"
[2022-12-05 02:31:55.766 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.7.0"
[2022-12-05 02:31:55.841 +00:00] [INF] [1] Main: Kestrel listening on "192.168.178.87/32"
[2022-12-05 02:31:56.209 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2022-12-05 02:31:56.242 +00:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2022-12-06 02:00:00.000 +00:00, which is 23:28:03.7573628 from now.
[2022-12-05 02:31:56.320 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "5.1.2"
[2022-12-05 02:31:56.375 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"]
[2022-12-05 02:31:56.413 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"]
[2022-12-05 02:31:56.463 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[2022-12-05 02:31:56.695 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["vdpau", "cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2022-12-05 02:31:56.870 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2022-12-05 02:31:56.870 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "930495f6fdc94cbe8c52a6177ab7a977"
[2022-12-05 02:31:56.995 +00:00] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "192.168.178.87/32"
[2022-12-05 02:31:57.018 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1394245
[2022-12-05 02:31:57.018 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2022-12-05 02:31:57.224 +00:00] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/srv/jellyfin/Shows"
[2022-12-05 02:31:57.225 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.2072229
[2022-12-05 02:31:57.225 +00:00] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/srv/jellyfin/Movies"
[2022-12-05 02:31:57.225 +00:00] [INF] [1] Main: Startup complete 0:00:03.9677441
[2022-12-05 02:31:59.251 +00:00] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins"
[2022-12-05 02:31:59.253 +00:00] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2022-12-05 02:31:59.258 +00:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins"
[2022-12-05 02:32:00.364 +00:00] [INF] [22] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.178.30" request
[2022-12-05 02:32:00.661 +00:00] [INF] [8] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.178.30" closed
[2022-12-05 02:32:01.043 +00:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 1 seconds
[2022-12-05 02:32:01.054 +00:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-12-05 02:32:04.215 +00:00] [WRN] [21] Jellyfin.Networking.Manager.NetworkManager: "Any IP4 Address": External request received, however, only an internal interface bind found.
[2022-12-05 02:32:04.222 +00:00] [INF] [21] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "Philips TV" - "NMR"
[2022-12-05 02:32:05.234 +00:00] [ERR] [13] Emby.Dlna.Main.DlnaEntryPoint: Error updating device info for "Philips TV"
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.GetAVProtocolAsync(CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender)
[2022-12-05 02:32:08.695 +00:00] [INF] [13] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.178.30" request
[2022-12-05 02:32:08.813 +00:00] [INF] [17] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.178.30" closed
[2022-12-05 02:32:19.230 +00:00] [INF] [8] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.178.30" request
[2022-12-05 02:32:19.320 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"AccessSchedule"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.320 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ActivityLog"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.320 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"CustomItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.320 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.320 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"HomeSection"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ImageInfo"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Permission"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Preference"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ApiKey"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Device"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DeviceOptions"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:19.327 +00:00] [WRN] [22] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"User"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-12-05 02:32:23.924 +00:00] [INF] [8] Emby.Dlna.Main.DlnaEntryPoint: StreamBuilder.BuildVideoItem( Profile="Philips TV", Path="/srv/jellyfin/Movies/13 Hours (2016)/rep-13hoursthesecretsoldiers.1080p.bluray.x264.mkv", AudioStreamIndex=2, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=DirectPlayError ) "media:/videos/a65fb37a-47ef-4313-d9dd-c51321e92766/stream?MediaSourceId=a65fb37a47ef4313d9ddc51321e92766&AudioStreamIndex=2&api_key=<token>&SubtitleMethod=Encode&RequireAvc=false&Tag=da917d13f1188ced37ccd6a49c7e1328&TranscodeReasons=DirectPlayError"
[2022-12-05 02:32:24.003 +00:00] [ERR] [25] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/cd0f31a079d153187a56a46efc6e0a1d/Playing".
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.GetAVProtocolAsync(CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.SetAvTransport(String url, String header, String metaData, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.PlayToController.SetPlaylistIndex(Int32 index, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.PlayToController.PlayItems(IEnumerable`1 items, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, SessionMessageType name, T data, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Session.SessionManager.SendPlayCommand(String controllingSessionId, String sessionId, PlayRequest command, CancellationToken cancellationToken)
   at Jellyfin.Api.Controllers.SessionController.Play(String sessionId, PlayCommand playCommand, Guid[] itemIds, Nullable`1 startPositionTicks, String mediaSourceId, Nullable`1 audioStreamIndex, Nullable`1 subtitleStreamIndex, Nullable`1 startIndex)
   at lambda_method883(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[2022-12-05 02:32:24.846 +00:00] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.178.30" request

FFmpeg logs

Never started transcoding.

Please attach any browser or client logs here

image

http://tyr:8096 is internal address of the Jellyfin server.

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

PS4 Media Player does not list files with uncompatible video or audio format

"Re-opening" #36 (feel free to close this one and re-open that one for real).

(PlayStation 4 transcoding is messed up: files that would need to be transcoded are just invisible to the PS4. When I changed the transcoded container, they became visible, but transcoding was almost completely broken. A bunch more details in there.)

[Issue]: Not all file shows.

Not all file is showing in specific one folder on Sony x950h tv stock player dlna mode.But in jellyfin app its show all the file.
Workaround is I have to mark that video as favorite then i can find that video on sony stock player favorite section.

I use that player because only stock player can do DTS Connect/DolbyDigital Live type thing to my Logitech z906 speaker so i can enjoy all types of multi channel audio codec via optical cable. And also pass-through DTS & Ac3 audio without any issue.
Why Exoplayer audio is so trash?
I am not sure which side issue that is. But if you guys can manage to fix the audio problem then i don't have to bother with stock player anymore.
Thanx for your wonderful software made free for everyone.

Jellyfin Version

10.8.0

Environment

- OS:Windows 11 64bit
- Virtualization:
- Clients:Android TV
- Browser:Firefox,Chrome
- FFmpeg Version:
- Playback Method:Direct Play
- Hardware Acceleration:None i guess
- Plugins:None 
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

[Issue]: DLNA service / announcement seems to not like bind-address being configured

Please describe your bug

Two weeks ago DLNA playback from Jellyfin on our Samsung TV started randomly crashing during playback. No biggie, just restart the DLNA client and select the same file. Jellyfin even remembered how far along the playback had come! But a nusiance. Some days ago I had added a ip-alias to our server because two (unrelated) docker-containers I wanted to run at the same time wanted the same ports. Finding no error messages anywhere I wanted to eliminate the extra interface and told jellyfin to bind to the servers old address.

I later realized that Jellyfin did not appear as a DLNA source in the DLNA players anymore: Not the TV, not VLC, not my phone DLNA client. No problem, just restarted the jellyfin server. Indeed Jellyfin was shown as a service and and I could easily choose the media to play taking however long I needed.

And the next time the same repeated but I did not think too closely about it. This happened a couple more times and I deferred the problem.

Because a couple of other devices had vagues issues I last weekend replaced the switch that the TV and these devices were attached to. I restarted the Jellyfin service, selected a movie and it played trough without a problem. Before the switch replacement it would have crashed several times. (Interestingly the Disney+ client on the TV never had any issues, but I guess it has been made more rugged against network issues). So the playback crashes was due to the old switch. But, the DLNA service still goes off the air after something like one UPNP announcement. If the DLNA clients are not listening at that momemt they will not see Jellyfin.

I found a old case (#972) that sort of looked like my problem. I removed the bind-address setting and restarted. Didn't look like it helped. Started writing up this ticket, this took a while. Restarted jellyfin again. And now it sticks! I can restart the TV, restart the phone DLNA client over and over and start playback and so on.

Jellyfin Version

Other

if other:

10.8.11

Environment

- OS: Ubuntu 22.04.3 LTS
- Linux Kernel: 5.15.0-87-generic
- Virtualization: Jellyfin running on the metal. Server also hosts VirtualBox and docker
- Clients: Samsung Smart TV, VLC, MediaHouse Pro
- Browser: No problems with browser playback
- FFmpeg Version: ffmpeg version 5.1.3-Jellyfin
- Playback Method: DLNA
- Hardware Acceleration: N/A
- GPU Model: N/A
- Plugins: AudioDB, MusicBrainz, OMDb, StudioImages, TMDb
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

I can't find any relevant log output.  Here is from the moment where I removed the bind-address setting.

[2023-10-30 20:10:48.861 +01:00] [INF] Using LAN addresses: "[192.168.1.0/24]"
[2023-10-30 20:10:57.476 +01:00] [INF] Defined LAN addresses : "[192.168.1.0/24]"
[2023-10-30 20:10:57.477 +01:00] [INF] Defined LAN exclusions : "[]"
[2023-10-30 20:10:57.477 +01:00] [INF] Using LAN addresses: "[192.168.1.0/24]"
[2023-10-30 20:10:59.483 +01:00] [INF] Defined LAN addresses : "[192.168.1.0/24]"
[2023-10-30 20:10:59.484 +01:00] [INF] Defined LAN exclusions : "[]"
[2023-10-30 20:10:59.485 +01:00] [INF] Using LAN addresses: "[192.168.1.0/24]"
[2023-10-30 20:11:03.097 +01:00] [INF] Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-10-30 20:11:03.097 +01:00] [INF] Defined LAN exclusions : "[]"
[2023-10-30 20:11:03.098 +01:00] [INF] Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-10-30 20:11:03.112 +01:00] [INF] Using bind addresses: "[]"
[2023-10-30 20:11:03.112 +01:00] [INF] Using bind exclusions: "[]"
[2023-10-30 20:11:06.300 +01:00] [INF] Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-10-30 20:11:06.300 +01:00] [INF] Defined LAN exclusions : "[]"
[2023-10-30 20:11:06.300 +01:00] [INF] Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-10-30 20:11:08.305 +01:00] [INF] Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"

Here is the TV when it gets a session when it starts:

[2023-10-30 20:34:29.891 +01:00] [INF] DLNA Session created for "[TV] Living room" - "UE40K5515"

FFmpeg logs

Issue does not relate to playback, just UPNP service announcement. I think.

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Playstation: can't play any movies or tv shows

I am unable to play videos on my PS3. When playing using Universal Media Server the same files play file. Both are using DLNA so I don't believe it is something with the files.

Media Info of the file
Movie example:

310 To Yuma
Containermov
PathC:\media\movies\310 To Yuma\310 To Yuma.m4v
Size2451 MB
Video
Title720p H264
CodecH264
Codec tagavc1
AVCNo
ProfileMain
Level31
Resolution1280x720
Aspect ratio2.40:1
InterlacedNo
Framerate23.976025
Bitrate2629 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames1
NAL0
Audio
TitleEng AAC stereo Default
Languageeng
CodecAAC
Codec tagmp4a
ProfileLC
Layoutstereo
Channels2 ch
Bitrate160 kbps
Sample rate48000 Hz
DefaultYes

TV show example:

01 pilot
Containermov
PathC:\media\tv shows\The Big Bang Theory\Season 1\01 pilot.m4v
Size283 MB
Video
Title480p H264
CodecH264
Codec tagavc1
AVCNo
ProfileMain
Level31
Resolution720x480
Aspect ratio16:9
InterlacedNo
Framerate23.978342
Bitrate1560 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames1
NAL0
Audio
TitleEng AAC stereo Default
Languageeng
CodecAAC
Codec tagmp4a
ProfileLC
Layoutstereo
Channels2 ch
Bitrate160 kbps
Sample rate48000 Hz
DefaultYes

Logs

[2020-08-09 22:46:12.324 -04:00] [ERR] [67] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "A task was canceled". URL: "http://localhost:5001/favicon.ico"
[2020-08-09 22:46:53.915 -04:00] [INF] [67] Emby.Server.Implementations.IO.LibraryMonitor: "Harry Potter and the Deathly Hallows: Part 2" ("C:\media\movies\Harry Potter\8 - Harry Potter And The Deathly Hallows Part 2\Harry Potter And The Deathly Hallows Part 2.m4v") will be refreshed.
[2020-08-09 22:46:54.075 -04:00] [ERR] [15] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
System.Exception: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2020-08-09 22:47:54.038 -04:00] [INF] [59] Emby.Server.Implementations.IO.LibraryMonitor: "Harry Potter and the Deathly Hallows: Part 2" ("C:\media\movies\Harry Potter\8 - Harry Potter And The Deathly Hallows Part 2\Harry Potter And The Deathly Hallows Part 2.m4v") will be refreshed.
[2020-08-09 22:47:54.200 -04:00] [ERR] [60] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
System.Exception: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2020-08-09 22:48:54.050 -04:00] [INF] [49] Emby.Server.Implementations.IO.LibraryMonitor: "Harry Potter and the Deathly Hallows: Part 2" ("C:\media\movies\Harry Potter\8 - Harry Potter And The Deathly Hallows Part 2\Harry Potter And The Deathly Hallows Part 2.m4v") will be refreshed.
[2020-08-09 22:48:54.210 -04:00] [ERR] [41] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
System.Exception: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2020-08-09 22:49:25.687 -04:00] [INF] [22] Emby.Server.Implementations.IO.LibraryMonitor: "2 - The Lord Of The Rings - The Two Towers" ("C:\media\movies\The Lord of the Rings\2 - The Lord Of The Rings - The Two Towers") will be refreshed.
[2020-08-09 22:49:25.905 -04:00] [INF] [41] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshStart "6fecf0d7e2a2d6c3bed6e0e9d0ce7872"
[2020-08-09 22:49:25.919 -04:00] [INF] [41] MediaBrowser.Providers.Manager.ProviderManager: OnRefreshComplete "6fecf0d7e2a2d6c3bed6e0e9d0ce7872"
[2020-08-09 22:49:54.054 -04:00] [INF] [72] Emby.Server.Implementations.IO.LibraryMonitor: "Harry Potter and the Deathly Hallows: Part 2" ("C:\media\movies\Harry Potter\8 - Harry Potter And The Deathly Hallows Part 2\Harry Potter And The Deathly Hallows Part 2.m4v") will be refreshed.
[2020-08-09 22:49:54.212 -04:00] [ERR] [71] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
System.Exception: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2020-08-09 22:50:30.993 -04:00] [INF] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Attempting to update encoder path to "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe". pathType: "Custom"
[2020-08-09 22:50:31.059 -04:00] [INF] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "unknown"
[2020-08-09 22:50:31.060 -04:00] [WRN] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: Failed version check: "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe"
[2020-08-09 22:50:31.144 -04:00] [INF] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8_cuvid", "vp8_qsv", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "mp3"]
[2020-08-09 22:50:31.219 -04:00] [INF] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "libmp3lame", "libopus", "libvorbis", "srt"]
[2020-08-09 22:50:31.277 -04:00] [INF] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va"]
[2020-08-09 22:50:31.279 -04:00] [INF] [46] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe"
[2020-08-09 22:50:39.060 -04:00] [INF] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Attempting to update encoder path to "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe". pathType: "Custom"
[2020-08-09 22:50:39.116 -04:00] [INF] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "unknown"
[2020-08-09 22:50:39.117 -04:00] [WRN] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: Failed version check: "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe"
[2020-08-09 22:50:39.191 -04:00] [INF] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8_cuvid", "vp8_qsv", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "mp3"]
[2020-08-09 22:50:39.266 -04:00] [INF] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "libmp3lame", "libopus", "libvorbis", "srt"]
[2020-08-09 22:50:39.323 -04:00] [INF] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va"]
[2020-08-09 22:50:39.325 -04:00] [INF] [74] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Custom: "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe"
[2020-08-09 22:50:54.069 -04:00] [INF] [73] Emby.Server.Implementations.IO.LibraryMonitor: "Harry Potter and the Deathly Hallows: Part 2" ("C:\media\movies\Harry Potter\8 - Harry Potter And The Deathly Hallows Part 2\Harry Potter And The Deathly Hallows Part 2.m4v") will be refreshed.
[2020-08-09 22:50:54.182 -04:00] [ERR] [73] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StartProcess(ProcessWrapper process)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2020-08-09 22:51:34.530 -04:00] [ERR] [61] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "The operation was canceled". URL: "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:34.531 -04:00] [WRN] [61] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 206 to "192.168.1.210". Time (slow): 0:00:00.5571249. "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:35.884 -04:00] [ERR] [30] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "The operation was canceled". URL: "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:35.886 -04:00] [WRN] [30] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 206 to "192.168.1.210". Time (slow): 0:00:01.3265326. "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:36.437 -04:00] [ERR] [58] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "The operation was canceled". URL: "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:36.438 -04:00] [WRN] [58] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 206 to "192.168.1.210". Time (slow): 0:00:00.5246909. "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:36.968 -04:00] [ERR] [58] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "The operation was canceled". URL: "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:36.969 -04:00] [WRN] [58] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 206 to "192.168.1.210". Time (slow): 0:00:00.5108355. "http://192.168.1.187:5001/videos/4458d53e-3430-e704-85ab-93cbc88a199f/stream.mp4?DeviceProfileId=2d7ca7c201d8ddad7ebceb783b8a0416&DeviceId=test&MediaSourceId=4458d53e3430e70485ab93cbc88a199f&Static=true&AudioStreamIndex=1&Tag=f208f4b9bbacf454d613a5cf2b052107&dlnaheaders=true"
[2020-08-09 22:51:37.283 -04:00] [ERR] [58] Microsoft.AspNetCore.Server.Kestrel: Connection id ""0HM1SQRNLT0OH"", Request id ""0HM1SQRNLT0OH:00000001"": An unhandled exception was thrown by the application.
System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (765828 of 765952).
[2020-08-09 22:51:41.343 -04:00] [ERR] [58] Microsoft.AspNetCore.Server.Kestrel: Connection id ""0HM1SQRNLT0OI"", Request id ""0HM1SQRNLT0OI:00000001"": An unhandled exception was thrown by the application.
System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 124).
[2020-08-09 22:51:54.076 -04:00] [INF] [63] Emby.Server.Implementations.IO.LibraryMonitor: "Harry Potter and the Deathly Hallows: Part 2" ("C:\media\movies\Harry Potter\8 - Harry Potter And The Deathly Hallows Part 2\Harry Potter And The Deathly Hallows Part 2.m4v") will be refreshed.
[2020-08-09 22:51:54.189 -04:00] [ERR] [28] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StartProcess(ProcessWrapper process)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)

FFmpeg Logs

not sure where these are located, but if you tell me where to look I can get them

Stats for Nerds Screenshots

Sorry, I have no idea what this is

Server System (please complete the following information):

  • OS: Windows
  • Jellyfin Version: 10.6.2
  • Hardware settings & device: GTX1080 Ryzen 5 3600
  • Reverse proxy: no
  • Other hardware notes:

Client System (please complete the following information):

  • Device: PS3
  • OS: PS3?
  • Client: DLNA
  • Browser (if Web client): N/A
  • Client and Browser Version: Not sure?

[Issue]: Nothing plays on 10.8 dlna on old TV

Please describe your bug

My files used to play fine with 10.7.7. I upgraded to 10.8.0-beta2 last night, and the files won't play any more on my old Samsung TV.

The files are in .MOV, .AVI and .MP4 containers that I ripped years ago.

Qnap DLNA -> Ok
Jellyfin 10.7.7 -> Ok
Jellyfin 10.8.0-beta2 -> Nothing plays.

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: Debian
- Virtualization: Docker
- Clients: DLNA player on old TV
- Browser: n/a
- FFmpeg Version: 4.4.1-Jellyfin
- Playback Method: Direct Play
- Hardware Acceleration: none
- Plugins: none
- Reverse Proxy: none
- Base URL: none
- Networking: Host
- Storage: local

Jellyfin logs

[2022-04-27 14:43:47.372 +00:00] [INF] [22] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/ASL/BabySignLanguage/Baby Sign Language Basics-96.m4v", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/a0b95cc6-8ed5-e741-15f8-2b275dc7cb7d/stream.mov?MediaSourceId=a0b95cc68ed5e74115f82b275dc7cb7d&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139839713&AudioBitrate=160287&AudioSampleRate=48000&MaxFramerate=29.97003&api_key=<token>&Tag=c473cd433202e40ae4f2999285f63409&hevc-level=90&hevc-profile=main&hevc-audiochannels=2&aac-profile=lc"
[2022-04-27 14:43:47.373 +00:00] [INF] [22] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/ASL/BabySignLanguage/Baby Sign Language Basics-97.m4v", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/897a2b8a-c75a-af5a-a60a-649fa28c5163/stream.mov?MediaSourceId=897a2b8ac75aaf5aa60a649fa28c5163&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139856989&AudioBitrate=143011&AudioSampleRate=48000&MaxFramerate=29.97003&api_key=<token>&Tag=d72feeae9985c75fe2498932a476f9ce&hevc-level=90&hevc-profile=main&hevc-audiochannels=2&aac-profile=lc"

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional logging for DLNA device info before matching with a profile

First, I am willing to contribute and help land this change. It will likely be a tiny one-liner. If I see some general agreement, esp from the core team, then I'll dive into the code and work on a PR.

Currently, DLNA profile matching is sort of a guess-and-check process, and encourages folks to be somewhat loose/sloppy with defining a custom profile to match their specific devices. Right now, I have no idea what fields in the UI such as Manufacturer, Model Name, Model Number, etc. are even matched against. The only fields that seem to be approachable are the headers, because headers are output in some existing logs today.

In my opinion, logging out exhaustive info about a connected device, even if its going to match to a generic default profile, would help folks craft more useful profiles. These would be specific enough to address a whole family of devices with the same capabilities (which will continue to evolve as new hardware comes out and new software for existing hardware also comes out). With better quality custom profiles, people might actually be able to share them with each other or back to the server project. I could see potential for a better UI being developed around this, but I think the first step is just a simple log line with as much detail as possible about DLNA devices.

It seems like the DLNA code might be moving out of this repo (see: jellyfin/jellyfin#10558). Let me know if I need to target a different branch or repo to help align with that work. Thanks!

[Issue]: DLNA no longer works

Please describe your bug

The issue I am facing is that the DLNA server in Jellyfin is no longer functional. I was away from home for quite some time and when I came back and tried playing files from my WebOS TV it wouldn't work. The DLNA server simply dose not show up any where.

Jellyfin Version

10.7.7

if other:

also tried the alpha for 10.8

Environment

- OS: Windows 10 64 bit
- Virtualization: Bare Metal
- Clients: LG WebOS TV
- Networking: Local network Only install: Exception through firewall has also been granted.

Jellyfin logs

Tried adding this to .default.json

{
"Serilog": {
"MinimumLevel": {
"Default": "Warning",
"Override": {
"Microsoft": "Warning",
"System": "Warning",
"Emby.Dlna": "Debug",
"Emby.Dlna.Eventing": "Debug"
}
}
}
}

But this doesn't give me any meaningful DLNA related output, so can't post any logs. Sorry !

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

DLNA Error Updating device info

Describe the bug
An error is shown in the console when about updating the device info. I'm not sure if this causes it not to show the playing media in the dashboard.

System (please complete the following information):

  • OS: macOS
  • Virtualization: None
  • Clients: DLNA
  • Browser: N/A
  • Jellyfin Version: 10.7-RC2
  • Playback: DirectPlay
  • Installed Plugins: Kodi Sync Queue and Playback Reporting
  • Reverse Proxy: Nginx
  • Base URL: None
  • Networking: Host
  • Storage: NFS

To Reproduce

  1. Cast to DLNA Device
  2. Play something
  3. See error

Expected behavior

No error should appear.

Logs

18:07:52] [ERR] [118] Emby.Dlna.Main.DlnaEntryPoint: Error updating device info for User_s Bedroom                                                                                                                                       
System.Xml.XmlException: '=' is an unexpected token. The expected token is ';'. Line 1, position 2300.                                                                                                                                      
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)                                                                                                                                                                                       
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)                                                                                                                                                                         
   at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)                                                                                                                                       
   at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ContentReader.ReadContentFrom(XContainer rootContainer, XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
   at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken)
   at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender)

Additional context
The device is called User's Bedroom but is showing up as User_s Bedroom. Not sure if that affects anything. Also I'm pretty sure 10.6 is also affected by this.

[Issue]: Can't DLNA on SONY KDL-40WE663

Please describe your bug

Using DLNA server in jellyfin 10.8.1
On TV SONY Bravia KDL-40WE663 software version 8.609-1000-2.700-0002
open DLNA server and go into video folder - got "There are no items to display"
same thing is with LIVE TV folder
On another Sony KDL-32W653A i see files, but live TV does not plays, video files plays.
In web browser on jellyfin page live tv and video plays normally.

Jellyfin Version

10.8.0

if other:

10.8.1

Environment

- OS: Linux LMDE 4 (debbie) linux 4.19.0-19-amd64 jellyfin/jellyfin#1 SMP Debian 4.19.232-1 (2022-03-07) x86_64 GNU/Linux
- Virtualization: No
- Clients: SONY BRAVIA TV kdl40WE663, 
- Browser: google chrome
- FFmpeg Version: 
ffmpeg:  7:4.1.9-0+deb10u1
ffmpegthumbnailer:  2.1.1-0.2+b1
jellyfin-ffmpeg5:  5.0.1-7-buster
libffmpegthumbnailer4v5:  2.1.1-0.2+b1      
- Playback Method: DLNA
- Hardware Acceleration:
- Plugins:
AudioDB10.8.1.0
MusicBrainz10.8.1.0
NextPVR8.0.0.0
OMDb10.8.1.0
Open Subtitles18.0.0.0
Studio Images10.8.1.0
TMDb10.8.1.0

- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

for LIVE TV

[2022-07-07 10:30:20.991 +03:00] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/SHARE/video"
[2022-07-07 10:30:23.421 +03:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins"
[2022-07-07 10:30:23.422 +03:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2022-07-07 10:30:23.426 +03:00] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins"
[2022-07-07 10:30:25.141 +03:00] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 1 seconds
[2022-07-07 10:30:25.146 +03:00] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-07-07 10:30:25.915 +03:00] [INF] [32] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used. 
DeviceIdentification { FriendlyName: "KDL-40WE663", ModelNumber: "1.0", SerialNumber: null, ModelName: "KDL-32W700B", ModelDescription: "IPI Media Renderer", ModelUrl: "http://www.access-company.com/", Manufacturer: "Sony Corporation", ManufacturerUrl: "http://www.access-company.com/", Headers: [] }
[2022-07-07 10:30:25.918 +03:00] [INF] [32] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "KDL-40WE663" - "KDL-32W700B"
[2022-07-07 10:30:25.954 +03:00] [INF] [13] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "BRAVIA KDL-32W653A" - "KDL-32W653A"
[2022-07-07 10:30:26.807 +03:00] [INF] [30] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "foobar2000 Renderer (root) [WSIT005]" - "foobar2000 Media Renderer"
[2022-07-07 10:30:27.524 +03:00] [INF] [30] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings 
[2022-07-07 10:30:27.540 +03:00] [INF] [30] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start InitiateSession
[2022-07-07 10:30:27.633 +03:00] [INF] [23] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings 
[2022-07-07 10:30:27.633 +03:00] [INF] [23] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start InitiateSession
[2022-07-07 10:30:30.452 +03:00] [INF] [23] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings 
[2022-07-07 10:30:30.452 +03:00] [INF] [23] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start InitiateSession
[2022-07-07 10:30:30.519 +03:00] [ERR] [25] Emby.Dlna.ContentDirectory.ContentDirectoryService: Error processing control request
System.NullReferenceException: Object reference not set to an instance of an object.
   at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(MediaSourceInfo item, VideoOptions options)
   at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(VideoOptions options)
   at Emby.Dlna.Didl.DidlBuilder.AddVideoResource(XmlWriter writer, BaseItem video, String deviceId, Filter filter, StreamInfo streamInfo)
   at Emby.Dlna.Didl.DidlBuilder.WriteItemElement(XmlWriter writer, BaseItem item, User user, BaseItem context, Nullable`1 contextStubType, String deviceId, Filter filter, StreamInfo streamInfo)
   at Emby.Dlna.ContentDirectory.ControlHandler.HandleBrowse(XmlWriter xmlWriter, IReadOnlyDictionary`2 sparams, String deviceId)
   at Emby.Dlna.ContentDirectory.ControlHandler.WriteResult(String methodName, IReadOnlyDictionary`2 methodParams, XmlWriter xmlWriter)
   at Emby.Dlna.Service.BaseControlHandler.CreateControlResponse(ControlRequestInfo requestInfo)
   at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestInternalAsync(ControlRequest request)
   at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestAsync(ControlRequest request)

For video folder

DeviceIdentification { FriendlyName: "KDL-40WE663", ModelNumber: "1.0", SerialNumber: null, ModelName: "KDL-32W700B", ModelDescription: "IPI Media Renderer", ModelUrl: "http://www.access-company.com/", Manufacturer: "Sony Corporation", ManufacturerUrl: "http://www.access-company.com/", Headers: [] }
[2022-07-07 10:28:51.581 +03:00] [INF] [11] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "KDL-40WE663" - "KDL-32W700B"
[2022-07-07 10:28:51.590 +03:00] [INF] [11] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "foobar2000 Renderer (root) [WSIT005]" - "foobar2000 Media Renderer"
[2022-07-07 10:28:51.716 +03:00] [INF] [17] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "BRAVIA KDL-32W653A" - "KDL-32W653A"
[2022-07-07 10:29:03.079 +03:00] [INF] [20] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings 
[2022-07-07 10:29:03.098 +03:00] [INF] [20] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start InitiateSession
[2022-07-07 10:29:03.186 +03:00] [INF] [22] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings 
[2022-07-07 10:29:03.186 +03:00] [INF] [22] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start InitiateSession
[2022-07-07 10:29:05.398 +03:00] [INF] [17] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings 
[2022-07-07 10:29:05.398 +03:00] [INF] [17] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Start InitiateSession
[2022-07-07 10:29:05.513 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/Traumschiff.Surprise.Periode.1.2004.BDRip-AVC.720p.by.farvis[rutracker.org].mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/0d26955b-dfe0-1063-35b4-880a92bcb1c0/stream.mkv?MediaSourceId=0d26955bdfe0106335b4880a92bcb1c0&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&SubtitleStreamIndex=4&api_key=<token>&SubtitleMethod=Embed&Tag=4040d4696f23aed07ece45bb17c4f08d"
[2022-07-07 10:29:05.536 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/2ANNA/Дорога домой.2021.WEB-DL.1080p.HDR.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/4f63e09f-2725-2ba8-8fd2-e8df684761e7/stream.mkv?MediaSourceId=4f63e09f27252ba88fd2e8df684761e7&Static=true&VideoCodec=hevc&AudioCodec=eac3&AudioStreamIndex=1&SubtitleStreamIndex=3&api_key=<token>&SubtitleMethod=Embed&Tag=c283f2659cd1f5c8d1511e8b96fc3080"
[2022-07-07 10:29:05.537 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/Шестеро вне закона (2019) WEB-DLRip-AVC__ivanes.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/63816c7e-7665-a169-9067-b9b5487446c1/stream.mkv?MediaSourceId=63816c7e7665a1699067b9b5487446c1&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&SubtitleStreamIndex=3&api_key=<token>&SubtitleMethod=Embed&Tag=6622d75af477b0328b2c17ae400bcf05"
[2022-07-07 10:29:05.539 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/42.2013.BDRip.ELmusic.MVO/42.2013.BDRip.ELmusic.avi", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/afe40801-bf0c-705d-69dc-8a1666357496/stream.avi?MediaSourceId=afe40801bf0c705d69dc8a1666357496&Static=true&VideoCodec=mpeg4&AudioCodec=ac3&AudioStreamIndex=3&api_key=<token>&Tag=7a367941b84f9241a2dd070297b2c261"
[2022-07-07 10:29:05.541 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/Abominable.2019.BDRip.x264.960x.rip by Frost O.S.mp4", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/96ce4183-d17e-d774-6640-dad5e7f4a1ef/stream.mov?MediaSourceId=96ce4183d17ed7746640dad5e7f4a1ef&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=4&api_key=<token>&SubtitleMethod=Embed&Tag=597da104103ea5afac5d13f5cbabd0a5"
[2022-07-07 10:29:05.542 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/Борьба со льдом_2022_WEB-DLRip/Борьба со льдом_2022_WEB-DLRip.avi", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/11dab527-44e2-c5f5-49bf-e23ba5da6112/stream.avi?MediaSourceId=11dab52744e2c5f549bfe23ba5da6112&Static=true&VideoCodec=mpeg4&AudioCodec=ac3&AudioStreamIndex=1&api_key=<token>&Tag=59cc06a07c424a91e4da1d62a2da8b6b"
[2022-07-07 10:29:05.543 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/Aloha (HD).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/ba852245-3be5-d34d-b9e2-f039e4686a6c/stream.mkv?MediaSourceId=ba8522453be5d34db9e2f039e4686a6c&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=2&api_key=<token>&Tag=3d823f0edbf6d392cf30363a4d44fb42"
[2022-07-07 10:29:05.545 +03:00] [INF] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Generic Device", Path="/media/SHARE/video/Arcane.S01.WEBDL.1080p.Rus.Eng/Arcane.S01E01.WEBDL.1080p.RGzsRutracker.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/6d860225-d798-c394-57db-a84be599a81f/stream.mkv?MediaSourceId=6d860225d798c39457dba84be599a81f&Static=true&VideoCodec=hevc&AudioCodec=ac3&AudioStreamIndex=1&SubtitleStreamIndex=5&api_key=<token>&SubtitleMethod=Embed&Tag=4b4da7ed3bd68961338ee374c2d8bf73"
[2022-07-07 10:29:05.548 +03:00] [ERR] [24] Emby.Dlna.ContentDirectory.ContentDirectoryService: Error processing control request
System.NullReferenceException: Object reference not set to an instance of an object.
   at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(MediaSourceInfo item, VideoOptions options)
   at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(VideoOptions options)
   at Emby.Dlna.Didl.DidlBuilder.AddVideoResource(XmlWriter writer, BaseItem video, String deviceId, Filter filter, StreamInfo streamInfo)
   at Emby.Dlna.Didl.DidlBuilder.WriteItemElement(XmlWriter writer, BaseItem item, User user, BaseItem context, Nullable`1 contextStubType, String deviceId, Filter filter, StreamInfo streamInfo)
   at Emby.Dlna.ContentDirectory.ControlHandler.HandleBrowse(XmlWriter xmlWriter, IReadOnlyDictionary`2 sparams, String deviceId)
   at Emby.Dlna.ContentDirectory.ControlHandler.WriteResult(String methodName, IReadOnlyDictionary`2 methodParams, XmlWriter xmlWriter)
   at Emby.Dlna.Service.BaseControlHandler.CreateControlResponse(ControlRequestInfo requestInfo)
   at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestInternalAsync(ControlRequest request)
   at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestAsync(ControlRequest request)


### FFmpeg logs

_No response_

### Please attach any browser or client logs here

_No response_

### Please attach any screenshots here

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

[DLNA] LiveTV empty when browsing with VLC

Describe the bug

No media items (channels or shows) are listed under "LiveTV" when browsing over DLNA with VLC for Windows.

To Reproduce

  1. Open VLC
  2. Click on 'Universal Plug'n'Play'
  3. Double Click Jellyfin Server
  4. Double Click LiveTV
  5. No media items are shown under LiveTV

Expected behavior

  • LiveTV Channels or programs are listed under LiveTV

Logs

  • BROWSE LiveTV Request
<Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<Body>
		<Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
			<ObjectID>
				2b2bca16aacc8a14d53a11bb829eafa5
			</ObjectID>
			<BrowseFlag>
				BrowseDirectChildren
			</BrowseFlag>
			<Filter>
				*
			</Filter>
			<StartingIndex>
				0
			</StartingIndex>
			<RequestedCount>
				5000
			</RequestedCount>
			<SortCriteria>
			</SortCriteria>
		</Browse>
	</Body>
</Envelope>
  • BROWSE LiveTV Response
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
	<Body>
		<BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
			<Result>
                    <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/">
                        <item restricted="1" id="6e3807fb6bb40d45f68ca9315eb6b434" parentID="2b2bca16aacc8a14d53a11bb829eafa5">
                            <title>
                                ABC News Digital
                            </title>
                            <class>
                                object.item.videoItem
                            </class>
                            <res bitrate="0" protocolInfo="http-get:*:application/octet-stream:DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000">
                                http://192.168.1.141:8096/videos/6e3807fb-6bb4-0d45-f68c-a9315eb6b434/stream?DeviceProfileId=327180f3937cb4bf14f2cf1fb3e5fdc2&amp;DeviceId=test&amp;MediaSourceId=6e3807fb6bb40d45f68ca9315eb6b434&amp;Static=true&amp;dlnaheaders=true
                            </res>
                        </item>
                        <more items here />
                    </DIDL-Lite>
			</Result>
			<NumberReturned>
				89
			</NumberReturned>
			<TotalMatches>
				89
			</TotalMatches>
			<UpdateID>
				2069
			</UpdateID>
		</BrowseResponse>
	</Body>
</Envelope>
  • Working item in BROWSE Movies result
<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/">
	<item restricted="1" id="2b761a2d19d7a0cb472d19bc932733ca" parentID="movies_f137a2dd21bbc1b99aa5c0f6bf02a805">
		<title>
			40 Days and 40 Nights
		</title>
		<class>
			object.item.videoItem.movie
		</class>
		<date>
			2002-03-01T00:00:00.0000000Z
		</date>
		<genre>
			Comedy
		</genre>
		<genre>
			Romance
		</genre>
		<publisher>
			Miramax
		</publisher>
		<publisher>
			Universal Pictures
		</publisher>
		<publisher>
			Working Title Films
		</publisher>
		<description>
			Matt Sullivan's last big relationship ended in disaster and ever since his heart's been aching and his commitment's been lacking. Then came Lent, that time of year when everybody gives something up. That's when Matt decides to go where no man's gone before and make a vow: No sex. Whatsoever. For 40 straight days. At first he has everything under control. That is until the woman of his dreams, Erica, walks into his life.
		</description>
		<rating>
			R
		</rating>
		<rating>
			R
		</rating>
		<res duration="01:35:25.6198144" size="1318048384" nrAudioChannels="2" resolution="720x460" sampleFrequency="48000" bitrate="1386696" protocolInfo="http-get:*:video/quicktime:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000">
			http://192.168.4.14:8096/videos/2b761a2d-19d7-a0cb-472d-19bc932733ca/stream.mov?DeviceProfileId=327180f3937cb4bf14f2cf1fb3e5fdc2&amp;DeviceId=test&amp;MediaSourceId=2b761a2d19d7a0cb472d19bc932733ca&amp;Static=true&amp;AudioStreamIndex=1&amp;Tag=5365dec4a6909cbb3dcd3d9f74d49ac7&amp;dlnaheaders=true
		</res>
		<albumArtURI dlna:profileID="JPEG_SM">
			http://192.168.4.14:8096/Items/2b761a2d19d7a0cb472d19bc932733ca/Images/Primary/0/923e809546972dda121e1eafc534344f/jpg/480/480/0/0
		</albumArtURI>
		<icon>
			http://192.168.4.14:8096/Items/2b761a2d19d7a0cb472d19bc932733ca/Images/Primary/0/923e809546972dda121e1eafc534344f/jpg/48/48/0/0
		</icon>
	</item>
</DIDL-Lite>

Screenshots

System (please complete the following information):

  • OS: Debian Server, Windows Client
  • Browser: VLC for Windows
  • Jellyfin Version: 10.5-dev
  • Installed Plugins: none
  • Reverse proxy: none

Additional context

I'm only seeing this issue in VLC (as my Samsung TV and Windows Explorer can browse LiveTV channels fine.

PS4 Media Player does not list files with uncompatible video or audio format

Describe the bug
Playstation 4 Media Player over DLNA can't see any files which have unsupported video or audio codec. The only media that shows up are natively supported formats. This way transcoding over DLNA is impossible to select.

System (please complete the following information):

  • OS: Windows
  • Clients: PS4 Media Player DLNA
  • Jellyfin Version: 10.7.7
  • Playback: Direct Play, Remux, Direct Stream, Transcode
  • Hardware Acceleration: NVENC
  • Installed Plugins: none
  • Reverse Proxy: none
  • Storage: local

To Reproduce

  1. Open media player on PS4 and navigate to Jellyfin media server
  2. Can't find any videos that need remuxing, transcoding(video, audio or both) to play on PS4, only H264-AC3 etc... files appear which the PS4 natively supports.

Expected behavior
When the media library has a file that consists of video or audio format that the PS4 cannot play it should still show up in the PS4 Media player and it should transcode and/or remux the format which is unsupported into one that works. If for example only the audio is unsupported it should only encode that and copy the video.

Additional context
I have recently switched from UMS to Jellyfin and I really like the fact that you can easily use Nvenc to re-encode media, but sadly none of the videos that acutally need transcoding appear in the PS4 media player application so this bug made this application useless for me. I have tried playing around with the settings but nothing seems to work. In UMS for example you can select every trancoding option from the PS4 media player and everything shows up. But that app has other problems which made me look for alternatives. I was just wanting to let you know this bug still exists.

DLNA Server problems with strm files from Jellyfin libraries

Strm files plays fine on my old LG Smart TV with Emby DLNA but not with Jellyfin DLNA, they plays ok with web client or Jellyfin Media Player(Windows 11)

Jellyfin Version
10.8.13

Environment

- OS: Debian 12
- Virtualization: none
- Clients: LG Smart TV, DLNA client (Windows 11)
- Browser: 
- FFmpeg Version: 5.1.4-jellyfin
- Hardware Acceleration: none
- Plugins: OpenSubtitles
- Reverse Proxy: none
- Base URL: none
- Networking: Host
- Storage: online

Jellyfin logs

[2024-04-23 17:57:57.613 +03:00] [INF] StreamBuilder.BuildVideoItem( Profile="LG Smart TV", Path="http://xxxxxxx:8801/stream/Gueules.noires.2023.FRENCH.WEB-DL.1080p.mkv", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/d7c831a4-274e-0809-c52f-5f3768e6817e/stream.mkv?MediaSourceId=d7c831a4274e0809c52f5f3768e6817e&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&api_key=<token>&SubtitleMethod=Encode&Tag=4ef38d06b072b84441e9388bc986e4f8"
[2024-04-23 17:57:59.643 +03:00] [ERR] Error processing request. URL "GET" "/videos/d7c831a4-274e-0809-c52f-5f3768e6817e/stream.mkv".
System.Net.Http.HttpRequestException: Cannot write more bytes to the buffer than the configured maximum buffer size: 2147483647.
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.