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:
This is all followed by the following repeated error messages:
In the final lines in the FFmpeg direct stream log report:
Any thoughts on what could be causing this transcoding issue?
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?