[FFmpeg-user] DVB Subtitles On/Off
priftien at hotmail.com
Sat Apr 26 11:02:48 CEST 2014
Is it possible to stream a local file and a subtitle for that file (in srt
or whatever format) so that in the final stream the subtitles can be
switched on and off.
My problem is that I want to stream to 'UDP multicast (188.8.131.52:1234)'
Video + Audio in a Mkv container + Subtitle in .srt or .ass. But I need
subtitles to be switched On and Off. Until now I have successfully manage to
stream all the above transcoding to mpeg2video, using the dvbsub codec for
But using Vlc Player or a DVB-C STB I can receive the video stream with all
audio streams and the DVB Subtitle stream, BUT it seems that the sub stream
I have tried with ass subs but they are hardcoded with the -vf filter, and I
want the subs to be Dvb Subtitles.
This is what I am using:
ffmpeg -re -i 'input.mpg' -i 'input.sub' -map 0:0 -map 0:1 -map 0:2 -map 0:3
-map 1:0 -vcodec mpeg2video -s 1280x720 -r 25 -b:v 9M -acodec mp2 -ac 2 -b:a
192k -scodec dvbsub -f mpegts udp://184.108.40.206:1234?pkt_size=1316
I am using latest Zeranoe 64bit build on Windows 7 64bit, but I'm willing to
use it from Linux if it is a windows build problem.
Anyone has the answer to this?
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/DVB-Subtitles-On-Off-tp4664943.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user