[mythtv] Fwd: DVB subtitles and delay

Janne Grunau janne-mythtv at grunau.be
Mon Apr 19 11:28:37 UTC 2010


On Fri, Apr 16, 2010 at 07:19:07PM +0200, Kenni Lund wrote:
> 2010/4/14 Mark Kendall <mark.kendall at gmail.com>:
> >
> > For what it's worth, I spent some time looking at that ticket a few
> > weeks ago without much success.
> >
> > The problem lies somewhere between the broadcaster and ffmpeg's
> > demuxing of the stream,

or our own modifications

> > with the net result that some subtitles arrive
> > very late. I worked with the patch that Janneg posted to the ticket
> > for queueing transmitted packets and that did generate some
> > improvements but it certainly did not fix it and was far from a
> > complete/commitable solution.

yes, it started as proof of concept and was unfortunately much harder
than thought.

> > There are various issues - though
> > ideally this would be fixed within ffmpeg itself. Overall there is no
> > simple fix that I can see that sits within the main MythTV code.
> 
> Mark, FYI it seems like the issue have been fixed in upstream FFMPEG.
> I tested the clip from ticket #6753 with ffplay from FFMPEG SVN r22837
> and AFAICT the subtitles are perfectly in sync, unlike in 0.23-fixes
> or trunk.

no, ffplay has queues for audio, video and subtitle streams. It was the
inspiration for my patch.

Janne


More information about the mythtv-dev mailing list