n1xkm 3 Posted November 27, 2023 Share Posted November 27, 2023 embyserver.txt Hey, Whenever I play an IPTV (m3u8) stream it plays but only for a couple hours, I think this can be due to HW Transcoding? How can I fix it, I know it isn't the drive filling up because I got a 512GB SSD for transcoding. Thanks. It freezes when it suddenly stops. You can rewind but it stops downloading more parts of the stream. I found this in the logs but I don't know what to do/what it means. (I'm transcoding with Intel Quicksync) 2023-11-27 15:36:27.198 Info Server: http/1.1 Response 200 to host1. Time: 4ms. http://192.168.0.135:8096/emby/videos/142521/master.m3u8?DeviceId=Z7vrZiUvNuK5e99SJeDaZ0GvpwLOy41qVlgLEj2A&MediaSourceId=3a9dbe98f40db09e754bb9828411951f&PlaySessionId=74753ee4996840d9bbceea5ef90e901a&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3a9dbe98f40db09e754bb9828411951f&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3,opus&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=6&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62&hevc-codectag=hvc1,hev1,hevc,hdmv&TranscodeReasons=ContainerNotSupported 2023-11-27 15:36:27.205 Info Server: http/1.1 GET http://192.168.0.135:8096/emby/videos/142521/live.m3u8?DeviceId=Z7vrZiUvNuK5e99SJeDaZ0GvpwLOy41qVlgLEj2A&MediaSourceId=3a9dbe98f40db09e754bb9828411951f&PlaySessionId=74753ee4996840d9bbceea5ef90e901a&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3a9dbe98f40db09e754bb9828411951f&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3,opus&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=6&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62&hevc-codectag=hvc1,hev1,hevc,hdmv&TranscodeReasons=ContainerNotSupported. Accept=*/*, Connection=keep-alive, Host=192.168.0.135:8096, User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; MSAppHost/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.22631, Accept-Encoding=gzip, deflate, Accept-Language=en-US, Cache-Control=no-cache, Range=bytes=0-, GetContentFeatures.DLNA.ORG=1 2023-11-27 15:36:27.251 Debug App: CodecValidation: Processing Plan 2023-11-27 15:36:27.251 Debug App: CodecValidation: Name CanDoInHW WillDoInHW Reason 2023-11-27 15:36:27.251 Debug App: CodecValidation: Copy video stream >> False False Software Codec 2023-11-27 15:36:27.251 Debug App: CodecValidation: VideoInput >> False False Not a hardware decoder 2023-11-27 15:36:27.251 Debug App: CodecValidation: VideoOutput >> False False Not a hardware encoder 2023-11-27 15:36:27.251 Debug App: CodecValidation: Copy video stream >> False False Software Codec 2023-11-27 15:36:27.251 Debug App: CodecValidation: Video Processing Steps for [0:0]: H.264 (AVC) 2023-11-27 15:36:27.251 Debug App: CodecValidation: Step HW-Context Format SW-Format Size Next 2023-11-27 15:36:27.251 Debug App: CodecValidation: H264 >> - yuv420p yuv420p 1280x720 >> 2023-11-27 15:36:27.253 Info App: ProcessRun 'StreamTranscode d14b9c' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/var/lib/emby/logs/ffmpeg-directstream-d14b9c74-bd7c-4cee-a5bc-54e8f58d5c24_1graph.txt" -copyts -start_at_zero -analyzeduration 3000000 -f hls -stream_loop -1 -c:v:0 h264 -user_agent "VLC/3.0.0-git LibVLC/3.0.0-git" -multiple_requests 1 -reconnect_streamed 1 -reconnect_delay_max 2 -i "https://149-34-253-33.servers.party:5052/live13/CgYaH_V0jlzh0s6UNXwsfA/873303/1701113767/3005914.m3u8" -map 0:0 -map 0:1 -sn -c:v:0 copy -c:a:0 copy -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/lib/emby/transcoding-ext/transcoding-temp/5AF455/5AF455.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/5AF455/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/lib/emby/transcoding-ext/transcoding-temp/5AF455/5AF455_%d.ts" 2023-11-27 15:36:27.254 Debug App: ProcessRun 'StreamTranscode d14b9c' Started. 2023-11-27 15:36:28.971 Info App: AppendExtraLogData - Read graph file: /var/lib/emby/logs/ffmpeg-directstream-d14b9c74-bd7c-4cee-a5bc-54e8f58d5c24_1graph.txt 2023-11-27 15:36:28.971 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 27.000 bytes Graph Count: 0 2023-11-27 15:36:28.971 Info App: AppendExtraLogData - File Deleted 2023-11-27 15:36:28.974 Info App: ProcessRun 'StreamTranscode d14b9c' Process exited with code 1 - Failed 2023-11-27 15:36:29.026 Debug EncodingManager: KillTranscodingJob - JobId d14b9c74-bd7c-4cee-a5bc-54e8f58d5c24 PlaySessionId 74753ee4996840d9bbceea5ef90e901a. Killing transcoding 2023-11-27 15:36:29.033 Error Server: Error processing request *** Error Report *** Version: 4.7.14.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.15.0-89-generic (buildd@bos03-amd64-016) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #99-Ubuntu Framework: .NET 6.0.20 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest(StreamRequest request) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() Link to comment Share on other sites More sharing options...
n1xkm 3 Posted November 27, 2023 Author Share Posted November 27, 2023 Here's my transcoding settings. Link to comment Share on other sites More sharing options...
Luke 37100 Posted November 27, 2023 Share Posted November 27, 2023 HI, please attach the ffmpeg log as well. thanks. Link to comment Share on other sites More sharing options...
n1xkm 3 Posted November 28, 2023 Author Share Posted November 28, 2023 I dmed it to you. Link to comment Share on other sites More sharing options...
n1xkm 3 Posted November 28, 2023 Author Share Posted November 28, 2023 5 hours ago, Luke said: HI, please attach the ffmpeg log as well. thanks. my fault i forgot to quote. Link to comment Share on other sites More sharing options...
hootie418 3 Posted December 1, 2023 Share Posted December 1, 2023 I also have issues of recordings being cut after several different time lengths 9min, 26min, etc. No rhyme or reason as to which stream will cut and how long after will it cut. Interested to see if you find anything to assist Link to comment Share on other sites More sharing options...
Korvenwin 0 Posted December 2, 2023 Share Posted December 2, 2023 10 hours ago, hootie418 said: I also have issues of recordings being cut after several different time lengths 9min, 26min, etc. No rhyme or reason as to which stream will cut and how long after will it cut. Interested to see if you find anything to assist I'm having this issue too. Most of my recordings are not finished. Link to comment Share on other sites More sharing options...
Woken 12 Posted December 2, 2023 Share Posted December 2, 2023 (edited) I have always had this issue with emby not finishing recordings, sometimes it will but mostly never. What I did to resolve this is add a recording path to a shared folder but I use Tivimate to record my shows etc. Since you don't need the Tivimate app open after setting recordings it works perfect until emby figures this out it's my method anyway. I do this for the fights boxing etc! Also if your gaming or downloading during any recording on emby it will never download the entire show but on Tivimate it just records perfectly for me even while gaming and downloading. Another thing is you can use an emulator to install Tivimate on windows if you don't like putting extra apps on your device, faster pc ensures best results. Just set up all your recordings and forget about it long as your pc is on Edited December 2, 2023 by Woken Link to comment Share on other sites More sharing options...
Korvenwin 0 Posted December 3, 2023 Share Posted December 3, 2023 I'm an old Plex Premium user until I found that the IPTV support on Emby, aparently, was much better. This is the reason why I've bought Emby Premiere lifetime. If the recording on IPTV is not working for a long time as @Wokensays, I will try a refund. I can't understand that a feature is offered without properly working. Please @Lukeremove it if it is not working or if it not reliable. Most of my records are lost or not finished and the problem is not my server (Ryzen 9 5950X and 128 Gb RAM) or my IPTV, thar works flawlessly most of the time. Link to comment Share on other sites More sharing options...
Luke 37100 Posted December 3, 2023 Share Posted December 3, 2023 More than half the time the problem is with the source feed. Surely that's not a reason to remove a feature, right? Also you may want to try the 4.8 beta server and see how that compares for you. Link to comment Share on other sites More sharing options...
Korvenwin 0 Posted December 5, 2023 Share Posted December 5, 2023 Do you think that using any kind of proxy like xTeVe could do more reliable recording? About to try 4.8 beta, how can I do it? Thank you for your help. Link to comment Share on other sites More sharing options...
Luke 37100 Posted December 5, 2023 Share Posted December 5, 2023 5 hours ago, Korvenwin said: Do you think that using any kind of proxy like xTeVe could do more reliable recording? About to try 4.8 beta, how can I do it? Thank you for your help. It's possible. Just install over the top of your current version: https://emby.media/download Link to comment Share on other sites More sharing options...
Luke 37100 Posted December 12, 2023 Share Posted December 12, 2023 On 11/27/2023 at 8:53 PM, n1xkm said: I dmed it to you. @n1xkmdid you notice the 410 gone error in your ffmpeg log that you sent to me? It looks like the url went dead in the middle of the show. Link to comment Share on other sites More sharing options...
n1xkm 3 Posted December 13, 2023 Author Share Posted December 13, 2023 9 hours ago, Luke said: @n1xkmdid you notice the 410 gone error in your ffmpeg log that you sent to me? It looks like the url went dead in the middle of the show. yeah i eventually did, i implemented a reload script (in xteve) that works for multiple hours now on pretty much every client except apple tv which just freezes after a couple of minutes. Link to comment Share on other sites More sharing options...
n1xkm 3 Posted December 13, 2023 Author Share Posted December 13, 2023 18 hours ago, n1xkm said: yeah i eventually did, i implemented a reload script (in xteve) that works for multiple hours now on pretty much every client except apple tv which just freezes after a couple of minutes. the freezing stopped after i used vlc as the buffer and a 0.5mb buffer size Link to comment Share on other sites More sharing options...
Luke 37100 Posted December 14, 2023 Share Posted December 14, 2023 Is the url changing during playback? Link to comment Share on other sites More sharing options...
n1xkm 3 Posted December 14, 2023 Author Share Posted December 14, 2023 5 hours ago, Luke said: Is the url changing during playback? yeah, it changes every 4 hours. this is not embys problem 1 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