[mythtv-users] damaged/corrupt nuv file???

Bruce Markey bjm at lvcm.com
Thu Feb 27 11:00:42 EST 2003


Andrew Peabody wrote:
...
> The previews always work perfectly, that is why I wonder if it is
> related to the audio track.  Is there someway to disable the sound for
> the full screen playback to test this?  I can comment out code and
> recompile it if I know where to look.

In NuppelVideoPlayer.cpp near the bottom of OutputVideoLoop
there is a section that adjusts synchronization to audio.
If you print out "avsync_delay", it should normally be
within + or - 20000 usec. It may be useful to see what these
values look like when you see this problem.

--  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 18:40:27 -0000
@@ -1771,7 +1771,7 @@
 		   given by timecodes[rpos] */
 
 		avsync_delay = (timecodes[rpos] - laudiotime) * 1000; // uSecs
-
+		cerr << avsync_delay << endl;
 		if(avsync_delay < -100000 || avsync_delay > 100000)
 		    nexttrigger.tv_usec += avsync_delay / 3; // re-syncing
 		else


More information about the mythtv-users mailing list