• 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 Live Stream Crashes with Transcode Error

     
    • 0 Vote(s) - 0 Average

    Live Stream Crashes with Transcode Error

    Live Streaming from ErstazTV Crashes with Transcode Error
    ralphshep
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    #1
    2023-09-18, 01:58 AM (This post was last modified: 2023-09-19, 01:22 AM by ralphshep. Edited 2 times in total.)
    I have ErstazTV and Jellyfin running on the same TrueNAS Scale server. For a while now I have been able to stream Jellyfin remotly through my domain with no issues. Now, I have setup ErstazTV to be able to watch my content in a randomized order. I have successfully connected it to Jellyfin and I'm able to stream a couple of minutes before the stream crashes and this message appears in the logs:

    Code:
    [2023-09-17 21:38:58.584 -04:00] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN/videos/4a4bab48-d63f-d762-0716-fe4d187a445f/live.m3u8?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzE2LjQgU2FmYXJpLzYwNS4xLjE1fDE2ODQyNzkxODQ5MzM1&MediaSourceId=7f5acd154b71643603158b5d75faecaf&VideoCodec=h264,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=9616000&AudioBitrate=384000&MaxFramerate=29.97003&PlaySessionId=f0cb465d5b8a49b5997f95a226e2478f&api_key=f1b5474c148048a8b94b07e10353d999&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_7f5acd154b71643603158b5d75faecaf&TranscodingMaxAudioChannels=6&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-level=31&h264-videobitdepth=8&h264-profile=high&h264-rangetype=SDR&h264-deinterlace=true&[b]TranscodeReasons=ContainerNotSupported" to "DESTIONATION IP" in 0:00:07.8919162 with Status Code 200[/b]


    This is all followed by the following repeated error messages:

    Code:
    2023-09-17 21:38:59.044 -04:00] [ERR] [72] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session bc1e47f5be1ea86c6b1dde1891e1b155 not found. at Emby.Server.Implementations.Session.SessionManager.GetSession(String sessionId, Boolean throwOnMissing) at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)


    In the final lines in the FFmpeg direct stream log report:


    Code:
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb442.ts' for writing
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb4.m3u8.tmp' for writing
    frame= 5158 fps= 31 q=-1.0 size=N/A time=00:02:52.03 bitrate=N/A speed=1.02x   
    frame= 5175 fps= 31 q=-1.0 size=N/A time=00:02:52.60 bitrate=N/A speed=1.02x   
    frame= 5192 fps= 31 q=-1.0 size=N/A time=00:02:53.16 bitrate=N/A speed=1.02x   
    frame= 5207 fps= 31 q=-1.0 size=N/A time=00:02:53.66 bitrate=N/A speed=1.02x   
    frame= 5221 fps= 30 q=-1.0 size=N/A time=00:02:54.13 bitrate=N/A speed=1.02x   
    frame= 5239 fps= 31 q=-1.0 size=N/A time=00:02:54.73 bitrate=N/A speed=1.02x   
    frame= 5256 fps= 31 q=-1.0 size=N/A time=00:02:55.30 bitrate=N/A speed=1.02x   
    frame= 5273 fps= 30 q=-1.0 size=N/A time=00:02:55.87 bitrate=N/A speed=0.993x   
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb443.ts' for writing
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb4.m3u8.tmp' for writing
    frame= 5391 fps= 30 q=-1.0 size=N/A time=00:02:59.80 bitrate=N/A speed=0.992x   
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb444.ts' for writing
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb4.m3u8.tmp' for writing
    [q] command received. Exiting.
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb445.ts' for writing
    [hls @ 0x56535d101580] Opening '/config/transcodes/d127b088daa75b52b4b02e56ba9fadb4.m3u8.tmp' for writing
    frame= 5512 fps= 29 q=-1.0 Lsize=N/A time=00:03:03.84 bitrate=N/A speed=0.982x   
    video:43480kB audio:8618kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Any thoughts on what could be causing this transcoding issue?


    Attached Files
    .txt   FFmpeg.Transcode-2023-09-18_20-35-43_7f5acd154b71643603158b5d75faecaf_164905b9.txt (Size: 48.87 KB / Downloads: 50)
    .txt   log part1.txt (Size: 146.98 KB / Downloads: 57)
    .txt   log part2.txt (Size: 147.55 KB / Downloads: 49)
    bitmap
    Offline

    Community Moderator

    Posts: 776
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #2
    2023-09-18, 05:05 AM
    The first error message is unrelated, most likely. It's a slow HTTP response message that plagues all users who don't disable it.

    The other errors are cryptic at best without more context. You'd have to provide more than scraps of the logs for us to take a look at. The first one just says a session Jellyfin expected to find when it was checking playback status was not present so it threw an error. The ffmpeg log looks...fine? It's opening the playlist file and the ts file at the same time which makes sense. It slows to a crawl near the end, gets an exit command from somewhere, then stops. Couldn't this be an issue with running out of disk space in your transcode directory? Or if you're using a RAMdisk, could you have allocated too little for that to be effective? I'm not sure how often the transcode directory is cleaned when viewing Live TV. Again more logs would be needed to do anything effective.

    And a favor? Don't change your font to black...if anybody uses dark mode it makes things impossible to read.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    ralphshep
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    #3
    2023-09-19, 01:27 AM
    Hello @bitmap,

    Thank you for your response!

    What do you mean by "It's a slow HTTP response message that plagues all users who don't disable it" disable what? For more context, I have uploaded the full logs to the initial post. I have this all running in docker containers on a TrueNAS Scale machine that allocates a dynamic 8GB of memory to both the Jellyfin and ErstazTV containers. They also have 128GB of PVC storage. Both of these settings are the standard with the TrueCharts installation. I hope this additional information is helpful!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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