Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Jellyfin
  3. Jellyfin Play Issues

Jellyfin Play Issues

Scheduled Pinned Locked Moved Solved Jellyfin
10 Posts 4 Posters 4.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    privsec
    wrote on last edited by
    #1

    Previously I have been able to watch media files on my Jellyfin instance that were in the mkv format.

    I would use the iOS app to watch these files.

    As of today, when I attempt to watch a show, I get this error

    7E9EEEBC-69D9-475C-B021-4D8740416B03.jpeg

    This occurs with every file on attempt to play the show.

    luckowL 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Do you see anything in the app logs while trying to play such a file? Can you play it in the browser and if not also check the browser console logs. Presumably it has something to do with transcoding, given the format involved.

      P 3 Replies Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon

        Do you see anything in the app logs while trying to play such a file? Can you play it in the browser and if not also check the browser console logs. Presumably it has something to do with transcoding, given the format involved.

        P Offline
        P Offline
        privsec
        wrote on last edited by
        #3

        @nebulon
        When I reviewed the logs, the only http status codes there was 200.

        There are WRN logs but no error messages

        Files do not play in browser either. I only have a phone near me for now, I’ll check the desktop browser shortly

        1 Reply Last reply
        0
        • nebulonN nebulon

          Do you see anything in the app logs while trying to play such a file? Can you play it in the browser and if not also check the browser console logs. Presumably it has something to do with transcoding, given the format involved.

          P Offline
          P Offline
          privsec
          wrote on last edited by
          #4

          @nebulon

          Here are the logs from the app

          Jan 02 14:38:35 [21:38:35] [INF] [186] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for END_USER_NAME. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
          Jan 02 14:38:35 [21:38:35] [INF] [186] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/app/data/files/TV Shows/Brooklyn Nine-Nine/Season 2/S02E01 Undercover.mkv, AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) media:/videos/randomizerdata_valuie-40c3-c1bd-cc3e77a93743/master.m3u8?MediaSourceId=7008220972be40c3c1bdcc3e77a93743&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=59787292&AudioBitrate=212708&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=d91f6ac0c7e026f827eab17687c16ba7&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&hevc-level=120&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=he-aac&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported
          Jan 02 14:38:37 [21:38:37] [WRN] [201] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from sub.somain.com/Sessions/Playing to xx.xx.xx.xx in 0:00:00.7044316 with Status Code 204
          Jan 02 14:38:37 [21:38:37] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for END_USER_NAME. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
          Jan 02 14:38:37 [21:38:37] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/app/data/files/TV Shows/Brooklyn Nine-Nine/Season 2/S02E01 Undercover.mkv, AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) media:/videos/randomizerdata_valuie-40c3-c1bd-cc3e77a93743/master.m3u8?MediaSourceId=7008220972be40c3c1bdcc3e77a93743&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=59787292&AudioBitrate=212708&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=d91f6ac0c7e026f827eab17687c16ba7&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&hevc-level=120&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=he-aac&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported
          Jan 02 14:38:38 [21:38:38] [INF] [26] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
          Jan 02 14:38:38 [21:38:38] [INF] [186] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for END_USER_NAME. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
          Jan 02 14:38:38 [21:38:38] [INF] [186] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/app/data/files/TV Shows/Brooklyn Nine-Nine/Season 2/S02E01 Undercover.mkv, AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) media:/videos/randomizerdata_valuie-40c3-c1bd-cc3e77a93743/master.m3u8?MediaSourceId=7008220972be40c3c1bdcc3e77a93743&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=59787292&AudioBitrate=212708&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=d91f6ac0c7e026f827eab17687c16ba7&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&hevc-level=120&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=he-aac&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported
          Jan 02 14:38:38 [21:38:38] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/share/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -f matroska,webm -autorotate 0 -i file:"/app/data/files/TV Shows/Brooklyn Nine-Nine/Season 2/S02E01 Undercover.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 5496170 -bufsize 10992340 -profile:v:0 high -level 51 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/app/data/jellyfin/data/transcodes/5f351d831b413b98601d4f4436dcea62%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/app/data/jellyfin/data/transcodes/5f351d831b413b98601d4f4436dcea62.m3u8"
          Jan 02 14:38:38 [21:38:38] [ERR] [44] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/randomizerdata_valuie-40c3-c1bd-cc3e77a93743/hls1/main/0.ts.
          Jan 02 14:38:38 [21:38:38] [INF] [44] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for /app/data/jellyfin/data/transcodes/5f351d831b413b98601d4f4436dcea62.m3u8
          Jan 02 14:38:39 [21:38:39] [INF] [44] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
          Jan 02 14:38:39 [21:38:39] [INF] [44] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /app/data/jellyfin/data/transcodes/5f351d831b413b98601d4f4436dcea62.m3u8
          Jan 02 14:38:40 [21:38:40] [INF] [26] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Mobile (iOS) 1.5.0 playing Undercover. Stopped at 0 ms
          1 Reply Last reply
          0
          • nebulonN nebulon

            Do you see anything in the app logs while trying to play such a file? Can you play it in the browser and if not also check the browser console logs. Presumably it has something to do with transcoding, given the format involved.

            P Offline
            P Offline
            privsec
            wrote on last edited by
            #5

            @nebulon
            It works without an issue in the browser on desktop

            1 Reply Last reply
            0
            • P privsec referenced this topic on
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #6

              This seems very much like a transcoding issue then. Unfortunately I am not able to reproduce this here to debug further. Can you also ensure that the app has a high enough memory limit to rule that out?

              P 1 Reply Last reply
              0
              • nebulonN nebulon

                This seems very much like a transcoding issue then. Unfortunately I am not able to reproduce this here to debug further. Can you also ensure that the app has a high enough memory limit to rule that out?

                P Offline
                P Offline
                privsec
                wrote on last edited by
                #7

                @nebulon
                It is allotted 23 gbs of ram

                How do I address transcoding issues, do you know?

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  I have added VAAPI support in the latest package. https://docs.cloudron.io/apps/jellyfin/#hardware-transcoding has some information. Works on my server (tm).

                  luckowL 1 Reply Last reply
                  0
                  • girishG girish has marked this topic as solved on
                  • girishG girish

                    I have added VAAPI support in the latest package. https://docs.cloudron.io/apps/jellyfin/#hardware-transcoding has some information. Works on my server (tm).

                    luckowL Online
                    luckowL Online
                    luckow
                    translator
                    wrote on last edited by
                    #9

                    @girish said in Jellyfin Play Issues:

                    Works on my server (tm).
                    🙂

                    Pronouns: he/him | Primary language: German

                    1 Reply Last reply
                    0
                    • P privsec

                      Previously I have been able to watch media files on my Jellyfin instance that were in the mkv format.

                      I would use the iOS app to watch these files.

                      As of today, when I attempt to watch a show, I get this error

                      7E9EEEBC-69D9-475C-B021-4D8740416B03.jpeg

                      This occurs with every file on attempt to play the show.

                      luckowL Online
                      luckowL Online
                      luckow
                      translator
                      wrote on last edited by
                      #10

                      @privsec Maybe it's the same issue: from time to time there is no way to see anything with the iOS yellyfin app. That's when I kill the iOS app and restart. Boom. It works again.

                      Pronouns: he/him | Primary language: German

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search