[vlc-devel] Spawning a vout when none is available

Rémi Denis-Courmont rem at videolan.org
Sun Feb 8 13:18:10 CET 2009

Le dimanche 8 février 2009 14:10:23 ogg.k.ogg.k at googlemail.com, vous avez 
écrit :
> I'd like to spawn a vout when none is available on streams
> containing audio and images.
> Specifically, these would be Ogg streams with a Speex audio
> stream and a Kate stream containing PNG slides, timed with
> the speech.
> At the moment, since no video is detected, no vout exists,
> and one has to enable visualization (to spawn a vout and
> enable the video menu), then select the subtitles track in
> the video menu.
> What I'd like to do is, if the subtitles track is selected (for
> instance via the command line), spawn a vout if none does
> exist yet, without visualization graphics, and display images
> in there. This may imply changing the resolution of the vout
> to match whatever resolution the slides are, if those change.
> So my question is: what is the approved way of doing this ?

Either you request a vout yourself, or you create a dummy elementary video 
stream to "decode" slides.

Rémi Denis-Courmont

More information about the vlc-devel mailing list