Plays in sssslllloooowwww motion

Gregory Stark <[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
I have a strange problem. When I play DVDs sometimes it plays in slow motion.
Like, really slow. 12fps. The sound is played in slow motion too, like you're
playing a 72rpm record at 30rpm. Actually even slower.

It doesn't happen all the time, it seems to happen when I go straight to a
scene using scene selection but not if I play the movie right away. Once it
starts it happens everywhere, even the main menus or if I go to play. And if I
go directly to play then it doesn't happen even if I go back to the root menu
and jump to other scenes using the same menu that triggers the problem if I
use it to start with.

It sort of seems to me like a variable isn't being initialized and the sound
card sample rate isn't always being set properly when the framerate of the DVD
changes. So sometimes it's in 24khz when it ought to be in 48khz. I think I
see the same problem in reverse too, the menus seem awfully fast, 60fps. But
the audio sounds sort of reasonable, though it's hard to tell because it's
just a menu.

This is on a new P4P800 motherboard with an intel i810 audio using the OSS
drivers from linux 2.6.1. Sound seems to work fine in xmms and other apps. And
the fact that it works fine in ogle sometimes makes me think it's ogle failing
to do something consistently rather than a hardware issue.

I don't get any messages about trying to get 44khz and getting 40khz or
anything like that.

This is what it looks like when the problem occurs (the 30fps is the menus as
i navigate to scene selection, the 12 fps is when i jump to a scene):

$ ogle
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
The font "-ttf-arial-medium-r-normal-*-14-*-*-*-p-*-iso8859-1" does not support 
all the required character sets for the current locale "C"
  (Missing character set "ISO8859-1")
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000180
...
libdvdread: Elapsed time 0
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 0
No accelerated IMDCT transform found
Xscreensaver not running.
display: frame rate: 0.000 fps
!!!##display: frame rate: 30.056 fps
display: frame rate: 29.974 fps
!!!##display: frame rate: 30.178 fps
display: frame rate: 29.970 fps
display: frame rate: 30.421 fps
+display: frame rate: 30.509 fps
display: frame rate: 30.621 fps
+++++++++++++display: frame rate: 27.594 fps
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++display: frame rate: 12.021 fps
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++display: frame rate: 11.980 fps
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++display: frame rate: 11.981 fps
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++display: frame rate: 12.003 fps
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++display: frame rate: 11.980 fps


This is what it looks like when I just go to play directly and things work:

$ ogle
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
The font "-ttf-arial-medium-r-normal-*-14-*-*-*-p-*-iso8859-1" does not support 
all the required character sets for the current locale "C"
  (Missing character set "ISO8859-1")
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000180
libdvdread: Elapsed time 0
...
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 0
No accelerated IMDCT transform found
Xscreensaver not running.
display: frame rate: 0.000 fps
!!!##display: frame rate: 30.060 fps
display: frame rate: 29.965 fps
!!!##display: frame rate: 30.187 fps
display: frame rate: 29.970 fps
+display: frame rate: 30.730 fps
display: frame rate: 30.334 fps
display: frame rate: 29.965 fps
!!!###!!#!!#!!#!!#!!display: frame rate: 27.254 fps
display: frame rate: 23.975 fps
display: frame rate: 23.975 fps
display: frame rate: 23.975 fps
display: frame rate: 23.978 fps
display: frame rate: 23.975 fps
display: frame rate: 23.975 fps
display: frame rate: 23.975 fps
##display: frame rate: 19.852 fps
display: frame rate: 23.978 fps
display: frame rate: 23.972 fps
display: frame rate: 23.975 fps
display: frame rate: 23.978 fps
display: frame rate: 23.975 fps
--##!!--!!!#----#--display: frame rate: 29.043 fps
--#---#!#!!--#----------#----#-------#----#display: frame rate: 59.221 fps
---------#----#-------#----#-------display: frame rate: 58.854 fps
---#-#---------#----#-------#-------display: frame rate: 58.308 fps
-------#--display: frame rate: 30.125 fps
display: frame rate: 23.320 fps
display: frame rate: 23.981 fps
display: frame rate: 23.975 fps
display: frame rate: 23.972 fps


The 24fps is when the movie is playing, the 60fps is the menus as I navigate
to scene selection but it goes back to 24fps when I choose a scene.



-- 
greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.