multiple stream

About encoding, codec settings, muxers and filter usage
Firestarter
Blank Cone
Blank Cone
Posts: 21
Joined: 03 Oct 2009 08:00

multiple stream

Postby Firestarter » 31 Mar 2010 21:35

Hello!
under debian linux this script works fine:
vlc /root/video --sout '#duplicate{dst=standard{access=http,mux=ts,url=*:2000},dst="transcode{vcodec=mp1v,vb=500,scale=0.5}:standard{access=http,mux=ts,url=*:2001}"}'


I want stream under windows to two ip ports with different quality of video. please help me, and check my command line for errors. in windows this script not worked :(
vlc c:\1.avi :sout='#duplicate{dst=standard{access=http,mux=ts,url=*:2000},dst="transcode{vcodec=mp1v,vb=500,scale=0.5}:standard{access=http,mux=ts,url=*:2001}"}'


big thanks, and sorry for my english :)

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: multiple stream

Postby Jean-Baptiste Kempf » 06 Apr 2010 15:28

Add -vvv
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.

karl_frode
New Cone
New Cone
Posts: 9
Joined: 15 Apr 2010 11:05

Re: multiple stream

Postby karl_frode » 15 Apr 2010 11:55

This command is working for me under windows to stream 3 different streams to the same ip on different ports :

Code: Select all

vlc.exe -vvv -I rc dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev="Decklink Audio Capture" :dshow-caching=2000 :dshow-chroma=UYVY :dshow-fps=25 --sout #duplicate{dst={transcode{venc=x264{keyint=50,level=3.1,profile=high,cabac,bframes=9,me=umh,merange=26,subme=10,vbv-maxrate=1000,vbv-bufsize=5000,vbv-init=0.9,qpstep=2}vcodec=x264,vb=1000,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000,audio-sync}:std{access=udp, mux=ts,dst=192.168.0.104:10000}}, dst={transcode{width=640,venc=x264{keyint=50,level=3.1,profile=high,cabac,bframes=9,me=umh,merange=26,subme=10,vbv-maxrate=500, vbv-bufsize=4000,vbv-init=0.9,qpstep=2}vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=96,channels=2,samplerate=44100,audio-sync}:std{access=udp,mux=ts,dst=192.168.0.104:10001}}, dst={transcode{width=320,venc=x264{keyint=50,level=3.0,profile=baseline,nocabac,me=umh,merange=26,subme=10,vbv-maxrate=180,vbv-bufsize=1000,vbv-init=0.9,qpstep=2}vcodec=x264,vb=150,scale=1,acodec=mp4a,ab=56,channels=2,samplerate=32000,audio-sync}:std{access=udp,mux=ts,dst=192.168.0.104:10002}}}
If you just change the ip / ports to what suits you and it should work.

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: multiple stream

Postby Jean-Baptiste Kempf » 15 Apr 2010 12:23

I am interested in the logs...
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 25 guests