[mythtv] [PATCH] more pcHDTV channel-change improvements

Isaac Richards ijr at po.cwru.edu
Thu Oct 23 17:02:13 EDT 2003


On Wednesday 22 October 2003 08:17 pm, Doug Larrick wrote:
> The following patch again improves channel-change behavior for the
> pcHDTV card.  It does two things:
> 1. Delays output until a GOP frame is encountered, both when starting
> and at channel change, under the assumption the player will do a better
> job with less distracting video artifacts and potential crashes if it
> has an I frame to start with.
> 2. After a channel change, rewrites the (audio, video, base) PIDs of
> the output MPEG-TS packets to be the same as the original channel.
> Again, this confuses the player less and actually leads to decently
> speedy channel changes.

Just applied this, thanks..

> I am still seeing a crash in the frontend when changing channels also
> changes resolutions, particularly to a higher resolution.  I've also
> attached a stack trace for this crash (and the last few dozen lines of
> stderr).  The frontend *does* appear to be noticing the resolution
> change, but is evidently not doing the right thing about it.  I lack
> the skill to debug what's evidently a bug in ffmpeg.

It may not be reinitializing things properly..

> I have a 22 MB live tv buffer from one of these failed channel changes,
> and can make it available (or attempt to make a smaller one) if needed,
> though I'm on the end of a 96kbps-uplink cable modem so it'd take a
> while.

Is there anywhere you can stash that that I can grab it from?  I'll take a 
look..

Isaac


More information about the mythtv-dev mailing list