[mythtv] record/playback bug

Bruce Markey bjm at lvcm.com
Mon Mar 10 14:18:53 EST 2003


Eli Criffield wrote:
> I tried playing a show recorded earlier and it does the same thing with the
> time. The OSD displays the wrong time, way behind the actual time in the
> show. Then weird things happen like if i fast forward it actually goes
> back-wards in the file (presumably to where it thinks it is and the OSD
> reports it is). Rewinding just doesn't work at all. My problems are
> probably in part the same as the no-rewind bug previously mentioned.

There seems to be problems related to seeking for some
recordings and also audio sync with some recordings. These
may or may not be related but both have been difficult to
pin down. You previously reported an interesting variation
where the playback previews ran at the wrong speed. If you
still have recordings with this behavior, I'd de interested
in seeing this debug output.

Thanks,

--  bjm


-------- Original Message --------
Subject: Re: [mythtv] fast playback problem
Date: Thu, 27 Feb 2003 11:40:54 -0800
From: Bruce Markey <bjm at lvcm.com>
Reply-To: Development of mythtv <mythtv-dev at snowman.net>
To: Development of mythtv <mythtv-dev at snowman.net>
References: <20030224135344.B6188 at joey.criffield.net>

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