v17 Slow playback with no audio after comskip
#1
Hello,

I am experiencing an odd issue after a commercial is skipped where the video seems to be buffering and the audio is out. Eventually the playback resumes normally and the audio comes back. My current workaround is to stop playback and resume. It was working fine on Kodi 16.1 and has occurred since moving to Kodi 17. My setup is a HTPC connected to a receiver and outputting to a TV. Please let me know if there is anymore information needed.

Pastebin of the debug log: http://pastebin.com/L02LaDv4
Reply
#2
This sequence looks strange

Code:
18:45:26 T:3092  NOTICE: VideoPlayer: Opening: D:\Recorded TV\The Hunt With John Walsh_CNNHD_2016_07_03_20_00_00.wtv
18:45:26 T:3092 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:45:26 T:3092   ERROR: DXVA::CProcessorHD::IsFormatSupported - Unsupported format 104 for 1.
18:45:26 T:3092   ERROR: DXVA::CProcessorHD::IsFormatSupported - Unsupported format 105 for 1.
18:45:26 T:8088   DEBUG: Thread VideoPlayer start, auto delete: false
18:45:26 T:8088  NOTICE: Creating InputStream
18:45:26 T:8088    INFO: CUtil::ScanPathsForAssociatedItems: found associated file D:\Recorded TV\The Hunt With John Walsh_CNNHD_2016_07_03_20_00_00.wtv

Does this recording use external subtitle or audio files? If not, can you share this recording?
Reply
#3
No external subtitle or audio file that I am aware of. Just the wtv file from media center and the edl created by comskip. The recording was deleted, but I have another recording I can send you. It is happening on all recordings. I'll update as soon as I am done getting the file uploaded.

Link to recording with EDL file: https://drive.google.com/file/d/0B2Oe8yo...sp=sharing
Reply
#4
Thanks. This should fix it: https://github.com/xbmc/xbmc/pull/10076
Reply
#5
Thanks! I'll give it a go when I get home.
Reply
#6
Modified the Util.cpp and compiled from source. The slow video after a skip is excellent now. After the skip video is very fluid. Audio is still pretty delayed. Takes a little bit and then the audio returns.

Debug log: http://pastebin.com/T1VYeph5

EDIT: Did a test from another computer there is no audio delay and the audioplays right away. I then disabled audio pass-through on the HTPC and no delay in the audio. I turn it back on using either direct sound or wsapi and sure enough the issue comes back.
Reply
#7
This a a major disadvantage when using passthrough audio. a/v sync won't get ideal. We don't get any information how much data the AVR buffers for decoding.
Why do you use passthrough? I see that you have audio connected via HDMI. In that case passthrough does not give you any advantage.
Reply
#8
I've always had it setup that way to passthrough the dolby digital or dts from tv/movies to the receiver. So are you saying I will get the same exact audio if I turn off passthrough? If the audio is exactly the same then I can just disable passthrough if not I guess it is go back to 16.1.
Reply
#9
(2016-07-07, 14:43)Vonmolk Wrote: I've always had it setup that way to passthrough the dolby digital or dts from tv/movies to the receiver. So are you saying I will get the same exact audio if I turn off passthrough? If the audio is exactly the same then I can just disable passthrough if not I guess it is go back to 16.1.

Yes, because because it is all digital. The process of decoding can't be done good or bad. It results in exactly the same whether it is done by Kodi or your AVR. If you don't decrease volume on Kodi, PCM output frames are bit perfect.
Reply
#10
Okay sounds good. Thanks for the fix Fernet. It did smooth out the wtv playback after skip. I will disable passthrough Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Slow playback with no audio after comskip0