[mythtv] AvFormatDecoder::InitVideoCodec()
Daniel Kristjansson
danielk at cuymedia.net
Wed Oct 4 13:52:29 UTC 2006
On Wed, 2006-10-04 at 14:39 +0100, Stuart Auchterlonie wrote:
>
> I wonder if it's ffmpeg or myth that's mis-identifying streams.
> (re -dev thread "Problem tuning to channel after 6pm with 0.20")
I don't know what the after 6pm problem is, but if the stream has
very large PAT or PMT sections it is a MythTV problem. We only write
out the first 184 bytes of these tables (188-header). This could
then possibly be compounded by a problem reading larger PAT/PMT
sections, and/or not processing multi-section PAT/PMT tables in
ffmpeg. But I haven't looked at that code for some time, I don't
recall if that really is a problem...
But the mis-identification that avformatdecoder sees is due to an
ffmpeg problem. Last I checked ffmpeg assumes a stream is video
if it can't identify it as anything else. It probably should just
identify such streams as anonymous "data" streams.
> I'll poke around a bit tonight see if I can work out the culprit.
Great. We've greatly improved the MPEG-TS handling in our
version of ffmpeg, but it still has a few rough edges...
I've long wanted to sync our code to ffmpeg, but the
callbacks need to be replaced with a "info" stream. Such
a stream would not only make it suitable for re-merging
with ffmpeg, but would also allow us to handle resolution
changes without losing frames.
-- Daniel
More information about the mythtv-dev
mailing list