[mythtv] fast playback problem

Bruce Markey bjm at lvcm.com
Thu Feb 27 11:40:54 EST 2003


Eli Criffield wrote:
...
> Oh and the preview in the corner of the first playback screen is playing
> back fast not matter what the settings are.

This really shouldn't happen. It ought to simply play ~30
frames per second so this may be the best clue to track
down the problem. The preview should not be affected by
audio buffering, jitter reduction, or commercial skip code.

If you still see the fast playback on the previews, please
try this debug output. This first column should increment
about every 30th frame. The second should increase by about
33 for each frame and the last column should always be 29.97.
Please send a sample of the output if you see anything
significantly different.

--  bjm


-------------- next part --------------
Index: MC/libs/libmythtv/NuppelVideoPlayer.cpp
===================================================================
RCS file: /var/lib/cvs/MC/libs/libmythtv/NuppelVideoPlayer.cpp,v
retrieving revision 1.140
diff -u -r1.140 NuppelVideoPlayer.cpp
--- MC/libs/libmythtv/NuppelVideoPlayer.cpp	25 Feb 2003 04:45:21 -0000	1.140
+++ MC/libs/libmythtv/NuppelVideoPlayer.cpp	27 Feb 2003 19:32:57 -0000
@@ -1674,6 +1674,9 @@
         // calculate 'delay', that we need to get from 'now' to 'nexttrigger'
         gettimeofday(&now, NULL);
 
+	cerr << now.tv_sec % 1000 << '\t' << now.tv_usec / 1000
+	     << '\t' << video_frame_rate << endl;
+
         delay = (nexttrigger.tv_sec - now.tv_sec) * 1000000 +
                 (nexttrigger.tv_usec - now.tv_usec); // uSecs
 


More information about the mythtv-dev mailing list