Page 1 of 1

VLC encode more than 1 at a time for DSS

Posted: 21 Apr 2009 00:35
by zimbot
Friends,

i am wondering if it is possible to encode more than 1 stream of video at a time and send it off to a darwin streaming server .

simply said . can i have 3 different firewire ports ( these are different devices? )
and have 3 diffrent videos being played into them , 3 cameras etc.... and then encode thos 3 and send them off to a dss to be reflected?

can I have 1 computer with3 FireWire 'spigots' to encode 3 videos.
or would i have to have 3 computers to do that?

thanks!

Re: VLC encode more than 1 at a time for DSS

Posted: 21 Apr 2009 00:44
by Jean-Baptiste Kempf
why not launching 3 VLCs?

Re: VLC encode more than 1 at a time for DSS

Posted: 21 Apr 2009 15:10
by zimbot
ahh , ok 3 vlc -- sure .
so i can run 3 VLCs
run 3 command lines
and I can use 3 Firewire ports sourcing from 3 different cameras

and the only diffrence in the 3 commands would be the device number of the 1-2-3 firewire devices?
and have 3 file.sdp on my dss server in the movies dir and folks can see ( providing bandwith is ok ) all 3 live streams -- yes?


so something like:
vlc -vvv v4l2:///dev/video0:input=1:width=128:height=96:adev=hw.1,0:samplerate=32000 --sout '#transcode{venc=ffmpeg{keyint=1},vcodec=mp4v,vb=100k,acodec=mp4a,fps=10,ab=8k,channels=1,samplerate=16000}:rtp{mp4a-latm,dst=127.0.0.1,port-audio=20000,port-video=20002,ttl=127,name=CHANNEL,sdp=file:///usr/local/movies/channel.sdp}'

with a
dev/video0:input=1
dev/video1:input=1
dev/video2:input=1

something like that --Can work then?

One thing that confuses me is - when I do dvgrab ( just to make a dv file for editing ) i do not declare a 'device'

how do i know which firewire port is what device num ? -- or am i not understanding ?
Has anyone done this?

Thanks!

Re: VLC encode more than 1 at a time for DSS

Posted: 21 Apr 2009 19:42
by Jean-Baptiste Kempf
It should work, try it :D