• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting No video when transcoding to DLNA device

     
    • 0 Vote(s) - 0 Average

    No video when transcoding to DLNA device

    Trying to transcode to XBMC but having issues
    dylanrush
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2024-08-28, 11:27 PM (This post was last modified: 2024-08-28, 11:33 PM by TheDreadPirate. Edited 1 time in total.)
    Hey all,

    I have an original Xbox running XBMC. That is showing up as a DLNA streaming target from the perspective of my Jellyfin clients (website and mobile app)

    I am able to select the target as a streamable device and actually get it to play low resolution video. When I give it higher resolution video, which should be transcoded according to its DLNA profile, Jellyfin directs FFMPEG to transcode the audio but remove the video. So I get no video stream but can still hear the playback.

    I know someone here is going to say "the original Xbox is too old, we won't support it.." okay, I understand that. But from my perspective, XBMC is a fully compliant DLNA device, and as far as I can tell DLNA is not deprecated by Jellyfin. This workflow seems like it should work and should be supported. And I feel like I'm *almost* there.

    I am attaching logs and the DLNA profile that I'm using.

    I am using the latest version of Jellyfin (10.9.9) using docker compose, with I believe the latest DLNA plugin (2.0.0.0). The DLNA plugin does not let you select different streaming profiles anymore, and maybe it auto-matches the XML profile? But I will attach the custom one I am using. I have adapted it from the Xbox One.xml profile. Really, the settings in there *should* work, as I'm telling it to use a low resolution. So far I can't find any logs that explain why it is deciding to drop video altogether. I can see it dropping video because when it calls ffmpeg, it uses the -vn flag.

    Here are some relevant bits of logs.

    Code:
    [2024-08-28 23:23:44.290 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: "XBMC: Media Renderer (192.168.10.113)" - Received PlayRequest: PlayNow
    [2024-08-28 23:23:44.291 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.DlnaManager: Found matching device profile: "XBMC4Xbox"
    [2024-08-28 23:23:44.310 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: Profile: "XBMC4Xbox", Path: "/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
    [2024-08-28 23:23:44.321 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: Profile: "VideoCodecProfile", DirectPlay=false. Reason="XBMC4Xbox".VideoBitDepth Condition: LessThanEqual. ConditionValue: "8". IsRequired: False. Path: "/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv"
    [2024-08-28 23:23:44.325 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: Profile: "VideoAudioCodecProfile", DirectPlay=false. Reason="XBMC4Xbox".AudioChannels Condition: LessThanEqual. ConditionValue: "2". IsRequired: False. Path: "/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv"
    [2024-08-28 23:23:44.350 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: DirectPlay Result for Profile: "XBMC4Xbox", Path: "/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv", PlayMethod: null, AudioStreamIndex: 1, SubtitleStreamIndex: 2, Reasons: VideoBitDepthNotSupported, AudioChannelsNotSupported
    [2024-08-28 23:23:44.363 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: Transcode Result for Profile: "XBMC4Xbox", Path: "/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv", PlayMethod: Transcode, AudioStreamIndex: 1, SubtitleStreamIndex: 2, Reasons: VideoBitDepthNotSupported, AudioChannelsNotSupported
    [2024-08-28 23:23:44.371 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: StreamBuilder.BuildVideoItem( Profile="XBMC4Xbox", Path="/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoBitDepthNotSupported, AudioChannelsNotSupported ) "media:/videos/9fcff6a5-5d9b-2165-4677-d1419b86c0ae/stream.ts?MediaSourceId=9fcff6a55d9b21654677d1419b86c0ae&VideoCodec=mpeg4&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=7872000&AudioBitrate=320000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&RequireAvc=false&Tag=15a3ee2ccff32e282372b35531f125f8&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&mpeg4-videobitdepth=8&aac-audiochannels=2&TranscodeReasons=VideoBitDepthNotSupported,%20AudioChannelsNotSupported"
    [2024-08-28 23:23:44.455 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: "XBMC: Media Renderer (192.168.10.113)" - Playlist created
    [2024-08-28 23:23:44.458 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: "XBMC: Media Renderer (192.168.10.113)" - Playing 1 items
    [2024-08-28 23:23:44.469 +00:00] [DBG] [8] Jellyfin.Plugin.Dlna.Main.DlnaHost: "XBMC: Media Renderer (192.168.10.113)" - SetAvTransport Uri: "https://jf.<domain>.sh/dlna/videos/9fcff6a5-5d9b-2165-4677-d1419b86c0ae/stream.ts?DeviceProfileId=a28d28be6544fa91f862212916b5019c&amp;DeviceId=4499e804-1dd4-a50d-057e-fc8e85e97e15&amp;MediaSourceId=9fcff6a55d9b21654677d1419b86c0ae&amp;VideoCodec=mpeg4&amp;AudioCodec=aac&amp;AudioStreamIndex=1&amp;SubtitleStreamIndex=2&amp;VideoBitrate=7872000&amp;AudioBitrate=320000&amp;AudioSampleRate=48000&amp;MaxFramerate=23.976025&amp;SubtitleMethod=Encode&amp;RequireAvc=false&amp;Tag=15a3ee2ccff32e282372b35531f125f8&amp;hevc-level=150&amp;hevc-videobitdepth=10&amp;hevc-profile=main10&amp;hevc-audiochannels=6&amp;aac-profile=lc&amp;mpeg4-videobitdepth=8&amp;aac-audiochannels=2&amp;TranscodeReasons=VideoBitDepthNotSupported,%20AudioChannelsNotSupported&amp;dlnaheaders=true" DlnaHeaders: "DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01D00000000000000000000000000000"
    [2024-08-28 23:23:45.135 +00:00] [DBG] [10] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was not authenticated.
    [2024-08-28 23:23:45.258 +00:00] [INF] [10] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G  -i file:\"/bravo/video/movies/Star Wars Episode III - Revenge Of The Sith (2005) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/Star.Wars.Episode.III.-.Revenge.Of.The.Sith.2005.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv\" -vn -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 libfdk_aac -ac 2 -ab 320000 -ar 48000 -af \"volume=2\" -y \"/cache/transcodes/ddc76784886877ccecf6df853debaaac.ts\""
    [2024-08-28 23:23:45.316 +00:00] [DBG] [15] Rssdp.Infrastructure.SsdpCommunicationsServer: Received data from "192.168.10.113" on 1230 at "0.0.0.0":


    .zip   jellyfin-logs-and-configuration.zip (Size: 18.89 KB / Downloads: 32)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #2
    2024-08-28, 11:40 PM (This post was last modified: 2024-08-28, 11:43 PM by TheDreadPirate. Edited 2 times in total.)
    I'm thinking this is a bug. This github issue is pretty much identical to yours.

    https://github.com/jellyfin/jellyfin-plu.../issues/65

    This PR may fix it?

    https://github.com/jellyfin/jellyfin-plu...na/pull/68

    Hasn't been merged yet.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    dylanrush
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #3
    2024-08-29, 03:34 AM
    Thanks! I used a build of the DLNA plugin from that PR and everything seems to work now.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #4
    2024-08-29, 02:43 PM
    Can you comment on the github issue that you tested the PR and that it resolves the problem?
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    kahuna
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Canada
    #5
    2024-08-30, 09:37 PM
    Hello everyone,
    First post here!

    I'm seeing the same problem on my Jellyfin.
    The version I'm using is 10.9.10+deb12 coming from the official repo: https://repo.jellyfin.org/debian on a Debian Trixie.

    I'm not sure how to install the patched DLNA plugin, any guidance will be appreciated.

    Thanks!
    kahuna
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Canada
    #6
    2024-09-03, 09:50 PM
    I'm gonna reply to myself Smiling-face
    The PR code has been merged in the current 'unstable' release: 2024090205+deb12
    Instructions on how to set up the weekly/unstable repo available here: https://jellyfin.org/downloads/server/ (click on unstable, top right corner)

    I just tested it, what a difference!
    -codec:v:0 mpeg2video
    As opposed to the stable release, where it is/was trying to copy the video portion as it was originally, hence not doing any transcoding:
    -codec:v:0 copy

    Thanks all for the great work!
    « Next Oldest | Next Newest »

    Users browsing this thread:


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode