YoungJedi 0 Posted November 7, 2021 Posted November 7, 2021 I receive constant freezing when streaming IPTV to a chromecast with Google TV, I want it to hardware encode but it seems to always stutter consistently. I already downmix the audio to stereo after seeing another article. Can you please assist?
Luke 38559 Posted November 8, 2021 Posted November 8, 2021 Hi there, can we please look at the details of an example? Thanks.
YoungJedi 0 Posted November 8, 2021 Author Posted November 8, 2021 11 hours ago, Luke said: Hi there, can we please look at the details of an example? Thanks. What logs do you need? as for what happens is it freezes then buffers then plays then starts back up sometimes once every 3-5 seconds and takes 30 seconds to several minutes to catch back up and play again.
YoungJedi 0 Posted November 8, 2021 Author Posted November 8, 2021 2021-11-08 07:59:29.306 Info Server: http/1.1 Response 500 to 192.168.1.99. Time: 25104ms. http://192.168.1.100:8096/emby/videos/37/live.m3u8?DeviceId=adccd630d1632e2d&MediaSourceId=b8bada8692484b5c0289fd41a2163abe&StartTimeTicks=4865480000&PlaySessionId=b49ceda5749f4643b6e38766321f7f4f&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_b8bada8692484b5c0289fd41a2163abe&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=159904350&AudioBitrate=95650&MaxHeight=2160&AudioStreamIndex=1&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&AllowInterlacedVideoStreamCopy=True&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=2&mp4a_latm-audiochannels=2&ac3-audiochannels=2&eac3-audiochannels=2&aac-audiochannels=2&mp3-audiochannels=2&TranscodeReasons=DirectPlayError,DirectPlayError&AllowVideoStreamCopy=false 2021-11-08 07:59:29.312 Info Server: http/1.1 Response 200 to 127.0.0.1. Time: 9951ms. http://127.0.0.1:8096/LiveTv/LiveStreamFiles/8dfc68832eec4464b7861ba1f3453c0e/stream.ts 2021-11-08 07:59:29.312 Info App: AppendExtraLogData - Read graph file: /config/logs/ffmpeg-transcode-ee4340f3-2d03-4601-b344-8985874086a4_1graph.txt 2021-11-08 07:59:29.312 Warn App: AppendExtraLogData: Unable read graph output file: /config/logs/ffmpeg-transcode-ee4340f3-2d03-4601-b344-8985874086a4_1graph.txt 2021-11-08 07:59:29.312 Info App: ProcessRun 'StreamTranscode ee4340' Process exited with code 137 2021-11-08 07:59:31.214 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/videos/37/live.m3u8?DeviceId=adccd630d1632e2d&MediaSourceId=b8bada8692484b5c0289fd41a2163abe&StartTimeTicks=4865480000&PlaySessionId=b49ceda5749f4643b6e38766321f7f4f&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_b8bada8692484b5c0289fd41a2163abe&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=159904350&AudioBitrate=95650&MaxHeight=2160&AudioStreamIndex=1&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&AllowInterlacedVideoStreamCopy=True&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&aac_latm-audiochannels=2&mp4a_latm-audiochannels=2&ac3-audiochannels=2&eac3-audiochannels=2&aac-audiochannels=2&mp3-audiochannels=2&TranscodeReasons=DirectPlayError,DirectPlayError&AllowVideoStreamCopy=false. Connection=Keep-Alive, Accept-Encoding=gzip, Host=192.168.1.100:8096, User-Agent=Emby/2.0.48g (Linux;Android 10) ExoPlayerLib/2.13.2 2021-11-08 07:59:31.236 Info App: ProcessRun 'StreamTranscode ecc34d' Execute: /app/emby/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-ecc34d66-1fde-4843-95c1-0a5812adc1ad_1graph.txt" -copyts -start_at_zero -analyzeduration 3000000 -f mpegts -ss 00:08:06.548 -c:v:0 h264_cuvid -hwaccel:v:0 cuda -hwaccel_device:v:0 0 -hwaccel_output_format:v:0 cuda -user_agent "VLC/3.0.0-git LibVLC/3.0.0-git" -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/8dfc68832eec4464b7861ba1f3453c0e/stream.ts" -map 0:0 -map 0:1 -sn -c:v:0 h264_nvenc -b:v:0 159904350 -g:v:0 180 -maxrate:v:0 159904350 -bufsize:v:0 319808700 -sc_threshold:v:0 0 -keyint_min:v:0 180 -r:v:0 59.940059661865234 -profile:v:0 high -c:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -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/4B1897.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/4B1897/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/config/transcoding-temp/4B1897_%d.ts" 2021-11-08 07:59:31.251 Info Server: http/1.1 GET http://127.0.0.1:8096/LiveTv/LiveStreamFiles/8dfc68832eec4464b7861ba1f3453c0e/stream.ts. UserAgent: VLC/3.0.0-git LibVLC/3.0.0-git 2021-11-08 07:59:41.676 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/Users/75f7bdceab6143fc8ba4e16b9beec8b7?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:41.678 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 2ms. http://192.168.1.100:8096/emby/Users/75f7bdceab6143fc8ba4e16b9beec8b7?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:41.882 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/Notifications/Types?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:41.887 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 6ms. http://192.168.1.100:8096/emby/Notifications/Types?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:41.897 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/Notifications/Types?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:41.898 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 1ms. http://192.168.1.100:8096/emby/Notifications/Types?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:42.593 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/System/Configuration?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:42.601 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/System/Logs/Query?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Thumb&StartIndex=0&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:42.603 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 10ms. http://192.168.1.100:8096/emby/System/Configuration?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:42.616 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 15ms. http://192.168.1.100:8096/emby/System/Logs/Query?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Thumb&StartIndex=0&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:46.235 Error App: Request cancelled during ValidateEncoderOutput 2021-11-08 07:59:46.343 Info Server: http/1.1 Response 200 to 127.0.0.1. Time: 15092ms. http://127.0.0.1:8096/LiveTv/LiveStreamFiles/8dfc68832eec4464b7861ba1f3453c0e/stream.ts 2021-11-08 07:59:46.355 Info App: AppendExtraLogData - Read graph file: /config/logs/ffmpeg-transcode-ecc34d66-1fde-4843-95c1-0a5812adc1ad_1graph.txt 2021-11-08 07:59:46.355 Warn App: AppendExtraLogData: Unable read graph output file: /config/logs/ffmpeg-transcode-ecc34d66-1fde-4843-95c1-0a5812adc1ad_1graph.txt 2021-11-08 07:59:46.355 Info App: ProcessRun 'StreamTranscode ecc34d' Process exited with code 137 2021-11-08 07:59:46.358 Info App: ProcessRun 'StreamTranscode ecc34d' Execute: /app/emby/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-ecc34d66-1fde-4843-95c1-0a5812adc1ad_1graph.txt" -copyts -start_at_zero -analyzeduration 3000000 -f mpegts -ss 00:08:06.548 -c:v:0 h264 -user_agent "VLC/3.0.0-git LibVLC/3.0.0-git" -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/8dfc68832eec4464b7861ba1f3453c0e/stream.ts" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -g:v:0 180 -maxrate:v:0 159904350 -bufsize:v:0 319808700 -sc_threshold:v:0 0 -keyint_min:v:0 180 -r:v:0 59.940059661865234 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -level:v:0 5.1 -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 23 -c:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -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/4B1897.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/4B1897/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/config/transcoding-temp/4B1897_%d.ts" 2021-11-08 07:59:46.373 Info Server: http/1.1 GET http://127.0.0.1:8096/LiveTv/LiveStreamFiles/8dfc68832eec4464b7861ba1f3453c0e/stream.ts. UserAgent: VLC/3.0.0-git LibVLC/3.0.0-git 2021-11-08 07:59:50.374 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/System/Logs/embyserver.txt/Lines?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Thumb&StartIndex=0&Limit=100&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:50.395 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 21ms. http://192.168.1.100:8096/emby/System/Logs/embyserver.txt/Lines?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Thumb&StartIndex=0&Limit=100&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:53.674 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/System/Logs/embyserver.txt/Lines?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Thumb&StartIndex=100&Limit=100&EnableTotalRecordCount=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 2021-11-08 07:59:53.681 Info Server: http/1.1 Response 200 to 192.168.1.99. Time: 8ms. http://192.168.1.100:8096/emby/System/Logs/embyserver.txt/Lines?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Thumb&StartIndex=100&Limit=100&EnableTotalRecordCount=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=3dcaa083-ace9-4dbd-b0fe-87cbd47ba60f&X-Emby-Client-Version=4.7.0.15 2021-11-08 07:59:56.215 Error App: Request cancelled during ValidateEncoderOutput 2021-11-08 07:59:56.317 Error Server: Error processing request *** Error Report *** Version: 4.7.0.15 Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3 Operating system: Linux version 5.10.28-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Wed Apr 7 08:23:18 PDT 2021 Framework: .NET Core 3.1.17 OS/Process: x64/x64 Runtime: app/emby/System.Private.CoreLib.dll Processor count: 8 Data path: /config Application path: /app/emby 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 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
YoungJedi 0 Posted November 8, 2021 Author Posted November 8, 2021 Please see the attached logs. embyserver.txt ffmpeg-transcode-ecc34d66-1fde-4843-95c1-0a5812adc1ad_1.txt
Luke 38559 Posted November 9, 2021 Posted November 9, 2021 Can you try sideloading our standard android app on the same device and see how that compares? https://emby.media/download.html Thanks.
YoungJedi 0 Posted November 14, 2021 Author Posted November 14, 2021 this freezes across various apps as well as the web client. I also get media bitrate exceeds limit. Any other suggestions? this is the only way I IPTV on my TV's and it is getting really bad embyserver.txt ffmpeg-transcode-9d5a8e98-02eb-4f44-a155-c8fe21a540f7_1.txt
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