[mythtv] Re: transcoding mpeg2 -> mpeg2

Isaac Richards ijr at po.cwru.edu
Wed Oct 8 23:00:40 EDT 2003


On Wednesday 08 October 2003 09:04 pm, Mike Wilcox wrote:
> Geoffrey Hausheer wrote:
> > Possibly.  In general, the transcoder is just a special type of player
> > (at least as far as mpeg2->mpeg4 goes).  It just asks for a video frame,
> > and sends all relevant data to the encoder (the corresponding audio,
> > frame number and timecode).  So in theory it should just work (myth takes
> > care of audio/video sync during playback as long as the timecodes are
> > accurate).  This caused issues for the fifo code, since it needed to
> > actually sync the streams before sending them, so perhaps we could try
> > that.
>
> Hmmm. Perhaps Myth can't properly read the timecodes of the DVB stream.
> It definitely does a worse job of syncing audio and video than external
> programs which are deliberately written to sync a DVB PVA stream.

The one DVB clip I've seen from back when it first started working, I wasn't 
getting any timestamps at all back from libavformat/libavcodec, so it was 
essentially just guessing what they were in the mythtv part of the code.  So, 
yeah, probably someplace to look first.

Isaac


More information about the mythtv-dev mailing list