[vlc] Re: Streaming with subtitle track

Benjamin PRACHT bigben+spam at videolan.org
Tue Jan 18 18:03:47 CET 2005


On Tue, Jan 18, 2005, Etienne Bernard wrote :
> Hi,
> 
> I'm trying to stream with VLC (version 0.8.1) an AVI file with a .srt
> subtitle file.
> 
> $ vlc -I http --http-host=10.0.0.1:8000 --sout '#std{access=udp,mux=ts,url=10.1.0.0}' file.avi :sub-file=english.srt
> 
> On the 10.1.0.0 box, I receive the stream correctly, the subtitle
> track is found by VLC (windows version), but the subtitles are just
> "flashing" : I mean that they seem to appear at the right time, but
> they disappear immediately.
> 

You should transcode the subtitle track (add a transcode{scodec=dvb} at
the beginning of your sout chain...)

> Is this a known bug of vlc? The problem occurs with both udp streaming
> and streaming to a file.
> 
> By the way, do someone know how to multiplex a subtitle track into an
> avi file ? I tried with spumux, but with no success.
> 

AFAIK, avi doesn't support spu tracks. You should remux your file to ogm
or mkv.

-- 
BigBen

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list