VLC encode more than 1 at a time for DSS

About encoding, codec settings, muxers and filter usage
zimbot
Blank Cone
Blank Cone
Posts: 22
Joined: 14 Apr 2006 21:17

VLC encode more than 1 at a time for DSS

Postby zimbot » 21 Apr 2009 00:35

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 21 Apr 2009 00:44

why not launching 3 VLCs?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

zimbot
Blank Cone
Blank Cone
Posts: 22
Joined: 14 Apr 2006 21:17

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

Postby zimbot » 21 Apr 2009 15:10

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 21 Apr 2009 19:42

It should work, try it :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests