Problems with displayed subtitles while transcoding
Posted: 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 :
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 :
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 :
In the second one, the audio options are :
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 ,
If someone can help me, I would appreciate it a lot.
Have a nice day,
Little_gritche
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
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
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
Code: Select all
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 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 ,
If someone can help me, I would appreciate it a lot.
Have a nice day,
Little_gritche