Opened 17 years ago

Closed 17 years ago

#3355 closed defect (fixed)

Fast Forward/Rewind doesn't work with DVDs

Reported by: anonymous Owned by: skamithi
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When fastfowarding or rewinding, even at just 3x the picture jumps instead of moving smoothly. Exiting from ff/rw causes havoc as mythfrontend enters a loop and appears to continually catch up with where it thinks it should be.

Killing mythfrontend is the only way to regain control.

Meanwhile the log fills with the following:

2007-04-26 15:20:27.886 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.892 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.910 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.911 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.916 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.922 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.927 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.933 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.933 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!
2007-04-26 15:20:27.939 NVP::AddAudioData():p1: Audio buffer overflow, audio data lost!

Using [13351]

Attachments (5)

dvd_rewind.log (188.7 KB) - added by anonymous 17 years ago.
Log
restore_dvd_speed_seeking.diff (3.3 KB) - added by skamithi 17 years ago.
set dvd speed to the highest during sticky rew/ffw.
stick_rew_ffw_dvd.diff (12.1 KB) - added by skamithi 17 years ago.
uses data search information from the dvd to perform sticky rew/ffw.
prevent_subtitles_drawing_during_sticky_rew.diff (958 bytes) - added by skamithi 17 years ago.
mythfrontend_r13438.log (230.4 KB) - added by dave@… 17 years ago.
This is a log of '-v playback' for revision 13438. I played a DVD from a bookmark and did a 30 second skip ahead (not ff).

Download all attachments as: .zip

Change History (23)

comment:1 Changed 17 years ago by skamithi

Owner: changed from Isaac Richards to skamithi

comment:2 Changed 17 years ago by skamithi

ffw/rewind works fine for me. need complete "mythtfrontend -v playback" log, not just a snippet.

Changed 17 years ago by anonymous

Attachment: dvd_rewind.log added

Log

comment:3 Changed 17 years ago by anonymous

Attached Log.

comment:4 Changed 17 years ago by skamithi

"firewall", added the mentioned dvd to my netflix queue. i'll update the ticket after i receive and test the dvd.

comment:5 Changed 17 years ago by anonymous

The same thing happens with all DVDs. Rewinding seems to be the biggest culprit, more so than fast forwarding which works some of the time.

comment:6 Changed 17 years ago by skamithi

Resolution: worksforme
Status: newclosed

mr/ms anonymous.. sticky rew/ffw and skip ahead/behind work fine for me on all my dvds, and i'm running the latest as of yesterday. please email me directly and we can continue this discussion.

i'm closing this ticket as a worksforme for now.

comment:7 Changed 17 years ago by stuartm

Resolution: worksforme
Status: closedreopened

Rewinding has never been particularly smooth for me, but the problem with it not recovering after rewinding seems connected to the DVD drive speed option. At 2x it simply doesn't seem fast enough and gets stuck in a loop trying to find it's position.

comment:8 Changed 17 years ago by skd5aner@…

I can confirm that rew/ff isn't smooth for me on DVD, and that occasionally I'll get the same symptoms listed above. Although I'm not sure if it's related to this ticket, but I have even more issues trying to ff/rew anything that's not mpeg2 video using the internal player. It's almost impossible for me to successfully seek an xvid encoded video. Could be related, but I'm not sure.

comment:9 Changed 17 years ago by stuartm

Seeking problems with DVD are unrelated to this issue and probably have more to do with the lack of a seektable, something which is not the fault of mythtv.

Stanley has an idea to improve ff/rew in DVDs so this issue should be resolved in the near future.

Changed 17 years ago by skamithi

set dvd speed to the highest during sticky rew/ffw.

comment:10 Changed 17 years ago by skamithi

pls test patch. this should prevent a hang during sticky rew/ffw of a dvd. working on improving smoothiness during sticky ffw/rew.

comment:11 Changed 17 years ago by stuartm

Patch works as expected in my limited testing.

P.S. I noticed a typo in my earlier comment, so to clarify. Seeking problems with videos other than DVDs are not related to this ticket.

comment:12 Changed 17 years ago by skamithi

(In [13378]) Refs #3355. increase dvd speed to the max during seeking. should prevent hanging during sticky rew/ffw. also increased the initial dvd speed to 12x (only affects users upgrading to svn from 0.20). reduce it if this is too high for you. my dvd drive doesn't make any noise at 12x.

Changed 17 years ago by skamithi

Attachment: stick_rew_ffw_dvd.diff added

uses data search information from the dvd to perform sticky rew/ffw.

comment:13 Changed 17 years ago by skamithi

please test latest patch. should improve the smoothiness of sticky ffw/rew for dvds.

comment:14 Changed 17 years ago by stuartm

Patch works well. It's a lot smoother although it doesn't unfortunately compare to my DVD player.

I noticed something which may or may not be worth looking at. It's still drawing subtitles whilst rewinding or fastforwarding. They aren't going to be readable so maybe we shouldn't even try to draw them.

Changed 17 years ago by skamithi

comment:15 Changed 17 years ago by skamithi

good idea. patch uploaded.

comment:16 Changed 17 years ago by skamithi

(In [13438]) Refs #3355. use dvd data search information to perform sticky ffw/rew.

Changed 17 years ago by dave@…

Attachment: mythfrontend_r13438.log added

This is a log of '-v playback' for revision 13438. I played a DVD from a bookmark and did a 30 second skip ahead (not ff).

comment:17 Changed 17 years ago by dave@…

See my attached file mythfrontend_r13438.log. Basically with trunk revision 13438 I am getting 'Audio buffer overflow, audio data lost!' when skipping ahead 30 seconds. I very rarely use ff/rw.

comment:18 Changed 17 years ago by skamithi

Resolution: fixed
Status: reopenedclosed

(In [13461]) Closes #3355. implement suggestion from stuartm. don't display subtitles during sticky ffw/rew.

Note: See TracTickets for help on using tickets.