Problems with displayed subtitles while transcoding

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
little_gritche
Blank Cone
Blank Cone
Posts: 11
Joined: 01 May 2006 10:14

Problems with displayed subtitles while transcoding

Postby little_gritche » 13 Oct 2006 16:29

Hello,

I have a problem when I stream a video, subtitles and keep the audio on the server.

When I stream the video, the audio and subtitles with those options, I have no problems at all :

Code: Select all

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

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

Code: Select all

sub-file=D:\Temporaire\movies\film.srt subsdec-align=0 freetype-effect=3 sub-fps=0 sub-delay=0 freetype-color=16776960 sub-margin=18 freetype-fontsize=36 sout=#transcode{scale=1,soverlay}:duplicate{dst=std{mux=ts}} sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} sout-transcode-vb=7000 sout-transcode-vcodec=mp2v sout-transcode-vt=1000000 sout-transcode-fps=25.0 sout-ffmpeg-keyint=24 sout-ffmpeg-interlace no-sout-ffmpeg-interlace-me file-caching=1000 sout-udp-caching=300 D:\Temporaire\movies\film.mpg
I can't see the subtitles anymore.

The purpose of the second set of 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

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

Code: Select all

sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio}
The other options are always used.

Like I said, there is no problem with the audio or the video. It always acts as it shoulds.
But, in the second case, it seems like the subtitles are not streamed anymore. They are not displayed on the video.

Thanks for reading :D,

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

Have a nice day,

Little_gritche

little_gritche
Blank Cone
Blank Cone
Posts: 11
Joined: 01 May 2006 10:14

Postby little_gritche » 13 Oct 2006 16:30

To add information, I use Windows XP and VLC 0.8.5. I also tried with a nightly from 0.9.0 few weeks ago and it behaves the same.

Thanks again.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests