create stream with windows batch file?

About encoding, codec settings, muxers and filter usage
sjensen
Blank Cone
Blank Cone
Posts: 36
Joined: 14 Jul 2006 20:18

create stream with windows batch file?

Postby sjensen » 14 Nov 2006 20:00

Hi all... I've been doing this on the Linux side no problem but now I have to involve a windows machine... and I'm lost/stuck. :(

I need to be able to create a bat file that will grab audio from the mic line on hte sound card, transcode it, create a SDP file, and pass it off in rtp format to our darwin streaming server.

Here's the command I use to do this for a *video only* broadcast under Linux - note that I need to do *audio only* with the Windows side...

Code: Select all

vlc -I dummy v4l:/dev/video0:size=640x480 --no-audio --sout #transcode{vcodec=mp4v,vb=800}:rtp{dst=my.dss.server.ip,port=1234,sdp=file:///usr/local/movies/foo.sdp}

Any help? I've noticed that in windows it uses a dshow device name instead of a /dev address (makes sense) but when I try and modify my Linux broadcast command, I don't get any errors but I don't get a SDP file either... (using sdp=file://c:/foo.sdp)

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

Postby dionoea » 19 Nov 2006 18:35

on windows you need to use --sout=#... instead of --sout "#...". Don't know if that'll help.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests