Kodi Community Forum
Loading external audio tracks - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Loading external audio tracks (/showthread.php?tid=126156)

Pages: 1 2 3 4 5


RE: Loading external audio tracks - access denied - 2012-10-07

Well, the video skips to a new position, but starts stuttering. The audio does not skip, just continue playing where it was.


RE: Loading external audio tracks - Ace - 2012-10-07

Can you please post a debug log?


RE: Loading external audio tracks - sialivi - 2012-10-08

Here's a log where I perform the following steps:

1) Start movie
2) Skip chapter (works)
3) Switch to external audio file
4) Skip chapter (video/audio no longer synced)
5) Stop playback

http://xbmclogs.com/show.php?id=10174




RE: Loading external audio tracks - DDDamian - 2012-10-08

@sialivi - do you notice any implications when not using an external audio track (when skipping chapters or otherwise)? In other words is there any negative effects on normal playback?

I ask as the merge window is closing soon, and if there's no ill-effect on normal playback, and just this issue for ace to resolve, it may still be mergeable and ace will have the opportunity to patch that issue.


RE: Loading external audio tracks - sialivi - 2012-10-08

I didn't use it for an extended amount of time, but the short period I did there were no problems with the internal audio. I'll try testing a bit longer with internal audio and post if there are any problems, but so far I would say it's mergeable.


RE: Loading external audio tracks - sialivi - 2012-10-08

@DDDamian

Did some longer tests with internal audio tracks and still no issues.

I did notice one thing with external audio tracks though, which might just be a coincidence. When chapter skipping and the audio/video becomes de-synced, the video tries to re-sync by stuttering (when skipping forward) or playing really fast (when skipping back). This reminded me of the issue I reported to you a while back regarding switching between internal audio tracks, which caused the video and audio to become de-synced, and I believe you said this was caused by some buffer not getting flushed. Could this issue with external audio files be related to that bug? Some buffer not getting flushed?

It's not quite the same though since that bug happened just by switching audio track while this only seem to happen when chapter skipping.


RE: Loading external audio tracks - DDDamian - 2012-10-08

@sialivi - it is quite possibly related - are the symptoms the same with both internal and external tracks?


RE: Loading external audio tracks - sialivi - 2012-10-08

Other than one happening on switching between internal tracks and one by skipping chapters, the result is identical.


RE: Loading external audio tracks - sialivi - 2012-10-08

Just tested with a movie that both has multiple internal tracks and external tracks. Switching to any track, internal or external, causes the video and audio to become de-synced, didn't have to chapter skip.


RE: Loading external audio tracks - Ace - 2012-10-08

Just a brief note regarding chapters: audio tracks do not have chapters. I have a fix in my mind, but had no time so far.


RE: Loading external audio tracks - Ace - 2012-10-08

Uploaded a new version: https://github.com/downloads/ace20022/xbmc/XBMCSetup-20121008-6970341-dx.exe.
Skipping/seeking chapters should work now.




RE: Loading external audio tracks - Ace - 2012-10-08

(2012-10-08, 06:32)sialivi Wrote: Just tested with a movie that both has multiple internal tracks and external tracks. Switching to any track, internal or external, causes the video and audio to become de-synced, didn't have to chapter skip.

Could you please test what happens if you move all ext. audio files out of the directory?
A debug log could also help.


RE: Loading external audio tracks - access denied - 2012-10-08

Now that's better (#41). I can skip back and forth and external audio seems to keep in sync. Syncing seems to take longer than with the internal audio, but still. Will test more later.


RE: Loading external audio tracks - sialivi - 2012-10-08

(2012-10-08, 13:25)ace20022 Wrote: Could you please test what happens if you move all ext. audio files out of the directory?
A debug log could also help.

Do you mean switching between internal tracks without any external ones in the directory?

I have a log of that in the bugtracker, http://trac.xbmc.org/ticket/13322, but that's not with your build. Would your build behave differently?


RE: Loading external audio tracks - Ace - 2012-10-08

I just thought this only happens with my build Wink since
(2012-10-08, 06:32)sialivi Wrote: Just tested with a movie that both has multiple internal tracks and external tracks. Switching to any track, internal or external, causes the video and audio to become de-synced, didn't have to chapter skip.

Am I right that the above mentioned issue has nothing todo with my patches?