does not work in windows, someone told me that it only works in Linuxsout-ts-muxpmt
Code: Select all
# reset VLM configuration
del all
# Input options
# Input 1: File
new Channel1 broadcast enabled loop
setup Channel1 input "E:\file1.ts"
setup Channel1 output #duplicate{dst=bridge-out{id=110},select=video,dst=bridge-out{id=120},select=audio}
control Channel1 play
# Input 2: File
new Channel2 broadcast enabled loop
setup Channel2 input "E:\file2.ts"
setup Channel2 output #duplicate{dst=bridge-out{id=210},select=video,dst=bridge-out{id=220},select=audio}
control Channel2 play
# Input 3: UDP
new Channel3 broadcast enabled
setup Channel3 input "udp://@224.1.105.201:2000"
setup Channel3 option program=501
setup Channel3 output #duplicate{dst=bridge-out{id=310},select=video,dst=bridge-out{id=320},select=audio}
control Channel3 play
# Input 4: UDP Output: UDP
new Channel4 broadcast enabled
setup Channel4 input "udp://@224.1.101.202:2000"
setup Channel4 output #bridge-in:duplicate{dst=display,dst=std{access=udp{ttl=5},mux=ts,dst=225.1.1.95:2000}
control Channel4 play
# TS options
setup Channel4 option sout-ts-pid-audio=420
setup Channel4 option sout-ts-pid-video=410
setup Channel4 option sout-ts-tsid=4
setup Channel4 option sout-ts-netid=511
setup Channel4 option sout-ts-program-pmt="100,200,300,400"
setup Channel4 option sout-ts-muxpmt="110,120,,210,220,,310,320,,410,420"
setup Channel4 option sout-ts-sdtdesc="company,file1,company,file2,company,udp1,company,udp2"
# end MUX config
this is a lineup for the PID'ssetup Channel4 option sout-ts-muxpmt="110,120,,210,220,,310,320,,410,420"
Channel_1 in stead of Channel 1 ?Hi all,
THis is probably related to the above but......
I have broadcast the following from the windows gui fine, so I know it works.
I copied the following directy from the config file it created :
new broadcast enabled loop
setup input "some random music file form my hard drive"
setup output #transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,dst=127.0.0.1:8080,sap,group=test,name=Channel 1}}
added Channel 1 to the description and the play comand to get :
new Channel 1 broadcast enabled loop
setup Channel 1 input "some random music file form my hard drive"
setup Channel 1 output #transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,dst=127.0.0.1:8080,sap,group=test,name=Channel 1}}
control Channel 1 play
then ran it using C:\Program Files\VideoLAN\VLC" VLC -I telnet --vlm -conf Broadcast.cfg
and get nothing ! - VLC appears in my process manager but I recieve no audio on that address
It works when I create the stream from the gui, so what am I doing wrong by running it form the comand line ?
any help would be usefull !
Return to “VLC stream-output (sout)”
Users browsing this forum: No registered users and 10 guests