Page 1 of 1

Duplicated streams broken in 0.8.6

Posted: 18 Jan 2007 01:29
by vlasky
Hello,

Up until now, I have been using the duplicate module in VLM mode to obtain two differently encoded output streams from a single firewire video camera input - DIV3 over MMSH and MJPEG over HTTP

The following command line worked correctly in VLC 0.8.4a, but now fails under 0.8.6:

Code: Select all

new camera1 broadcast enabled setup camera1 input dc1394:uid=0x000a2700040c431b:size=320x240:adev=/dev/dsp:channels=1:fps=15:brightness=150 setup camera1 output #duplicate{dst="transcode{vcodec=DIV3,vb=256,acodec=mp3,ab=32}:std{access=mmsh,mux=asfh,url=:7070/stream1_v_medium.asf}",dst="transcode{vcodec=MJPG,vb=4000}:std{access=http,mux=raw,url=:7070/stream1.jpg}"} control camera1 play
VLC returns the following errors when started:

[00000302] [Media: camera1] main stream output error: invalid chain
[00000305] [Media: camera1] stream_out_transcode private error: cannot create chain
[00000303] [Media: camera1] stream_out_duplicate private error: no destination given
[00000302] [Media: camera1] main stream output error: stream chain failed for '#duplicate{dst="transcode

Posted: 22 Jan 2007 14:06
by dionoea
What if you put single quotes arround the full duplicate block ?

Re:

Posted: 24 Nov 2007 02:07
by Brownstone
What if you put single quotes arround the full duplicate block ?
To anyone else having the same problem, this worked for me!

My working VLM command looked like this:

Code: Select all

'#duplicate{dst="standard{blah,dst=file.1}",dst="transcode{blah}:standard{blah,dst=file.2}"}'