Size: 285
Comment:
|
Size: 1430
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
Line 3: | Line 4: |
vlc mux1.clip.ts --demux=ts --noaudio --novideo --play-and-exit --intf dummy --sout-all --sout '#duplicate{dst="transcode{scodec=dvbsub,overlay}:std{access=file,mux=ts,dst='s.ts'}",select="program=213"' | 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"' |
Line 5: | Line 6: |
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"' }}} |
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"'