-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue]: DLNA server chooses not to transcode even though AudioCodecNotSupported #23
Comments
This issue is only present for DLNA clients. Previous changes seem to have fixed this issue for web-client users. input: MKV h264 flac
input: MKV h264 flac
|
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. |
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 :( |
Same issue on PS4 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. |
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. |
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 |
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 |
Having the same issue with playing over DLNA on a Panasonic VIERA E6 Series television. |
Same problem on Sony Bravia 2013 KDL-42W650A |
Same issue as mentionned with a 2023 Tv, Samsung S95B 😢 and Jellyfin 10.9.2
|
I'm having the same issue and took a look at the StreamBuilder class that seems to cause these issues. Since this is my first time working on the Jellyfin codebase I could be wrong, but line 1370 looks a bit odd to me: For me it seems like someone wanted to filter out any failure reasons that don't apply to the DirectStream play method. By changing the assignment to Maybe a maintainer could check if I overlooked something or if that's actually the bug. Note: This can be tested by applying the following condition to a device profile: <CodecProfile type="VideoAudio">
<Conditions>
<ProfileCondition condition="LessThanEqual" property="AudioChannels" value="2" isRequired="true" />
</Conditions>
<ApplyConditions />
</CodecProfile> |
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
Jellyfin Version
Other
if other:
10.8.1-1
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: