[vlc] Re: VLC Input from Pipe

Angus Davis angus at tellme.com
Tue Nov 8 20:56:14 CET 2005


On 11/8/05 11:27 AM, Benjamin Pracht wrote:
> On Mon, Nov 07, 2005, Angus Davis wrote :
>   
>> Thanks, that was helpful, but I am still not having success.   My syntax is:
>>
>> cat stream.ts | vlc --intf=dummy --rc-fake-tty -vvv /dev/stdin --sout 
>> '#standard{access=http,mux=ts,url=10.0.1.197:8080}'
>>
>> in lieu of "-vvv /dev/stdin/" I have also tried (none worked):
>> stream:///dev/stdin
>> file://dev/stdin
>> file://-
>>     
>
> Well, there seems to be bug in the id3 module that makes it crash when
> getting probed. Could you provide a backtrace ?
>   
I actually think the problem is in the next step, where it tries to pick 
a demuxer.  I am not too familiar with how to use gdb so I am not sure 
how to generate a backtrace.  I will RTFM and see if I get anywhere.
> You can force a demux using the syntax
>
> vlc file/ts:///dev/stdin
>   
That was the trick to make it work.  The following command line sort of 
works:

./test-mpeg2 | vlc --intf=dummy --rc-fake-tty -vvv file/ts:///dev/stdin 
--sout '#standard{access=http,mux=ts,url=10.0.1.197:8080}'

However, this works significantly better (stream instead of file):

./test-mpeg2 | vlc --intf=dummy --rc-fake-tty -vvv 
stream/ts:///dev/stdin --sout 
'#standard{access=http,mux=ts,url=10.0.1.197:8080}'

Others interested in doing something similar (VLC streaming out directly 
from a capture source) should note that you may replace the command 
"test-mpeg2" with any command that spews out transport stream data to 
/dev/stdout. 

Thank you for all the help with VLC.  Now, as for getting ieee1394 to 
reliably capture mpeg2 TS data from the DCT-6412, that is another story :-)
-angus

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list