xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

Playback get stuck at the specific point on RPI v2 #807

Closed Hakun1n closed 7 years ago

Hakun1n commented 8 years ago

Hello all,

I'm having issues with one of the video files. Video playback is OK for several minutes. Suddenly audio stops to play and also subtitles get stuck, video continues to play. After few seconds video will also get stuck.

It is happening at the exact same spot every time, so it's not random thing. Also notice that the debug overlay info in top-left corner is changing, so it is not a signal lost or something like that.

Source file (cut off of the movie) which is causing the issue - https://mega.nz/#!L09ARRLZ!xsdm_MO6TiQT4ju3mPpGIlNHkqg12ipDL3DKz-bk5mA

Debug log from kodi playing the file above with component specific logging enabled for SMB, FFmpeg, Video and Audio components - videoissue2.zip

Video i took showing what is happening on TV - https://www.youtube.com/watch?v=7RXx7zMMmEg

Hardware is RPi v2, video source is located on SMB share (over LAN). I am using HDMI audio pass through since i have HW receiver Onkyo HT-S3705 which is fully capable of audio decode.

Version is "Kodi 15.2 Git:2015-12-04-858ee60 (Compiled: Dec 5 2015)". I've also did xbian update so i have latest available versions of the components.

The issue occurs only with this specific file, but when i play this on my PC via Zoom Player (with FFmpeg) everything works fine, no issue.

Let me know if more info is needed.

Thanks in advance for taking a look on this :]

//EDIT: I've uploaded better log with also audio component logging enabled.

mkreisl commented 8 years ago

Tested your sample with all my available devices - all of them plays it without any issue.

But I can't use audio passtrough, because my TV does not support DTS, only AC3

Does this sample also stop playing on your rpi2?

Hakun1n commented 8 years ago

Yop, i've tested the provided sample as well. The second log is actually from playing only the sample. I will try to disable passthrough and test again.

Hakun1n commented 8 years ago

Confirmed, cause is DTS passthrough. When i disable it the sample play without issues. When i enabled the DTS passthrough again it got stuck again.

Hakun1n commented 8 years ago

Any idea what can be done with this except disabling the DTS in Kodi? Any additional info/logfiles or whatever needed?

mkreisl commented 8 years ago

Please try Kodi 16.0

Hakun1n commented 8 years ago

Hello,

I've just updated to Kodi 16 and unfortunately i have the same issues with DTS pass-through to my receiver.

I have another video which is "broken" from the start, no sound at all, playback acts "weird". When the DTS pass-through is disabled everything works perfectly. I can provide fresh logs + sample file again if you want.

Thank you in advance for your help!

popcornmix commented 8 years ago

@Stunherald Can you test with this firmware: https://dl.dropboxusercontent.com/u/3669512/temp/firmware_dtshang.zip

extract the files to the boot partition (the one you see from windows).

Hakun1n commented 8 years ago

@popcornmix : Eeeeeh, sh!t ... ^^

Anything i could remove or do i need to extend the partition?

http://i.imgur.com/tp2h3mF.png

popcornmix commented 8 years ago

Just copy the start*.elf and fixup*.dat that currently exist on the sdcard and not the ones that aren't currently there. You can move the start*.elf and fixup*.dat off the sdcard first.

Hakun1n commented 8 years ago

@popcornmix : Bingo! You fixed it ^^ I tried the sample mentioned in first post and it works! Thanks a million!