[mythtv] [PATCH] Add streaming output to transcoder

Geoffrey Hausheer ou401cru02 at sneakemail.com
Mon Aug 18 11:41:47 EDT 2003

On Sat, 16 Aug 2003 22:37:20 -0700, "Chris Petersen
lists-at-forevermore.net |mythtv/1.0-Allow|"
<o8f8hesx3k0t at sneakemail.com> said:
> well, so far I've encoded about 34 minutes of audio (toolame mp2) and 19
> minutes of video (ffmpeg | yuvscaler | mpeg2enc), and mythtranscoder is
> using 28% of my gig of RAM, and growing...
> ah.  in my case, I'm using separate encoders for audio and video...
> > overhead).  If mythtranscode is taking up a lot of RAM, you should see
> > messages about creating new buffers, which implies something isn't
> > working correctly. 
> lots and lots and lots of them...  numbering over 500 now.

Okay, can you tell me exactly what you are doing (what commands you are
Basically, whatever it is, you aren't reading the audio and video streams
at the same rate (which implies you rreally need the 'sync' switch I
mentioned...and haven't yet implemented.  If you are using two different
programs to read teh audio and video, this is the obvious cause.  If you
are using the output from ffmpeg, this makes less sense, since ffmpeg
should keep the audio and video in sync.

In your other message, you said:
> Anyway, on a bright note, it seems that I have MAYBE a 1/8-1/4 second
> audio out-of-sync at the end of my 1-hour test show. Not bad, but still
> enough to be noticeable.

Was this on a stream that had (at any time) had commercials clipped?  As
I had once said, I was expecting this to happen, because we basiclaly
ignore the time-sync data when uusing the streaming output.  I think I
can fix this, but I haven't thought about it much yet.  The new streaming
stuff is less than a week old, so obviously it'll need some work to iron
out the issues people run into.


More information about the mythtv-dev mailing list