[vlc] Re: Streaming Subtitles & wmp with no video

Benjamin PRACHT bigben+spam at videolan.org
Wed Dec 29 10:09:27 CET 2004


On Tue, Dec 28, 2004, Madman wrote :
> --sout-all is there. 
> Can you tell me how to specify the subtitle file in command line? 
> I found no reference to It in the "vlc --longhelp", only the
> --sub-autodetect-file. There was another in the 0.7.2 version as I
> remember, It was something like --sub-autodetect-path, but I tried this
> one too. 
> The vlc on the server side loads the subtitle I can see it:
> 

You can try "--sub-file"

> [00000204] main input debug: demux2_New: access='' demux='subtitle'
> path='/mnt/store/test.srt'
> [00000228] main demuxer debug: looking for demux2 module
> [00000228] main demuxer debug: probing 2 candidates
> [00000228] vobsub demuxer debug: this doesn't seem to be a vobsub file
> [00000228] subtitle demuxer debug: autodetecting subtitle format
> [00000228] subtitle demuxer debug: detected SubRIP format
> [00000228] subtitle demuxer debug: loading all subtitles...
> [00000228] subtitle demuxer debug: loaded 495 subtitles
> [00000132] main module debug: using demux2 module "subtitle"
> 
> And It's quite sure that it's there (stream and media info refers to it
> as "stream 2" in vlc), and in the Video option on the menubar I can
> select subtitle track (track 1), and for fragments of time I can see the
> subs on the client side too, very rarely. (maybe It was added again
> dispite the fact that It's buggy ?)
> 
> The vlc on the server side also reports this:
> [00000206] stream_out_transcode private debug: not transcoding a stream
> (fcc=`subt')
> [00000215] main private debug: adding a new input
> [00000215] mux_ts private debug: adding input codec=subt pid=70
> 
> By the way: If It will not work, do you have any idea how to add subs to
> a stream? Is there an other way? Anything. Or I just have to wait for
> the next version :(
> 

You can try to transcode the text subtitles to a dvb sub track
(scodec=dvb in the transcode sout module arguments, I think, not sure
this will work), or to render them directly on the video (soverlay
transcode option)

> -----------------
> 
> WMP problem: I've tried the asfh and mmsh, WMP crashed in a few seconds
> after started to receive the stream.
> 
> -----------------
>
Are you sure you are using 0.8.1 ?
 
-- 
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