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

Madman madman at starfleet.hu
Tue Dec 28 18:44:34 CET 2004


--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:

[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 :(

-----------------

WMP problem: I've tried the asfh and mmsh, WMP crashed in a few seconds
after started to receive the stream.

-----------------

On Tue, Dec 28, 2004, Madman wrote :
> In connection with the first problem:
> 
> ./vlc -vvv /mnt/store/test.avi --sout
>
'#transcode{vcodec=mp4v,acodec=mp3,vb=400,ab=96}:standard{access=http,mu
> x=ts,url=_MY_SERVER_:6000}' --volume=1024 --sub-autodetect-file
> --sout-all --subsdec-encoding ISO-8859-2
> 

try the --sout-all option. I'm not sure this will work. Support for
text subtitles in ts streams was added and then removed because it was
buggy, I think. I cannot remember if it was fixed and added again since
then. You should also specify the sub file to use. I'm not sure the
autodetected subtitles get streamed (in fact, they shouldn't, since they
are disabled by default).

> In connection with the second:
> 
> ./vlc -vvv /mnt/store/test.avi --sout
>
'#transcode{vcodec=div3,acodec=mp3,vb=400,ab=96}:standard{access=http,mu
> x=asf,url=_MY_SERVER_:6000}' --volume=1024 --sub-autodetect-file
> --sout-all --subsdec-encoding ISO-8859-2
> 

You should try to use the mmsh access method, and the asfh muxer.

> Nearly the same, only codec paramters are different.
> 
-- 
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