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
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
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
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
Code: Select all
#EXTVLCOPT:sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio}
But, in the second case, it seems like the subtitles are not streamed anymore.
Thanks for reading ,
If someone can help me, I would appreciate it a lot.
Have a nice day,
Little_gritche