VLM - Have I missed something basic?

About encoding, codec settings, muxers and filter usage
Venom_III
New Cone
New Cone
Posts: 3
Joined: 07 Jan 2006 22:26

VLM - Have I missed something basic?

Postby Venom_III » 08 Jan 2006 00:26

Ok, so I'm playing with streaming a single capture source multiple times at different bitrates (not sure if this is possable but going to give it a go) -
Anyway starting with the basics and loading vlc with this command line:

vlc --vlm-conf test.txt

the vlm config file is:
new channel1 broadcast enabled

setup stream input dshow://
setup stream option no-dshow-config
setup stream option dshow-caching=200
setup stream option

#transcode{vcodec=DIV3,vb=128,scale=1,acodec=mp3,ab=64,channels=2}:std{access=

mmsh,mux=asfh,url=:1025

control channel1 play

but all I get is the player starting - have I missed something completly obvious?

I've tried using the telnet interface as well and all I get is:
> load : Unable to load from file
> load : error while loading file

A channel is created but thats about it:
> show
channel1
type : broadcast
enabled : yes
loop : no
inputs
output :
options
instances

I need this to work as a command line so it can start in a BAT file.

Thanks

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: VLM - Have I missed something basic?

Postby dionoea » 09 Jan 2006 21:19

Code: Select all

new channel1 broadcast enabled setup stream input dshow:// setup stream option no-dshow-config setup stream option dshow-caching=200 setup stream output #transcode{vcodec=DIV3,vb=128,scale=1,acodec=mp3,ab=64,channels=2}:std{access=mmsh,mux=asfh,url=:1025} control channel1 play
This should work better (at least for the output part). You should also have a look at chapters 3 et 5 in the streaming howto on http://www.videolan.org/doc
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Venom_III
New Cone
New Cone
Posts: 3
Joined: 07 Jan 2006 22:26

Nope!

Postby Venom_III » 16 Jan 2006 19:22

I've tried that config and still no joy. All that happens is the play opens. Nothing gets streamed.

Is there something missing from the config that should have the exact dshow source? There is only one in the machine.

I’ve looked through all the documentation but it seems to show what I have done as correct. Basic user in advanced mode 

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 16 Jan 2006 21:16

Does the direct show input work localy ? using the normal interface ? using VLM commands ? (without setting an output)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Venom_III
New Cone
New Cone
Posts: 3
Joined: 07 Jan 2006 22:26

Well..

Postby Venom_III » 18 Jan 2006 15:19

If I use the standard player and open capture device it works fine.
If I run using this command line it streams perfectly:
vlc.exe -I http dshow:// :dshow-vdev="Conexant's BtPCI Capture" :no-dshow-config :no-dshow-tuner :dshow-caching=200 :sout=#transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=96,channels=2}:std{access=mmsh,mux=asfh,url=:1025

But.... if I use the config file you suggested, or indeed my own one, all that happens is the player starts - with no output.

I just cannot get the stream output using the vlm config. :?

Stuntman
Blank Cone
Blank Cone
Posts: 13
Joined: 15 Apr 2009 14:28

Re: VLM - Have I missed something basic?

Postby Stuntman » 24 Apr 2009 10:55

I have the same probelm, can someone please help me.

Code: Select all

new channel1 broadcast enabled setup channel1 input http://host.mydomain/movie.mpeg setup channel1 output #rtp{mux=ts,dst=239.255.1.1,port=5004,sdp=sap://,name="Channel 1"} new channel2 broadcast enabled setup channel2 input udp://@239.255.12.42 setup channel2 output #rtp{mux=ts,dst=239.255.1.2,port=5004,sdp=sap://,name="Channel 2"} control channel1 play control channel2 play
It's the vlm.conf sample from the wiki. The thing is I can not load it via the telnet interface. Like Venom_III I want to run a batch file when i start my server.
Only thing I get from VLC when I try to load a config file is this :
> load vlm.conf
load : Error while loading file
The vlm.conf is located in VLC folder (C:\Program Files\VideoLAN\VLC)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests