[mythtv] mpegts adding av streams with bad codecs

Daniel Kristjansson danielk at cuymedia.net
Fri May 4 20:59:39 UTC 2007


On Thu, 2007-05-03 at 14:17 -0400, Bryan Mayland wrote:
> In the process of coding up support for Brighthouse Tampa's PACE550 
> cablebox via FireWire, my final challenge came in the form of MythTV 
> thinking that the AC3 audio stream was actually MPEG1 Video.  I tracked 
> the problem down to r6861 (2005-06-18 ljr) where code was added to 
> libavformat/mpegts.c handle_packet().
<snip>

This was an ffmpeg resync.

Can you open a ticket for this, preferably with a link
to a short (~10 second) clip that exhibits the problem?
 
> Long story short the video plays but the audio stream is still 
> MPEG1VIDEO so I have no audio.  Removing the new_pes_av_stream() call 
> from the first code block allows the code in mpegts_push_data to 
> allocate it and set the values correctly.  I can't see why this code is 
> needed (it was added in r6861 and does not exist in ffmpeg).  Should I 
> trac a patch to remove it, or am I missing something obvious here?

MythTV's mpegts.c differs quite a bit WRT to the ffmpeg
version. They don't support half the streams we do, but
we haven't gotten our version into an ffmpeg friendly
enough state to sync back to them. That said, this is
probably just a bug introduced when merging ffmpeg
improvements back into MythTV's ffmpeg.

-- Daniel



More information about the mythtv-dev mailing list