[SOLVED] command line record
Posted: 03 Oct 2011 15:09
Hi,
I know there is a lot of informations on the net about recording with vlc, but I can't record my streams.
I want to record dvb-t stream. Of course I want only one channel (program), but within this channel I want every audio/video/subtitles(teletext or dvb). And that's subtitles that give me some troubles!
I carefully read this : http://www.videolan.org/doc/streaming-h ... /ch09.html and this : http://www.videolan.org/doc/streaming-h ... /ch03.html
When I do, for exemple
I have audio/video but no subtitles (that are teletext on this channel). I precise that "513" in "--programs=513,519" (513 is the first sid of this multiplex) is mandatory, otherwise the record is blank.
When I add in the duplicate parameter, I see the video (of course) and I have access to subtitles.
So it seems to me that the problem is the mux=ts method. I tried with some raw/dump-file parameters, but this lead me to ~kB recording file!
The only way to have audio/video/teletext-subtitles is to click on the "red button" when I directly look at the program. But I want to be able to do it with the command line (in order to use it in a script)
So the question is :
What does the "red button" do that command line can't do??
In other word : what is exactly the command behind this red button?
Thanks,
I know there is a lot of informations on the net about recording with vlc, but I can't record my streams.
I want to record dvb-t stream. Of course I want only one channel (program), but within this channel I want every audio/video/subtitles(teletext or dvb). And that's subtitles that give me some troubles!
I carefully read this : http://www.videolan.org/doc/streaming-h ... /ch09.html and this : http://www.videolan.org/doc/streaming-h ... /ch03.html
When I do, for exemple
Code: Select all
vlc dvb:// --ts-es-id-pid --dvb-frequency=506000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=513,519 --sout-mux-caching=1000 --sout-spu --sout="#duplicate{dst=std{mux=ts,dst=/usr/home/jmi/Documents/video/testF4.ts,access=file},select="program=519"}"
When I add
Code: Select all
dst=display,select="program=519"
So it seems to me that the problem is the mux=ts method. I tried with some raw/dump-file parameters, but this lead me to ~kB recording file!
The only way to have audio/video/teletext-subtitles is to click on the "red button" when I directly look at the program. But I want to be able to do it with the command line (in order to use it in a script)
So the question is :
What does the "red button" do that command line can't do??
In other word : what is exactly the command behind this red button?
Thanks,