Comments (10)
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.
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.
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.
Same issue on PS4 DLNA.
from jellyfin-plugin-dlna.
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.
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.
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.
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.
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.
Same problem on Sony Bravia 2013 KDL-42W650A
from jellyfin-plugin-dlna.
Related Issues (20)
- No external subtitles (.srt) on 10.8.0 using DLNA Samsung j5200 HOT 11
- [Issue]: Can't DLNA on SONY KDL-40WE663 HOT 12
- [Issue]: DLNA Play To 404 on client that works with Universal Media Server HOT 5
- Can't use DLNA server with Orange TV decoder HOT 8
- DLNA Play On remote is broken for Bose Soundtouch 300 HOT 7
- [issue]: Media seeking not possible in some cases over DLNA HOT 11
- DLNA will not transcode audio HOT 3
- [Issue]: Samsung TV (pre-Tizen, DLNA only) is not showing subtitles from Jellyfin 10.8.11 HOT 6
- [Issue]: DLNA service / announcement seems to not like bind-address being configured HOT 3
- Additional logging for DLNA device info before matching with a profile
- [Issue]: Can't play album (Compilation, Various Artists) on DLNA
- [Issue]: Not all file shows. HOT 6
- DLNA Error Updating device info HOT 41
- LG OLED C9 (2019) - File works via USB playback but not via DLNA playback HOT 2
- PS4 Media Player does not list files with uncompatible video or audio format HOT 4
- PS4 Media Player does not list files with uncompatible video or audio format HOT 2
- [Issue]: Jellyfin requesting 404 resources causing play-to feature to fail HOT 2
- Support search functionality in DLNA browser
- Playstation: can't play any movies or tv shows HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-plugin-dlna.