DVDPlayer drops out on FastForward
#1
I'm using an Acer Revo R3610, originally running the Camelot Live release, but updated to Dharma through aptitude. I've got an external Samsung slimline DVD drive connected by USB.

Whenever I'm watching episodes from retail DVDs (latest example: Stargate SG1) and attempt to fast forward the credits near the beginning, the DVD skips to the copyright notice at the end. I can often get 2x FF going, but 4x usually fails, and 8x always fails.

Found this in the log file at what appears to be the right time:
Quote:19:36:32 T:2866174832 M:1672007680 NOTICE: Creating video codec with codec id: 2
19:36:32 T:2866174832 M:1672007680 NOTICE: Creating video thread
19:36:32 T:3051445104 M:1672007680 NOTICE: running thread: video_thread
19:36:33 T:2866174832 M:1672007680 WARNING: error while seeking
19:36:33 T:2855684976 M:1672007680 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
19:36:33 T:2855684976 M:1672007680 ERROR: AddPackets - More bytes left than can be stored in buffer
19:36:33 T:2855684976 M:1674928128 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
19:36:33 T:2866174832 M:1674928128 WARNING: error while seeking
19:36:33 T:2855684976 M:1674928128 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
19:36:34 T:2866174832 M:1674928128 NOTICE: Closing audio stream
19:36:34 T:2866174832 M:1674928128 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
19:36:34 T:2866174832 M:1674928128 NOTICE: Waiting for audio thread to exit
19:36:34 T:2855684976 M:1674928128 NOTICE: thread end: CDVDPlayerAudio::OnExit()
19:36:34 T:2866174832 M:1674928128 NOTICE: Closing audio device
19:36:34 T:2866174832 M:1674928128 NOTICE: Deleting audio codec


Any ideas what's causing this, and is there anything I can do to move faster?
Reply
#2
Signed in to second this. I'm having the exact same behavior, only I'm not able to confirm what's going on under the hood since I'm not sure where I should be looking for the log file.

Just as Fisbowler stated, I too have problems fast forwarding with DVDPlayer. I'm using the latest live release (10.0), only I'm running from a Shuttle XS35GT. Further, I'm not playing off of retail DVDs in a DVD-Rom drive, but rather, streaming .ISO rips from a mediaserver.

Regardless, it's the same:

I'm able to fast forward from 2x to 4x reliably, but the instant I hit 8x, the video stream freezes for a frame or two, and then I'm immediately kicked back to the DVD's most recent menu. I'm watching Family Guy, Volume 5, Disc 2, and if I try to FF to 8x, I'm kicked back to the Episode Selection Menu (the last menu I was in). I'm not sure if this is worth noting, but having had similar experience with VLC a few years ago, I'm not getting kicked back to the root menu of the DVD.

If anyone could tell me where the appropriate logs would be, I'd be happy to provide dumps as Fishbowler has done.
Reply
#3
The log file is in ~/.xbmc/temp/ and is called xbmc.log

I accessed it using putty - just fire up putty, type the machine name or IP in the box and hit enter. Log in with your configured username and password, then type:

cd .xbmc/temp
cat xbmc.log

You can, as an alternative to that last line, use "tail xbmc.log" which will give you the last 10 lines. If can get more lines by using e.g. "tail -20 xbmc.log"

Putty can be a little weird with copying and pasting.
Reply
#4
I have the same issue but it only occurs with DvD isos that contain TV eppisodes. I am running an abit 35pro with intel q9550 and 9600 gt. I have gotten the same results from both windows and live 10.0 xbmc. I've tried several skins as well just to make sure. All had the same issue - I'll try to upload a log file latter showing it happen
Reply
#5
I'm still having the same trouble with 10.1. Is there maybe a way to increase the buffer size and the read ahead of the DVD Player?

I figure this has got to be something to do with using a slower external drive, hitting the end of the buffer, and the drive not keeping up with the demands of the faster playback. If it's possible to increase the amount it's caching during the opening few minutes of playback, it'd massively decrease the chance of hitting the end of the buffer when doing small jumps (e.g. credits).
Reply
#6
I have exactly the same issue but using a Mac mini (Xbmc 10.1).
Reply
#7
I'm afraid to say I never resolved it. I got rid of the external drive when I bought a Blu-ray player.
Reply
#8
There's a bug report on the bug tracker for this issue http://trac.xbmc.org/ticket/12369

I don't seem to be able to add myself to the CC list though.
Reply
#9
In the comments of the bug report, abrasive posted about a patch that would work. I wonder if this bug has been resolved in the latest beta or RC?

I guess that one has to compile xbmc in order to apply this patch. I dont have the knowledge to do so, so I wonder if someone have compiled with this patch and would like to share the build?

The patch:

Code:
diff --git a/lib/libdvd/libdvdnav/src/searching.c b/lib/libdvd/libdvdnav/src/searching.c
index 0d3475e..03f1696 100644
--- a/lib/libdvd/libdvdnav/src/searching.c
+++ b/lib/libdvd/libdvdnav/src/searching.c
@@ -225,13 +225,9 @@ timemapdone:
     if(found) {

       length = cell->last_sector - cell->first_sector + 1;
-      if (target >= length) {
-        target -= length;
-      } else {
-        /* convert the target sector from Cell-relative to absolute physical sector */
-        target += cell->first_sector;
-        break;
-      }
+      /* target is in absolute sectors */
+      if (target <= cell->last_sector)
+         break;
Reply
#10
Hate to bump this i am having this same issue on bluray discs or dvd with multiple files, for blurays it occurs with seamless branching, its the same error being discussed here, it kicks you back....

Has anyone been able to resolve this?
Reply

Logout Mark Read Team Forum Stats Members Help
DVDPlayer drops out on FastForward0