[vlc-devel] [PATCH] Add an access-demux which can retrieve raw subtitles

Pierre Ynard linkfanel at yahoo.fr
Tue Mar 23 18:10:07 CET 2010


> > Agreed, that's what I tried to do at first. But the stream layer
> > totally screws up the particular purpose of this module: reading and
> > displaying subtitles that are "injected" into the stream in real
> > time. First, starting the input blocks VLC at pre-buffering stage,
> > since there is nothing to buffer yet. Since the data is sparse and
> > arriving at a seemingly random pace, it cannot flow through the
> > buffer nicely, and the demux only gets out-of-date data. And then it
> > messes up further with synchronization and pace control.
> 
> The fact that the SMF demux works proves this statement wrong.

No, it doesn't. MIDI files typically come as a file already available
on the disk, and they are entirely read, buffered, and preparsed at
opening. So they have nothing to do with an external application, or a
human typing text into a socket on the fly, to be displayed over the
video currently playing.

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list