[mythtv] [mythtv-commits] Ticket #2468: Mythtranscode removing, audio and subtitles and audio tracks swapping places.

Bill Cizek cizek at rcn.com
Wed Apr 1 19:09:01 UTC 2009


>
> >/ I've used the following patch for the last few years to avoid this
> />/ problem. It increases the max # frames to read from 45 to 1000, and
> />/ logs the actual number of frames read before it found the audio
> />/ tracks.
> /
> As per Isaac's comment in #1841, how slower are channel changes when
> going to 1000 frames?
>   
I rarely use LiveTV, but I did a quick check: on 5 changes it took (in 
frame counts) 60, 42, 31, 63 and 32.  It doesn't go to the full 1000 
frames unless it needs to to read all stream info.

Delay is a second or two (or three), which is on par with normal liveTV 
channel change time.

OTOH, If these 5 programs were being transcoded, I suspect audio tracks 
would have been dropped from the 1st and 4th program w/o my patch.

I think Isaac's concerns about raising this value too high and impacting 
channel change time are valid.  It would be nice to be able to specify 
this timeout as low (15 - 45 ) for livetv and normal program watching, 
where a delay is noticeable and (I believe) stream changes are handled, 
and high (1000) for transcoding where no-one will notice the delay, but 
they will notice dropped audio streams. More generally, this is limited 
by number of packets read and total amount of data read, so it would be 
nice to expand both limits for transcoding only and leave them low for 
watching.

That all said, anyone having this problem should try this patch and see 
if it actually fixes the problem. If not then this is all meaningless.  
If it does fix it then it's a matter of figuring out how to best make it 
work for both situations (watching and transcoding)

-Bill


More information about the mythtv-dev mailing list