naronaro 1 Posted February 19 Share Posted February 19 (edited) Background: I have added my iptv provider url via the m3u playlist. Emby parsed the channels. When I click on some of the HD channels it breaks with "No compatible streams are currently available. Please try again later or contact your system administrator for details." 1. I have originally started on RPI (standalone install) + Emby for Samsung TV (the TizenOs stuff, model is QN85C (if that is of any interest)) so I thought the problem is with the RPI. 2. I have swtched to an older ubuntu 21 machine (standalone install) and tried playing on the Samsung TV - still the same issue 3. Switched to a more powerfull ubuntu 20 machine and installed via docker because I read somewhere that there can be a mismatch between the ffmpeg on the host because emby wants a custom version that it ships with it. To rule out the Samsung TV I just tried playing the same channel on the emby player in chrome - the same issue. 4. I opened the m3u in VLC on the machine and there all is playing well. So I started looking at the emby logs, that is what happens when i click on a channel: 2024-02-19 21:15:33.581 Info Server: http/1.1 POST http://localhost:8096/emby/Items/98/PlaybackInfo?UserId=697f5e543d4945ca88407f14f541c9a3&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=160000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 2024-02-19 21:15:33.584 Info App: User policy for MyEmbyUser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2024-02-19 21:15:33.584 Info LiveTvManager: Opening channel stream, external channel Id: m3u_ManuallyRemovedId 2024-02-19 21:15:33.584 Info LiveTV: Streaming Channel m3u_ManuallyRemovedId, with streamId: e1f2cc9a51b4c64cd9180ca491a1b654 2024-02-19 21:15:33.584 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from Http-http://host3/x_path2_x/x_path3_x?e=1708392377&hash=ManuallyRemovedHash 2024-02-19 21:15:33.584 Info HttpClient: GET http://host3/x_path2_x/x_path3_x?e=1708392377&hash=ManuallyRemovedHash 2024-02-19 21:15:33.706 Info HttpClient: Http response 200 from http://host3/x_path2_x/x_path3_x?e=1708392377&hash=ManuallyRemovedHash after 121ms. Headers Server=nginx, Date=Mon, 19 Feb 2024 21:15:33 GMT, Transfer-Encoding=chunked, Connection=keep-alive, Access-Control-Allow-Origin=*, Access-Control-Expose-Headers=Content-Length, Content-Range 2024-02-19 21:15:33.706 Info HttpClient: GET http://host3/x_path2_x/x_path4_x/x_path5_x?e=1708392377&hash=ManuallyRemovedHash 2024-02-19 21:15:33.800 Info HttpClient: Http response 200 from http://host3/x_path2_x/x_path4_x/x_path5_x?e=1708392377&hash=ManuallyRemovedHash after 94ms. Headers Server=nginx, Date=Mon, 19 Feb 2024 21:15:33 GMT, Transfer-Encoding=chunked, Connection=keep-alive, Access-Control-Allow-Origin=*, Access-Control-Expose-Headers=Content-Length, Content-Range 2024-02-19 21:15:36.801 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /bin/ffprobe -analyzeduration 3000000 -user_agent "VLC/3.0.0-git LibVLC/3.0.0-git" -i "ManuallyRemovedUrl" -threads 0 -v info -print_format json -show_streams -show_format -show_data 2024-02-19 21:15:37.249 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2024-02-19 21:15:37.250 Info M3UTunerHost: Live stream opened after 3666.0051ms 2024-02-19 21:15:37.250 Info LiveTV: Returning mediasource streamId e1f2cc9a51b4c64cd9180ca491a1b654, mediaSource.Id e1f2cc9a51b4c64cd9180ca491a1b654, mediaSource.LiveStreamId 2024-02-19 21:15:37.251 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"e1f2cc9a51b4c64cd9180ca491a1b654","Path":"ManuallyRemovedUrl","Type":"Default","Container":"hls","IsRemote":true,"HasMixedProtocols":false,"ContainerStartTimeTicks":189071765440,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654","RequiresLooping":true,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","StreamStartTimeTicks":189073860000,"TimeBase":"1/90000","VideoRange":"SDR","DisplayTitle":"1080p H264","NalLengthSize":"0","IsInterlaced":false,"BitRate":10000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false,"ExtendedVideoType":"None","ExtendedVideoSubType":"None","ExtendedVideoSubTypeDescription":"None"},{"Codec":"aac","StreamStartTimeTicks":189071765440,"TimeBase":"1/90000","DisplayTitle":"AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","ExtendedVideoType":"None","ExtendedVideoSubType":"None","ExtendedVideoSubTypeDescription":"None"}],"Formats":[],"Bitrate":10192000,"RequiredHttpHeaders":{"User-Agent":"VLC/3.0.0-git LibVLC/3.0.0-git","Referrer":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"DefaultAudioStreamIndex":1} 2024-02-19 21:15:37.251 Info App: User policy for MyEmbyUser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2024-02-19 21:15:37.251 Info SessionManager: Adding playSession 545a1dfdbfd844a4b6ee19d94580d45c to session a23c1c4d071e6e18457d0a8f459afb95 2024-02-19 21:15:37.251 Info Server: http/1.1 Response 200 to ::1. Time: 3670ms. POST http://localhost:8096/emby/Items/98/PlaybackInfo?UserId=697f5e543d4945ca88407f14f541c9a3&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=160000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json 2024-02-19 21:15:37.356 Info Server: http/1.1 GET http://localhost:8096/emby/videos/98/master.m3u8?DeviceId=7ddf008f-831d-4675-8437-d6b5e5865ccf&MediaSourceId=e1f2cc9a51b4c64cd9180ca491a1b654&PlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&api_key=x_secret3_x&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654&VideoCodec=h264,av1&AudioCodec=mp3,aac&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62. Accept=*/*, Connection=keep-alive, Host=host1, User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, Accept-Encoding=gzip, deflate, br, Accept-Language=en-US,en;q=0.9, Referer=http://localhost:8096/web/index.html?, sec-ch-ua="Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24", sec-ch-ua-mobile=?0, sec-ch-ua-platform="Linux", Sec-Fetch-Site=same-origin, Sec-Fetch-Mode=cors, Sec-Fetch-Dest=empty 2024-02-19 21:15:37.357 Info Server: http/1.1 Response 200 to ::1. Time: 1ms. GET http://localhost:8096/emby/videos/98/master.m3u8?DeviceId=7ddf008f-831d-4675-8437-d6b5e5865ccf&MediaSourceId=e1f2cc9a51b4c64cd9180ca491a1b654&PlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&api_key=x_secret3_x&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654&VideoCodec=h264,av1&AudioCodec=mp3,aac&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62 2024-02-19 21:15:37.363 Info Server: http/1.1 GET http://localhost:8096/emby/videos/98/live.m3u8?DeviceId=7ddf008f-831d-4675-8437-d6b5e5865ccf&MediaSourceId=e1f2cc9a51b4c64cd9180ca491a1b654&PlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&api_key=x_secret3_x&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654&VideoCodec=h264,av1&AudioCodec=mp3,aac&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62. Accept=*/*, Connection=keep-alive, Host=host1, User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, Accept-Encoding=gzip, deflate, br, Accept-Language=en-US,en;q=0.9, Referer=http://localhost:8096/web/index.html?, sec-ch-ua="Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24", sec-ch-ua-mobile=?0, sec-ch-ua-platform="Linux", Sec-Fetch-Site=same-origin, Sec-Fetch-Mode=cors, Sec-Fetch-Dest=empty then it tries to transcode (strange as I have intel HD graphics mapped in the docker container which support AVC but that is not important for now) 2024-02-19 21:15:37.380 Info App: ProcessRun 'StreamTranscode 49d3dc' Execute: /bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-directstream-49d3dcb4-e576-4b3e-a7d4-58e21a88ab62_1graph.txt" -copyts -start_at_zero -analyzeduration 3000000 -f hls -stream_loop -1 -c:v:0 h264 -noautorotate -user_agent "VLC/3.0.0-git LibVLC/3.0.0-git" -multiple_requests 1 -reconnect 1 -reconnect_on_network_error 1 -reconnect_on_http_error 5xx,4xx -reconnect_streamed 1 -reconnect_delay_max 8 -i "ManuallyRemovedUrl" -map 0:0 -map 0:1 -sn -c:v:0 copy -c:a:0 copy -disposition:a:0 default -copypriorss:a:0 0 -fflags +discardcorruptts+fillwallclockdts -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/config/transcoding-temp/852DE7/852DE7.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/852DE7/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/config/transcoding-temp/852DE7/852DE7_%d.ts" 2024-02-19 21:15:40.241 Info Server: http/1.1 POST http://localhost:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 2024-02-19 21:15:40.243 Info Server: http/1.1 Response 204 to ::1. Time: 2ms. POST http://localhost:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json 2024-02-19 21:15:47.843 Info Server: http/1.1 POST http://localhost:8096/emby/Sessions/Playing?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 2024-02-19 21:15:47.845 Info SessionManager: Playback start reported by app Emby Web 4.8.1.0 playing ManuallRemovedChannelName. Started at 0 ms 2024-02-19 21:15:47.845 Info Server: http/1.1 Response 204 to ::1. Time: 2ms. POST http://localhost:8096/emby/Sessions/Playing?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json 2024-02-19 21:15:47.851 Info Server: http/1.1 POST http://localhost:8096/emby/Items/98/PlaybackInfo?UserId=697f5e543d4945ca88407f14f541c9a3&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=-1&EnableDirectPlay=false&EnableDirectStream=false&AllowVideoStreamCopy=false&MediaSourceId=e1f2cc9a51b4c64cd9180ca491a1b654&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654&MaxStreamingBitrate=160000000&CurrentPlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 2024-02-19 21:15:47.852 Info App: User policy for MyEmbyUser. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2024-02-19 21:15:47.853 Info SessionManager: Removing playSession 545a1dfdbfd844a4b6ee19d94580d45c from session a23c1c4d071e6e18457d0a8f459afb95 2024-02-19 21:15:47.853 Info SessionManager: Adding playSession 349b56b78d4d4d68921689a11e7a9a34 to session a23c1c4d071e6e18457d0a8f459afb95 2024-02-19 21:15:47.853 Info Server: http/1.1 Response 200 to ::1. Time: 2ms. POST http://localhost:8096/emby/Items/98/PlaybackInfo?UserId=697f5e543d4945ca88407f14f541c9a3&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=-1&EnableDirectPlay=false&EnableDirectStream=false&AllowVideoStreamCopy=false&MediaSourceId=e1f2cc9a51b4c64cd9180ca491a1b654&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654&MaxStreamingBitrate=160000000&CurrentPlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json 2024-02-19 21:15:47.858 Info Server: http/1.1 POST http://localhost:8096/emby/Videos/ActiveEncodings/Delete?deviceId=7ddf008f-831d-4675-8437-d6b5e5865ccf&PlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Linux&X-Emby-Device-Id=7ddf008f-831d-4675-8437-d6b5e5865ccf&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us. Accept=*/*, Connection=keep-alive, Host=host1, User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, Accept-Encoding=gzip, deflate, br, Accept-Language=en-US,en;q=0.9, Origin=host2, Referer=http://localhost:8096/web/index.html?, Content-Length=0, sec-ch-ua="Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24", sec-ch-ua-mobile=?0, sec-ch-ua-platform="Linux", Sec-Fetch-Site=same-origin, Sec-Fetch-Mode=cors, Sec-Fetch-Dest=empty 2024-02-19 21:15:47.860 Info App: ProcessRun 'StreamTranscode 49d3dc': Stopping ffmpeg process with q command for /config/transcoding-temp/852DE7/852DE7_0.ts 2024-02-19 21:15:47.945 Info App: ProcessRun 'StreamTranscode 49d3dc': Stopping ffmpeg process with q command for /config/transcoding-temp/852DE7/852DE7_0.ts 2024-02-19 21:15:47.948 Info App: AppendExtraLogData - Read graph file: /config/logs/ffmpeg-directstream-49d3dcb4-e576-4b3e-a7d4-58e21a88ab62_1graph.txt 2024-02-19 21:15:47.948 Warn App: AppendExtraLogData: Unable read graph output file: /config/logs/ffmpeg-directstream-49d3dcb4-e576-4b3e-a7d4-58e21a88ab62_1graph.txt 2024-02-19 21:15:47.950 Info App: ProcessRun 'StreamTranscode 49d3dc' Process exited with code 137 - Failed here is the content of the ffmpeg-directstream-49d3dcb4-e576-4b3e-a7d4-58e21a88ab62_1.txt (the graph file is not created - or at least I cannot find it in the /config/logs dir ...) 2024-02-19 21:15:37.379 Operating System: Linux version 5.15.0-94-generic (buildd@lcy02-amd64-118) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #104~20.04 OS/Process: x64/x64 Emby Server version: 4.8.1.0 Operating system: Unix 5.15.0.94 Command Line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 App: Emby Web 4.8.1.0 Google Chrome Linux User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 http://localhost:8096/emby/videos/98/live.m3u8?DeviceId=7ddf008f-831d-4675-8437-d6b5e5865ccf&MediaSourceId=e1f2cc9a51b4c64cd9180ca491a1b654&PlaySessionId=545a1dfdbfd844a4b6ee19d94580d45c&api_key=54be2920fb564508afa5c0a40e25936e&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654&VideoCodec=h264,av1&AudioCodec=mp3,aac&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62 {"Protocol":"Http","Id":"e1f2cc9a51b4c64cd9180ca491a1b654","Path":"ManuallyRemovedUrl","Type":"Default","Container":"hls","IsRemote":true,"HasMixedProtocols":false,"ContainerStartTimeTicks":189071765440,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654","RequiresLooping":true,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","StreamStartTimeTicks":189073860000,"TimeBase":"1/90000","VideoRange":"SDR","DisplayTitle":"1080p H264","NalLengthSize":"0","IsInterlaced":false,"BitRate":10000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false,"ExtendedVideoType":"None","ExtendedVideoSubType":"None","ExtendedVideoSubTypeDescription":"None"},{"Codec":"aac","StreamStartTimeTicks":189071765440,"TimeBase":"1/90000","DisplayTitle":"AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","ExtendedVideoType":"None","ExtendedVideoSubType":"None","ExtendedVideoSubTypeDescription":"None"}],"Formats":[],"Bitrate":10192000,"RequiredHttpHeaders":{"User-Agent":"VLC/3.0.0-git LibVLC/3.0.0-git","Referrer":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"DefaultAudioStreamIndex":1} >>>>>> User policy for MyEmbyUser Enable Playback Remuxing: True Enable Video Playback Transcoding: True Enable Audio Playback Transcoding: True >>>>>> Processing Plan Name CanDoInHW WillDoInHW Reason Copy video stream >> False False Software Codec VideoInput >> False False Not a hardware decoder VideoOutput >> False False Not a hardware encoder Copy video stream >> False False Software Codec >>>>>> Video Processing Steps for [0:0]: H.264 (AVC) Step HW-Context Format SW-Format Size Next H264 >> - yuv420p yuv420p 1920x1080 >> /bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-directstream-49d3dcb4-e576-4b3e-a7d4-58e21a88ab62_1graph.txt" -copyts -start_at_zero -analyzeduration 3000000 -f hls -stream_loop -1 -c:v:0 h264 -noautorotate -user_agent "VLC/3.0.0-git LibVLC/3.0.0-git" -multiple_requests 1 -reconnect 1 -reconnect_on_network_error 1 -reconnect_on_http_error 5xx,4xx -reconnect_streamed 1 -reconnect_delay_max 8 -i "ManuallyRemovedUrl" -map 0:0 -map 0:1 -sn -c:v:0 copy -c:a:0 copy -disposition:a:0 default -copypriorss:a:0 0 -fflags +discardcorruptts+fillwallclockdts -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/config/transcoding-temp/852DE7/852DE7.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/852DE7/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/config/transcoding-temp/852DE7/852DE7_%d.ts" 21:15:37.386 ffmpeg version 5.1-emby_2023_06_25 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC 21:15:37.386 built with gcc 10.3.0 (crosstool-NG 1.25.0) 21:15:37.386 Execution Date: 2024-02-19 21:15:37 21:15:37.410 [http @ 0x213e580] Will reconnect at 396 in 0 second(s), error=End of file. 21:15:37.433 [http @ 0x213e580] Will reconnect at 0 in 1 second(s), error=End of file. 21:15:38.459 [http @ 0x213e580] Will reconnect at 0 in 3 second(s), error=End of file. 21:15:41.572 [http @ 0x213e580] Will reconnect at 0 in 7 second(s), error=End of file. ======= ExtraData H4sIAAAAAAAAA71YbW/aOhT+K1Wke7+MlwQCBKTpisF6V13aTYXtvmmKTOwkVp04c5wWNvW/32MnAUICbTft9kvh2Of98WMfvhkzHkUoxsbkm3FJmSQirXz89/Njy/id8TVi7xNJeayX84+fEMuI2vPNuEERMSbG1mgZWrqUgsYBSKTIiPHY2u1IQC7dQKAkTF2fMlLT6Ho89mnQZTxIu74fJSRoYyqIJ1MpCIra9hj3sbe222QwGrbtdZ+00Qjb7YFDehZyHLQe9lxLu+jIjTz07vFkK9Mng0wlEtJF0v1KBD+xW9XlKk4ymRdgTqJsQ4SuHUEyE6SwFTLlr5CttomSlZtbxumafn4sHVzFmGyMiVl8/SC45B5nDa6kTGq+qjrnPO7Sz1IiXBSQWNZy/7SYdfsds2O2AyovFnRdERzWMMqYpAkjriBfwP4zqg4t5nEMfX7+TpfHbkzkAxd3LhGCi5epqoKd0BtsNi17s2lWzYFI8Au8YcLQ1o3QpqbjKCw9PqsxKEZs+5XgTCC1oWaqb+q/wwj82iYFyArWVS4u4zypbW1bOc6Xek8JdI/jRqD3hnYNfZ8oJrxUeRru6TSTu+0TH7GUtIxrgin6gyqOyu09D8UITAHskaxTjDacp6YN5vkpYzPw7BUG3uUJ6R1avk/y7UYSOJVYrxWp3vCYHC8ts7WsrGrpLYoDJVvOb0H0gW4Iu+QiQjKPgHFRfjW22b3dM1Vn3sZQhRhEH+M0IR71KeBP1+wqBqpmyIPvZcneUHmrEp8Y487g4npNZVedPxCnH4jQHo2J1dOSOUlkaEyclnFL/EsBuUMZrbIy9KuyYo175sYyHROMTO+JAHLQOwsnvUHXMpQ+Yg3iqYpXxUO5MjWcjFXWgmv2hzLTIATBgtyroAxb+QAgxCjiIgmpt0tqz4N5vw4hBjorGpE3KNXhdsf6HChDc+IjoKK9lRSKe1irq/QdQQoYV1GC4J7Zr8xpmsCpXVGpA1X5JxcFKqaMrVCgkatMqK4LOJ073feCBhQER9DaQyhfWKqbRkW+ot6dqrszNkd9Z6jCP5FSA4TOBXqD2ILEgQyLVuZVOYcZK2cR8yw6fqiw7wj0XCpPDnj5k2LlQmGsCV29QQ1ZSlQD0BEcGlF3cJXWW3aVrshGqiOr6lg2rlhcZknChdxpHS3vL2X1dCLHx/rgHBc4t80TKH8BtTy9OiepJ6gmyHLj46Mi/5MsjpBXI/Fphul3k7i6Eqscrs09YaeV72om5ul0ZhQbykOVhz0LEdy2cL9NersvC7TlmWpB/mEJ7dP42FOk5YyAJO9KklyiCJ4txZptWzmP5MCxjrinTOWncw+kfJGWoX8/9+RlOkM91mg4sO1T1HMuqEZOOe5BWqu+OvWKaiqtO2yB7sAPFnPPFYvZninK5u17+9NJ4X843ACJj4IV08Ck2402zrATMLLOWMfjUReef36IuyFur2PZttohdkOsiLhLVR06UT9zfiOvrZHp9Me9/mj0a4jS8LVs3yX26uPldvD3P2+GC/dh8GXwV2Aod+8zuRuDrpuHoJQEUT5OVJnl+skxaP9OzU24fk6px086NSbK6sO2UGA0rW8vh0wpUJwCU4G0LUmUdJ1Bb/52VPzTxThl09Uvu1ocJzQknKf6e/2kbfggtm4iiE/rEwO0sIyzyUA+vcZZtCb1uaYyHEDH6T3FGWJuSBDQtQv1AKTW1YoX8171QVBJXqxVhphrq4KfnK6fNxH5PlNMeGzkFaaphwT2uBBZImX6Cs4/e0CMeYx7d7iKFJjK8vmsPgXWByp0zymGoTOAl8U95FB3Dr7RmunX+ZkxrDwSlTgSNyISYSRR4yxW3eqFKNE/0pwa2/KDefr3guLnl+qRPFJ68ro/nA1n+bBL8JJnQM1X6rY3J+rmeNkM91m/UZqtWcZLXxO7okFjEp7SxtEZF7fL0Y9FiaBcpPUSmxqiO659Hp24v+COQh5o/gekOsP0eBMAAA== --- Then it tries to do this thing two more times (three times for happiness? :) and finally fails 2024-02-19 21:16:09.834 Info SessionManager: Playback stopped reported by app Emby Web 4.8.1.0 on Google Chrome Linux playing ManuallRemovedChannelName. Stopped at 0 ms 2024-02-19 21:16:09.836 Info MediaSourceManager: Live stream e1f2cc9a51b4c64cd9180ca491a1b654 consumer count is now 0 2024-02-19 21:16:09.836 Info MediaSourceManager: Closing live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654 2024-02-19 21:16:09.836 Info SharedHttpPipelineSource: Closing SharedHttpPipelineSource 2024-02-19 21:16:09.836 Info SharedHttpPipelineSource: Deleting temp files 2024-02-19 21:16:09.836 Info MediaSourceManager: Live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_e1f2cc9a51b4c64cd9180ca491a1b654 closed successfully 2024-02-19 21:16:09.836 Info SessionManager: Removing playSession 011833525671450499db44e371cff4dc from session a23c1c4d071e6e18457d0a8f459afb95 Edited February 19 by naronaro Link to comment Share on other sites More sharing options...
Luke 37116 Posted February 20 Share Posted February 20 hi there @naronaroplease attach the complete emby server and ffmpeg log files. Thanks. Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 20 Author Share Posted February 20 Here are the full unobfuscated logs (I have sent you the pwd via PM) logs.zip Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 21 Author Share Posted February 21 @Luke anything else I can provide/test? Link to comment Share on other sites More sharing options...
Luke 37116 Posted February 25 Share Posted February 25 HI, we'll be putting out a 4.8.2 maintenance release in the coming days. I think there's a good chance it will resolve this. Thanks. Link to comment Share on other sites More sharing options...
Luke 37116 Posted February 25 Share Posted February 25 Actually I might be wrong. 4.8.2 will have a live tv fix, but I'm not sure it will help you. Notice these in your ffmpeg logs: 08:59:57.201 Execution Date: 2024-02-20 08:59:57 08:59:57.427 [http @ 0x121c480] Will reconnect at 397 in 0 second(s), error=End of file. 08:59:57.451 [http @ 0x121c480] Will reconnect at 0 in 1 second(s), error=End of file. 08:59:58.479 [http @ 0x121c480] Will reconnect at 0 in 3 second(s), error=End of file. 09:00:01.506 [http @ 0x121c480] Will reconnect at 0 in 7 second(s), error=End of file. This suggests that the stream url isn't sending back any data. Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 25 Author Share Posted February 25 I saw this also, but for some channels it all works fine for others not. And if I open the same m3u url in VLC all channels work without issue i.e. no connectivity issues. Тhe VLC is running locally on the same machine where emby is running in the container so both exit from the same machine to the outside. Is there some more debug logging that I can turn on to see what is going on? Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 25 Author Share Posted February 25 So I see that the calls for the same url using ffprobe were ok : MediaProbeManager: ProcessRun 'ffprobe' Execute: /bin/ffprobe MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded and then MediaSourceManager: Live stream opened: {"Protocol":"Http"," also something strage, it actually tries to do a direct stream in the beginning App: ProcessRun 'StreamTranscode c7ea05' Execute: /bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-directstream-c7ea051a-6e18-4212-8ec7-6900f5b3263b_1graph.txt" then it says that playback was started SessionManager: Playback start reported by app Emby Web 4.8.1.0 playing then this two messages I do not understand as there was no playing session in before 2024-02-20 08:59:56.958 Info SessionManager: Removing playSession 6b5fd65f5e0248b8adaa4b8a7f8928e4 from session 4c8491919e07c202d43f7cd3f10d000c 2024-02-20 08:59:56.958 Info SessionManager: Adding playSession 03c2f4a36f1145909d3d991531bac6e0 to session 4c8491919e07c202d43f7cd3f10d000c then when it fails with 2024-02-20 08:59:56.979 Info App: ProcessRun 'StreamTranscode c7ea05': Stopping ffmpeg process with q command for /config/transcoding-temp/C2C448/C2C448_0.ts 2024-02-20 08:59:57.024 Info App: AppendExtraLogData - Read graph file: /config/logs/ffmpeg-directstream-c7ea051a-6e18-4212-8ec7-6900f5b3263b_1graph.txt 2024-02-20 08:59:57.024 Warn App: AppendExtraLogData: Unable read graph output file: /config/logs/ffmpeg-directstream-c7ea051a-6e18-4212-8ec7-6900f5b3263b_1graph.txt 2024-02-20 08:59:57.088 Info App: ProcessRun 'StreamTranscode c7ea05' Process exited with code 137 - Failed I can see the ffmpeg-directstream-c7ea051a-6e18-4212-8ec7-6900f5b3263b_1.txt >>>>>> Processing Plan Name CanDoInHW WillDoInHW Reason Copy video stream >> False False Software Codec VideoInput >> False False Not a hardware decoder VideoOutput >> False False Not a hardware encoder Copy video stream >> False False Software Codec <some more data> 08:59:47.152 ffmpeg version 5.1-emby_2023_06_25 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC 08:59:47.152 built with gcc 10.3.0 (crosstool-NG 1.25.0) 08:59:47.152 Execution Date: 2024-02-20 08:59:47 08:59:47.180 [http @ 0x727580] Will reconnect at 397 in 0 second(s), error=End of file. 08:59:47.205 [http @ 0x727580] Will reconnect at 0 in 1 second(s), error=End of file. 08:59:48.232 [http @ 0x727580] Will reconnect at 0 in 3 second(s), error=End of file. 08:59:51.344 [http @ 0x727580] Will reconnect at 0 in 7 second(s), error=End of file. but then when it tries again for the second time it is all of a sudden transcoding attempt? App: ProcessRun 'StreamTranscode 24051a' Execute: /bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-24051a18-e83d-4aa4-a24b-ec7673bead2e_1graph.txt" I can see the ffmpeg-transcode-24051a18-e83d-4aa4-a24b-ec7673bead2e_1graph.txt >>>>>> Processing Plan Name CanDoInHW WillDoInHW Reason VAAPI UHD Graphics 620 - H.264 (AVC) >> True True Hardware Codec VideoInput >> True True Same adapter (/dev/dri/renderD128), same hardware co... VideoOutput >> True True Hardware encoder VAAPI UHD Graphics 620 - H.264 (AVC) >> True True Hardware Codec <some more data> 08:59:57.201 ffmpeg version 5.1-emby_2023_06_25 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC 08:59:57.201 built with gcc 10.3.0 (crosstool-NG 1.25.0) 08:59:57.201 Execution Date: 2024-02-20 08:59:57 08:59:57.427 [http @ 0x121c480] Will reconnect at 397 in 0 second(s), error=End of file. 08:59:57.451 [http @ 0x121c480] Will reconnect at 0 in 1 second(s), error=End of file. 08:59:58.479 [http @ 0x121c480] Will reconnect at 0 in 3 second(s), error=End of file. 09:00:01.506 [http @ 0x121c480] Will reconnect at 0 in 7 second(s), error=End of file. so now it is transcoding but again connectivity issues? 2024-02-20 09:00:07.226 Info App: AppendExtraLogData - Read graph file: /config/logs/ffmpeg-transcode-24051a18-e83d-4aa4-a24b-ec7673bead2e_1graph.txt 2024-02-20 09:00:07.226 Warn App: AppendExtraLogData: Unable read graph output file: /config/logs/ffmpeg-transcode-24051a18-e83d-4aa4-a24b-ec7673bead2e_1graph.txt 2024-02-20 09:00:07.228 Info App: ProcessRun 'StreamTranscode 24051a' Process exited with code 137 - Failed can it be that the URLs are invalid (I am not ver much in to details of this m3u to url exchanges - i see some hashes being passed around). Can it be that emby is somehow not getting the correct urls? I find it very strange that on the same machine on the same time I can watch everything fine with VLC and not with emby. Do you perhaps know a way how can I increase logging in VLC so that I can compare what VLC is doing to get the stream running? Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 25 Author Share Posted February 25 p.s. I have tried "Refresh Guide Data" already Link to comment Share on other sites More sharing options...
Luke 37116 Posted February 25 Share Posted February 25 It could be that the URLs are invalid. It could also be that they require some special handling and we just don’t know what that is yet. Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 25 Author Share Posted February 25 @luke how do you normally discover that? Is there something I can help/share? Link to comment Share on other sites More sharing options...
naronaro 1 Posted February 25 Author Share Posted February 25 @luke I just installed kodi on the same machine where emby is running and kodi is also fine, all channels work. At this point it looks like there is nothing special with my IPTV provider as VLC, Kodi (will test with plex soon) work on the same machine. That tells me there is something wrong with emby Link to comment Share on other sites More sharing options...
naronaro 1 Posted March 1 Author Share Posted March 1 @luke - if you wish I can provide you with a LiveTV url that you can test on your side? Link to comment Share on other sites More sharing options...
Luke 37116 Posted March 1 Share Posted March 1 3 hours ago, naronaro said: @luke - if you wish I can provide you with a LiveTV url that you can test on your side? That would be great, thanks. Link to comment Share on other sites More sharing options...
naronaro 1 Posted March 1 Author Share Posted March 1 @LukeDone, I have sent you a PM, title is "LiveTv Stream with problems". I am not sending it here as it is a private url Link to comment Share on other sites More sharing options...
naronaro 1 Posted March 7 Author Share Posted March 7 @LukeAnything else I can do to help here? Link to comment Share on other sites More sharing options...
naronaro 1 Posted March 9 Author Share Posted March 9 @LukePlex works and also to my upmost surprise Jellyfin also works out of the box. Are you planning to release a fix? If you consider that issue unimportant please share so that I can drop my emby subscription. For me the lack of generic m3u tv support is a dealbreaker Link to comment Share on other sites More sharing options...
Luke 37116 Posted March 19 Share Posted March 19 HI, are you still having an issue with this? Link to comment Share on other sites More sharing options...
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