Page 1 of 1

Problem with streamed subtitles

Posted: 27 Sep 2006 11:16
by little_gritche
Hello,

first of all, I'd like to thank all persons behind this great piece of software.

And now, let's talk about the problem I have :D

When I stream a video with subtitles with those options, I have to problems at all :

Code: Select all

#EXTM3U #EXTINF:0,film #EXTVLCOPT:sub-file=D:\Temporaire\movies\film.srt #EXTVLCOPT:subsdec-align=0 #EXTVLCOPT:freetype-effect=3 #EXTVLCOPT:sub-fps=0 #EXTVLCOPT:sub-delay=0 #EXTVLCOPT:freetype-color=16776960 #EXTVLCOPT:sub-margin=18 #EXTVLCOPT:freetype-fontsize=36 #EXTVLCOPT:sout=#transcode{scale=1,soverlay}:duplicate{dst=std{mux=ts}} #EXTVLCOPT:sout=#transcode:std #EXTVLCOPT:sout-transcode-ab=256 #EXTVLCOPT:sout-transcode-acodec=mpga #EXTVLCOPT:sout-transcode-channels=2 #EXTVLCOPT:sout-transcode-vb=7000 #EXTVLCOPT:sout-transcode-vcodec=mp2v #EXTVLCOPT:sout-transcode-vt=1000000 #EXTVLCOPT:sout-transcode-fps=25.0 #EXTVLCOPT:sout-ffmpeg-keyint=24 #EXTVLCOPT:sout-ffmpeg-interlace #EXTVLCOPT:no-sout-ffmpeg-interlace-me #EXTVLCOPT:file-caching=1000 #EXTVLCOPT:sout-udp-caching=300 D:\Temporaire\movies\film.mpg
It works great. I see the video and the subtitles.

But, when I stream the same video with the same subtitle file, with those options :

Code: Select all

#EXTM3U #EXTINF:0,film #EXTVLCOPT:sub-file=D:\Temporaire\movies\film.srt #EXTVLCOPT:subsdec-align=0 #EXTVLCOPT:freetype-effect=3 #EXTVLCOPT:sub-fps=0 #EXTVLCOPT:sub-delay=0 #EXTVLCOPT:freetype-color=16776960 #EXTVLCOPT:sub-margin=18 #EXTVLCOPT:freetype-fontsize=36 #EXTVLCOPT:sout=#transcode{scale=1,soverlay}:duplicate{dst=std{mux=ts}} #EXTVLCOPT:sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} #EXTVLCOPT:sout-transcode-vb=7000 #EXTVLCOPT:sout-transcode-vcodec=mp2v #EXTVLCOPT:sout-transcode-vt=1000000 #EXTVLCOPT:sout-transcode-fps=25.0 #EXTVLCOPT:sout-ffmpeg-keyint=24 #EXTVLCOPT:sout-ffmpeg-interlace #EXTVLCOPT:no-sout-ffmpeg-interlace-me #EXTVLCOPT:file-caching=1000 #EXTVLCOPT:sout-udp-caching=300 D:\Temporaire\movies\film.mpg
I can't see the subtitles anymore.
The purpose of the second options is to keep the audio played on the computer which acts as a server.
As you can see, the only differences between those two pack of options are :
I use in the first one, for the audio options :

Code: Select all

#EXTVLCOPT:sout=#transcode:std #EXTVLCOPT:sout-transcode-ab=256 #EXTVLCOPT:sout-transcode-acodec=mpga #EXTVLCOPT:sout-transcode-channels=2
In the second one, the audio options are :

Code: Select all

#EXTVLCOPT:sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio}
Like I said, there is no problem with the audio or the video. It always acts as it should.
But, in the second case, it seems like the subtitles are not streamed anymore.

Thanks for reading :D ,

If someone can help me, I would appreciate it a lot.

Have a nice day,

Little_gritche

Posted: 27 Sep 2006 17:19
by little_gritche
To add more information, I tested under Windows XP with :
- VLC 0.8.5
- and a nightly build of VLC 0.9.0

Thanks

Have a nice day

Little_gritche

same for me...

Posted: 19 Oct 2006 17:38
by dwyd
Got the same problem on my debian server... IMPOSSIBLE to use subtitles :'(


Anyone got a solution?

Posted: 19 Oct 2006 22:40
by dionoea
the second :sout=... overrides the first one. And you need transcode{soverlay,...} if you want to burn the subs in the movie. Does that answer your questions ?

okay, ill try

Posted: 20 Oct 2006 09:24
by dwyd
ok, i ll try to reencode to use subs, :)

Posted: 20 Oct 2006 19:09
by little_gritche
Yes, it seems like it solves my problem :D

Thanks a lot!
Have a nice week-end