Touz604 11 Posted July 30, 2024 Posted July 30, 2024 Hey guys, I'm trying to understand why transcoding fails when using Embycon using subtitles. When not using subtitles transcoding works flawlessly. Transcoding also works great on all other clients, for instance Android TV, Android, iOS, etc. It was even working on Embycon last year when I was using LibreElec 11.x, instead of 12 right now. @TeamB Thanks! embyserver-63857818444.txt ffmpeg-transcode-71a7b7b4-f2ba-4c9b-ae86-92dec847381b_1.txt
Luke 39008 Posted July 30, 2024 Posted July 30, 2024 Hi, the kodi log would probably be helpful too. Thanks:
Touz604 11 Posted August 18, 2024 Author Posted August 18, 2024 sorry about the delay, so here are new emby logs, as well as the error displayed on the screen and the kodi debug log. Thanks! ffmpeg-transcode-4a138db6-d489-4630-a5ca-da9e3e28a544_1.txt embyserver.txt kodi.log
TeamB 2400 Posted August 18, 2024 Posted August 18, 2024 (edited) 2024-08-18 19:43:24.832 T:2099 info <general>: ffmpeg[0x42fb28e0]: [hls] Opening 'https://0b06e944fb6644cf830bef07b7fb2579@emby.REDACTED.xyz:443/emby/videos/142/hls1/main/0.ts?PlaySessionId=30cbb7b741084d7bb3caeb494660eafc' for reading ... 30 seconds later ... 2024-08-18 19:43:54.134 T:2099 error <general>: ffmpeg[0x42fb28e0]: [tls] Unknown error 2024-08-18 19:43:54.134 T:2099 error <general>: ffmpeg[0x42fb28e0]: [hls] Error when loading first segment 'https://0b06e944fb6644cf830bef07b7fb2579@emby.REDACTED.xyz:443/emby/videos/142/hls1/main/0.ts?PlaySessionId=30cbb7b741084d7bb3caeb494660eafc' 2024-08-18 19:43:54.137 T:2099 debug <general>: Error, could not open file https://USERNAME@emby.REDACTED.xyz:443/emby/videos/142/master.m3u8?DeviceId=2c827504b9b342eab36acfc4ff6fc7f4&MediaSourceId=13c1f9bbb57cbc04c1c7b9501cbf22c6&PlaySessionId=30cbb7b741084d7bb3caeb494660eafc&api_key=cffbca67c394477091dde361c2888cd0&VideoCodec=h264&AudioCodec=ac3&VideoBitrate=7616000&TranscodingMaxAudioChannels=2&SegmentContainer=ts&BreakOnNonKeyFrames=False&TranscodeReasons=ContainerBitrateExceedsLimit&AudioBitrate=256000&MaxWidth=1920&SubtitleStreamIndex=5 2024-08-18 19:43:54.137 T:2099 error <general>: OpenDemuxStream - Error creating demuxer it looks like it is just timing out. @Luke is the server trying to extract subtitles or something? Edited August 18, 2024 by TeamB
TeamB 2400 Posted August 18, 2024 Posted August 18, 2024 @Touz604if the following setting is enabled on your Emby server, try turning it off and test again.
Touz604 11 Posted August 19, 2024 Author Posted August 19, 2024 13 hours ago, TeamB said: @Touz604if the following setting is enabled on your Emby server, try turning it off and test again. It returns the same error when this option is turned off.
Luke 39008 Posted August 19, 2024 Posted August 19, 2024 3 hours ago, Touz604 said: It returns the same error when this option is turned off. Make sure to turn that back on after testing. 1
Luke 39008 Posted August 19, 2024 Posted August 19, 2024 17 hours ago, TeamB said: 2024-08-18 19:43:24.832 T:2099 info <general>: ffmpeg[0x42fb28e0]: [hls] Opening 'https://0b06e944fb6644cf830bef07b7fb2579@emby.REDACTED.xyz:443/emby/videos/142/hls1/main/0.ts?PlaySessionId=30cbb7b741084d7bb3caeb494660eafc' for reading ... 30 seconds later ... 2024-08-18 19:43:54.134 T:2099 error <general>: ffmpeg[0x42fb28e0]: [tls] Unknown error 2024-08-18 19:43:54.134 T:2099 error <general>: ffmpeg[0x42fb28e0]: [hls] Error when loading first segment 'https://0b06e944fb6644cf830bef07b7fb2579@emby.REDACTED.xyz:443/emby/videos/142/hls1/main/0.ts?PlaySessionId=30cbb7b741084d7bb3caeb494660eafc' 2024-08-18 19:43:54.137 T:2099 debug <general>: Error, could not open file https://USERNAME@emby.REDACTED.xyz:443/emby/videos/142/master.m3u8?DeviceId=2c827504b9b342eab36acfc4ff6fc7f4&MediaSourceId=13c1f9bbb57cbc04c1c7b9501cbf22c6&PlaySessionId=30cbb7b741084d7bb3caeb494660eafc&api_key=cffbca67c394477091dde361c2888cd0&VideoCodec=h264&AudioCodec=ac3&VideoBitrate=7616000&TranscodingMaxAudioChannels=2&SegmentContainer=ts&BreakOnNonKeyFrames=False&TranscodeReasons=ContainerBitrateExceedsLimit&AudioBitrate=256000&MaxWidth=1920&SubtitleStreamIndex=5 2024-08-18 19:43:54.137 T:2099 error <general>: OpenDemuxStream - Error creating demuxer it looks like it is just timing out. @Luke is the server trying to extract subtitles or something? No it reads them as it steps through the video. Does the kodi player indicate any specific problem that it has with the content?
TeamB 2400 Posted August 19, 2024 Posted August 19, 2024 5 hours ago, Luke said: No it reads them as it steps through the video. Does the kodi player indicate any specific problem that it has with the content? no, it looks like a time out error, it makes the request, waits 20 seconds and then throws an error that it cant read the first segment. my assumption here was that emby is blocking for some reason and the only thing i could think of was the subs extraction.
Luke 39008 Posted August 20, 2024 Posted August 20, 2024 It might block if the player is requesting a segment that hasn’t been generated yet. But that log is on the first segment, so it’s odd that that one is taking so long.
TeamB 2400 Posted August 20, 2024 Posted August 20, 2024 so you see nothing weird in the ffmpeg log above? I am not sure why Emby is not returning the first segment in a timely manner, but I feel that is the root issue here. Kodi just times out trying to play the first segment.
Luke 39008 Posted October 20, 2024 Posted October 20, 2024 @Touz604have you updated to Emby Server 4.8.10? Has that helped?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now