here is a problam I've been facing for several months.
And I can't find a solution. I've tried many things like --es-pid..., --programs as well as other exotic options.
No way: that doesn't work.
Is it a bug or a feature?
That doesn't seem to occur for everyone else.
So, obviously, something is bad in my command.
To be noticed: the behaviour is the same with a 1.1.x vlc as well as with the 2.0.1 version.
So, well, the idea is to record (hence the cvlc) a DVB-T service id (a program) with all the ES inside.
That works well with a FBX multiposte stream but not with a DVB-T streaming: the file is empty.
The ES are not organized the same way in the multiposte TS and in the DVB-T native stream. Maybe that is an explanation.
But how to correct this?
First, the multiposte stream.
Only one audio ES.
Code: Select all
cvlc 'rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204&flavour=sd' --sout='file/ts:artesd_multiposte.ts'
The same, now, with --sout-all.
Code: Select all
cvlc 'rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204&flavour=sd' --sout-all --sout='file/ts:artesd_multiposte.ts'
Now, the same thing with DVB-T.
One audio ES:
Code: Select all
cvlc 'dvb://adapter=0:frequency=674167000:bandwidth=8' --program=1543 --sout '#standard{access=file,mux=ts,dst="artesd_tnt.ts"}'
The same, now, with --sout-all.
Code: Select all
cvlc 'dvb://adapter=0:frequency=674167000:bandwidth=8' --program=1543 --sout-all --sout '#standard{access=file,mux=ts,dst="artesd_tnt.ts"}'
With a -vvv I can see that, as the previous command, the stream is well decoded and all the PID found but the file artesd_tnt.ts is desesperately empty.
Does someone have an idea?
Thanks.