Deniax 3 Posted September 9, 2024 Posted September 9, 2024 (edited) Hi, I have a problem that after some minutes, the video gets stuck between some frames and goes back and forth between those 2 frames. I reproduced it on both a Macbook and a Windows PC, both in Chrome As shown in the video, when going back a few seconds, the video plays back normally, until it reaches again the same point and gets stuck again. I attached debug serverlog, it happened from timestamp: 2024-09-09 09:40:00 Some additional info: 1) When restarting the movie from scratch, sometimes it does play correctly, so it seems the video is ok. Also I can play the video with "other" mediaservers 2) Emby reported Direct Play for both video and audio 3) Not sure if related to the problem as the video was played as direct play, but I have selected Quicksync at preferred hardware decoders and unselected VAAPI as VAAPI doesnt work for me (I have Raptor Lake CPU, and use Tdarr with VAAPI, so no idea actually why it doesnt work) doc_2024-09-09_10-07-01.mp4 embyserver (1).zip Edited September 9, 2024 by Deniax
Deniax 3 Posted September 10, 2024 Author Posted September 10, 2024 The problem is also happening now on my mobile device, same symptoms as on my phone. debug log i already attached above
Happy2Play 9780 Posted September 11, 2024 Posted September 11, 2024 On 9/9/2024 at 1:44 AM, Deniax said: 2) Emby reported Direct Play for both video and audio I would question that but not sure what client as you said you did multiple tests, but will probably need to see ffmpeg logs also. &TranscodeReasons=ContainerBitrateExceedsLimit 2024-09-09 09:41:23.300 Info App: ProcessRun 'StreamTranscode e69369' Execute: /app/emby/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-e69369bb-768b-41d0-9a54-caa5aaa1127e_1graph.txt" -copyts -start_at_zero -init_hw_device "qsv=dev1:hw_any,child_device=/dev/dri/renderD128" -filter_hw_device dev1 -f matroska,webm -c:v:0 hevc_qsv -threads:v:0 1 -hwaccel:v:0 qsv -hwaccel_output_format:v:0 qsv -noautorotate -i "/data/tvshows/Stranger Things (2016) {imdb-tt4574334}/Season 03/Stranger Things (2016) - S03E01 - Chapter One Suzie Do You Copy [WEBRip-2160p][HDR10][AC3 5.1][h265].mkv" -filter_complex "[0:0]vpp_qsv@f1=width=720:height=404:async_depth=8,setparams@f2=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap@f3=mode=+read:derive_device=opencl,tonemap_opencl@f4=tonemap=hable:format=nv12:desat=0,hwmap@f5=mode=+write:derive_device=qsv:reverse=1:extra_hw_frames=16[f5_out0]" -map [f5_out0] -map 0:2 -sn -c:v:0 h264_qsv -b:v:0 2346000 -g:v:0 72 -maxrate:v:0 2346000 -bufsize:v:0 4692000 -keyint_min:v:0 72 -r:v:0 23.976024627685547 -profile:v:0 high -aud:v:0 1 -c:a:0 libmp3lame -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=eng -filter:a:0 "volume=2" -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/transcode/transcoding-temp/23A5B2/23A5B2.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/transcode/transcoding-temp/23A5B2/23A5B2_%d.ts" -map 0:4 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/transcode/transcoding-temp/23A5B2/23A5B2_s4.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/transcode/transcoding-temp/23A5B2/23A5B2_s4_%d.vtt" -map 0:5 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/transcode/transcoding-temp/23A5B2/23A5B2_s5.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/transcode/transcoding-temp/23A5B2/23A5B2_s5_%d.vtt" 2024-09-09 09:41:23.302 Debug App: ProcessRun 'StreamTranscode e69369' Started. @Lukestill looks like an anonymize issue also. (X-Original-URL, X-Forwarded-Server).
Deniax 3 Posted September 11, 2024 Author Posted September 11, 2024 44 minutes ago, Happy2Play said: I would question that but not sure what client as you said you did multiple tests, but will probably need to see ffmpeg logs also. &TranscodeReasons=ContainerBitrateExceedsLimit 2024-09-09 09:41:23.300 Info App: ProcessRun 'StreamTranscode e69369' Execute: /app/emby/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-e69369bb-768b-41d0-9a54-caa5aaa1127e_1graph.txt" -copyts -start_at_zero -init_hw_device "qsv=dev1:hw_any,child_device=/dev/dri/renderD128" -filter_hw_device dev1 -f matroska,webm -c:v:0 hevc_qsv -threads:v:0 1 -hwaccel:v:0 qsv -hwaccel_output_format:v:0 qsv -noautorotate -i "/data/tvshows/Stranger Things (2016) {imdb-tt4574334}/Season 03/Stranger Things (2016) - S03E01 - Chapter One Suzie Do You Copy [WEBRip-2160p][HDR10][AC3 5.1][h265].mkv" -filter_complex "[0:0]vpp_qsv@f1=width=720:height=404:async_depth=8,setparams@f2=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap@f3=mode=+read:derive_device=opencl,tonemap_opencl@f4=tonemap=hable:format=nv12:desat=0,hwmap@f5=mode=+write:derive_device=qsv:reverse=1:extra_hw_frames=16[f5_out0]" -map [f5_out0] -map 0:2 -sn -c:v:0 h264_qsv -b:v:0 2346000 -g:v:0 72 -maxrate:v:0 2346000 -bufsize:v:0 4692000 -keyint_min:v:0 72 -r:v:0 23.976024627685547 -profile:v:0 high -aud:v:0 1 -c:a:0 libmp3lame -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=eng -filter:a:0 "volume=2" -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/transcode/transcoding-temp/23A5B2/23A5B2.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/transcode/transcoding-temp/23A5B2/23A5B2_%d.ts" -map 0:4 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/transcode/transcoding-temp/23A5B2/23A5B2_s4.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/transcode/transcoding-temp/23A5B2/23A5B2_s4_%d.vtt" -map 0:5 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/transcode/transcoding-temp/23A5B2/23A5B2_s5.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/transcode/transcoding-temp/23A5B2/23A5B2_s5_%d.vtt" 2024-09-09 09:41:23.302 Debug App: ProcessRun 'StreamTranscode e69369' Started. @Lukestill looks like an anonymize issue also. (X-Original-URL, X-Forwarded-Server). Thank you for your reply. Yeah, it seems you are right, ffmpeg (attached) mentions that it was transcoding... Weird, I was pretty sure it was showing direct play.... The client used in the log is a Windows 11 machine, browser Chrome. Note that in that log, it shows only the one time it happened. The other time I was referring to, it was an iOS device, it was a day after, so not visible in the log. ffmpeg-transcode-e69369bb-768b-41d0-9a54-caa5aaa1127e_1.txt.zip
Happy2Play 9780 Posted September 11, 2024 Posted September 11, 2024 Devs will have to comment further but log full of "This may result in incorrect timestamps in the output file" 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 2, current: 1; changing to 3. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 3, current: 2; changing to 4. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 4, current: 3; changing to 5. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 5, current: 4; changing to 6. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 6, current: 5; changing to 7. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 7, current: 6; changing to 8. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 8, current: 7; changing to 9. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 9, current: 8; changing to 10. This may result in incorrect timestamps in the output file. 09:41:26.076 [segment @ 0x119c2c0] Non-monotonous DTS in output stream 2:1; previous: 10, current: 9; changing to 11. This may result in incorrect timestamps in the output file
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