Differences between revisions 5 and 6
Revision 5 as of 2010-11-23 15:00:40
Size: 1454
Editor: csr
Comment:
Revision 6 as of 2010-11-23 15:16:21
Size: 1430
Editor: csr
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 5: Line 6:
The following command line actually burns dvb subtitles into the video
Line 6: Line 8:
The following command line actually burns dvb subtitles into the video
Line 10: Line 11:
So putting it all together
Line 11: Line 13:
So putting it all together
Line 18: Line 19:
Line 19: Line 21:
 vlc ~/ftp/mux1.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst="transcode{senc=dvbsub}:transcode{vcodec=h264,vb=200,venc=x264{profile=baseline,preset=superfast,tune=zerolatency},soverlay,deinterlace,audio-sync,acodec=mp2,ab=96,width=466,height=240,samplerate=44100}:std{access=file,mux=ffmpeg{mux=flv},dst='s.flv'}",select="program=213"'  vlc ~/ftp/mux1.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst="transcode{senc=dvbsub}:transcode{vcodec=h264,vb=200,venc=x264{profile=baseline,preset=superfast},soverlay,deinterlace,audio-sync,ab=96,width=466,height=240,samplerate=44100}:std{access=file,mux=ffmpeg{mux=flv},dst='s.flv'}",select="program=213"'

The following code will extract a program with dvb subtitles included

vlc mux1.clip.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst=std{access=file,mux=ts,dst='s.ts'}",select="program=213"'

The following command line actually burns dvb subtitles into the video

vlc mux1.clip.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst="transcode{senc=dvbsub}:transcode{vcodec=mpgv,soverlay}:std{access=file,mux=ps,dst='s.mpg'}",select="program=213"'

So putting it all together

vlc mux1.clip.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst="transcode{senc=dvbsub}:transcode{vcodec=h264,vb=200,venc=x264{preset=superfast},soverlay,acodec=mp3,ab=96,width=466,height=240,samplerate=44100}:std{access=file,mux=ts,dst='-'}",select="program=213"' | ffmpeg -i - -acodec copy -vcodec copy -y s.flv

creates a flash video with subtitles!!!!!!

We can also do the same thing purely in vlc

 vlc ~/ftp/mux1.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst="transcode{senc=dvbsub}:transcode{vcodec=h264,vb=200,venc=x264{profile=baseline,preset=superfast},soverlay,deinterlace,audio-sync,ab=96,width=466,height=240,samplerate=44100}:std{access=file,mux=ffmpeg{mux=flv},dst='s.flv'}",select="program=213"'

SubTitles (last edited 2010-11-24 12:31:53 by csr)