[mythtv-users] [fixed] Re: mythtranscode possible bug?

Pigeon pigeon at pigeond.net
Sat May 15 04:27:02 EDT 2004


Hi,

    I've finally tracked down this audio bug. Turns out it's not in
mythtranscode, but in libmythtv, the NuppelVideoPlayer::AddAudioData function,
which leads to the problem for mythtranscode and nuvexport.

    Now I can finally and perfectly export my recordings :>

    The patch is against 0.14 release tarball, it's simple enough:


--- libs/libmythtv/NuppelVideoPlayer.cpp        Sat Jan 31 17:57:23 2004
+++ libs/libmythtv-fixed/NuppelVideoPlayer.cpp  Sat May 15 17:59:19 2004
@@ -2045,7 +2045,7 @@
             }
 
             buffers[0] = (char *)newlbuffer;
-            buffers[1] = (char *)newlbuffer;
+            buffers[1] = (char *)newrbuffer;
 
             for (incount = 0, outcount = 0; 
                  (incount < samples) && (outcount < newsamples); 



>     I'm hoping this is not just an illusion I have with my ears :)
> 
>     It seems that when mythtranscode is used with -f (i.e. using fifo
> for video and audio output), the audio output becomes a double of one of
> the 2 channels. So it's still a 2-channel audio, but both channels seems to be
> either left or right.
> 
>     I realized this from using nuvexport, cos all the videos I exported
> are having this problem.




More information about the mythtv-users mailing list