Giter VIP home page Giter VIP logo

Comments (10)

gerbik avatar gerbik commented on May 17, 2024

This issue is only present for DLNA clients. Previous changes seem to have fixed this issue for web-client users.
Here are a few examples of conditions under which the behavior happens. Seems to me like ffmpeg is only called on VideoCodecNotSupported and in all other cases, the media will always be DirectPlayed. Even remuxing will not happen if the container is the only thing that doesn't match, in that case PlayMethod will be set to DirectStream but the media will still be DirectPlayed regardless.

input: MKV h264 flac
allowed: MKV * ac3
output: MKV h264 flac => no audio transcoding performed

[DBG] Profile: "Panasonic", Path: "/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[DBG] Transcode Result for Profile: "Panasonic", Path: "/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", PlayMethod: DirectStream, AudioStreamIndex: 2, SubtitleStreamIndex: 0, Reasons: 0
[DBG] DirectPlay Result for Profile: "Panasonic", Path: "/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", PlayMethod: DirectStream, AudioStreamIndex: 2, SubtitleStreamIndex: 0, Reasons: AudioCodecNotSupported
[INF] StreamBuilder.BuildVideoItem( Profile="Panasonic", Path="/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectStream, TranscodeReason=AudioCodecNotSupported ) "media:/videos/63b629ed-e6c0-07c6-64b1-e8348220f51c/stream.mkv?MediaSourceId=63b629ede6c007c664b1e8348220f51c&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=2&SubtitleStreamIndex=0&VideoBitrate=139040000&AudioBitrate=960000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Embed&Tag=651aa6a2c39a0f6dc59f0665c036974f&h264-level=51&h264-videobitdepth=10&h264-profile=high10"

input: MKV h264 flac
allowed: MP4 * *
output: MKV h264 flac => no remux to MP4 performed

[DBG] Profile: "Panasonic", Path: "/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[DBG] Transcode Result for Profile: "Panasonic", Path: "/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", PlayMethod: DirectStream, AudioStreamIndex: 2, SubtitleStreamIndex: 0, Reasons: 0
[DBG] DirectPlay Result for Profile: "Panasonic", Path: "/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", PlayMethod: DirectStream, AudioStreamIndex: 2, SubtitleStreamIndex: 0, Reasons: ContainerNotSupported
[INF] StreamBuilder.BuildVideoItem( Profile="Panasonic", Path="/red/test/[Doki] Nichijou - 01 (1920x1080 Hi10P BD FLAC) [178745F7].mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectStream, TranscodeReason=ContainerNotSupported ) "media:/videos/63b629ed-e6c0-07c6-64b1-e8348220f51c/stream.mkv?MediaSourceId=63b629ede6c007c664b1e8348220f51c&Static=true&VideoCodec=h264&AudioCodec=flac&AudioStreamIndex=2&SubtitleStreamIndex=0&VideoBitrate=139040000&AudioBitrate=960000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Embed&Tag=651aa6a2c39a0f6dc59f0665c036974f&h264-level=51&h264-videobitdepth=10&h264-profile=high10&h264-audiochannels=2"

from jellyfin-plugin-dlna.

fenirani avatar fenirani commented on May 17, 2024

Having the same problem on PS4 DLNA. "PlayMethod=DirectStream, TranscodeReason=AudioCodecNotSupported "

The ps4 web browser works as intended and transcodes but the DLNA Media Player does not, even with the PS4 DLNA profile.

The Audio codec is the E-AC-3.

from jellyfin-plugin-dlna.

smue83 avatar smue83 commented on May 17, 2024

Exactly the same problem on Samsung NU7099 and Samsung RU7099.

Audio codec is dts.

Any ETA if this will be fixed? Just switched to jellyfin and i am loving it... except on the Samsung TVs xD

Edit: While using the Samsung browser it works :(

from jellyfin-plugin-dlna.

alnmy avatar alnmy commented on May 17, 2024

Same issue on PS4 DLNA.

from jellyfin-plugin-dlna.

seemebreakthis avatar seemebreakthis commented on May 17, 2024

Same issue for my old Bravia TV under the "Sony Bravia (2014)" DLNA Profile. I have actually made changes to remove the eac3 codec which isn't compatible with my TV, but the log says it still tried to DirectStream:

[2023-04-01 18:43:11.740 +08:00] [INF] [45] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile="Sony Bravia (2014)", Path="/sonarr/video.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectStream, TranscodeReason=ContainerNotSupported, AudioCodecNotSupported )

My workaround for now is to remove the entire container record in the Direct Playback section of the profile to force Jellyfin to transcode even the compatible videos. There are a number of obvious drawbacks with this approach, so if this issue can be fixed eventually, it would be super nice.

from jellyfin-plugin-dlna.

jellyfin-bot avatar jellyfin-bot commented on May 17, 2024

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

from jellyfin-plugin-dlna.

kieferlam avatar kieferlam commented on May 17, 2024

I am still getting this issue. Logs looks the same as OP's where video codec is supported and only audio codec not supported (dts in my case). However it will choose to stream via direct play instead of transcoding audio only

from jellyfin-plugin-dlna.

pavelpykhtin avatar pavelpykhtin commented on May 17, 2024

Same issue with Samsung Q70b and jellyfin v10.8.10.

[12:10:56] [INF] [20] Emby.Dlna.ContentDirectory.ContentDirectoryService: StreamBuilder.BuildVideoItem( Profile=Samsung Smart TV, Path=/test.mkv, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectStream, TranscodeReason=AudioCodecNotSupported ) media:/videos/b143d709-53be-3443-0689-c5426addbabc/stream.mkv?MediaSourceId=b143d70953be34430689c5426addbabc&Static=true&VideoCodec=h264,mpeg4,mjpeg4,h264&AudioCodec=mp3,ac3,dca,aac&AudioStreamIndex=1&SubtitleStreamIndex=3&VideoBitrate=37500000&AudioBitrate=768000&MaxFramerate=23.976025&MaxWidth=1920&MaxHeight=1080&api_key=&SubtitleMethod=Embed&Tag=a0f01544a1beb9ca937a11b7ee7c2125&h264-level=41&h264-videobitdepth=8&h264-profile=high

from jellyfin-plugin-dlna.

Fire-GitH avatar Fire-GitH commented on May 17, 2024

Having the same issue with playing over DLNA on a Panasonic VIERA E6 Series television.
DirectPlay of unsupported OPUS audio codec. With this audio codec being popular I guess more people will bump into this issue.

from jellyfin-plugin-dlna.

KevinSalmon avatar KevinSalmon commented on May 17, 2024

Same problem on Sony Bravia 2013 KDL-42W650A

from jellyfin-plugin-dlna.

Related Issues (20)

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.