Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Thu, 30 Jun 2005 23:39:32 GMT, Videofreak <Thisguy@xxxxxxxxxxxxxx>
wrote:

>On Thu, 30 Jun 2005 09:25:26 -0400, "Mike M." <nospam@xxxxxxxxxxxxx>
>wrote:
>
>Hmm, I copied your batch command and altered it to:
>start /MIN "" "D:\Program Files\Windows Media
>Components\Encoder\wmenc.exe"
>/start Mywebcammultihilowlow.wme
>
>and all it did was open the encoder.
>It didnt even auto connect to my webcam
>I can see that the batch file is going to require the session setup
>instructions(properties) before it will connect
>
>
>Thast really odd. Click on the saved session file(wme) directly and
>the encoder loads and activates the camera. But does not broadcast.
>
>Use a batch file to call to open the same wme file and it just opens
>the software and does not connect to camera. Hmmmm
>
>>I create and save my encoding job using the encoder. For example I create a
>>320 x 240 encoding job and save it as job_320x240.wme. Then I put a batch
>>file in the Startup folder with the following:
>>start /MIN "" "C:\Program Files\Windows Media Components\Encoder\wmenc.exe"
>>/start job_320x240.wme
>>
>>This works fine.
>>
>>"Videofreak" <Thisguy@xxxxxxxxxxxxxx> wrote in message
>>news:pbo7c1pb1hi1q2cl8ig53cphigob27qpv0@xxxxxxxxxx
>>> Hey all. I got the live broadcasting down no sweat. But there is one
>>> thing that MS seemed to have overlooked. in the WMEncoder there is no
>>> built in way to ensure that the encoder "auto starts" broadcasting. Oh
>>> sure I can put the encoder in the start up folder but that only opens
>>> the program. I need a way for it to automatically start broadcasting
>>> my webcam. For example after a power failure or an atypical PC hiccup
>>> to reboot.
>>> videofreak
>>


Okay, I wrote Cscript and saved to a notepad file with a .bat
extention. Does that make a bat?

here it is:

run D:\winnt\system32\cscript.exe //S wmcmd.vbs -wme
mywebcammultihilowlow.wme -broadcast 1053 -profile v20 -v_codec wmv7
-v_width 320 -v_height 240 -v_framerate 15 -title Our_webcam

When I open the command prompt and run the script directly its
fantastic. The Endoder interface doesnt even open and it definitely
broadcasts to my website and my domain url
http://video-freak.kicks-ass.net:1053

And I finally have found a friend who can actually see the broadcast
on their own Internet connection

While the script is great saving into the supposed batch file and
placing that in the startup folder renders absolutely nothing at the
loading of windows. I didn't know if I need to have that "run" word
there or not. So I tried without it. Nothing. I'm running Win2k with
all the updates btw and if it means anything I'm using WMEncoder
Series 9

oh why couldn't they not just have included a load at windows start
and a run a windows start tick mark. Surely even the pros have power
failures.
.



Relevant Pages