Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
- From: "Mike M." <nospam@xxxxxxxxxxxxx>
- Date: Tue, 5 Jul 2005 13:28:53 -0400
Most of my encoding machines just have the encoder and run on Windows XP.
The auto start method works fine.
"Videofreak" <Thisguy@xxxxxxxxxxxxxx> wrote in message
news:86clc19rshr2bsn7qmen6c7jcdm5g70p4i@xxxxxxxxxx
> On Fri, 1 Jul 2005 09:19:48 -0400, "Mike M." <nospam@xxxxxxxxxxxxx>
> wrote:
>
> >It might be your environment when it is running at boot time. I have
used
> >these batch file mechanism for over two years now with no problems. I
use
> >them on Windows XP and Windows 2000 server. I place the batch file in a
> >users startup folder and have the machine autologon that user when it
boots.
> >I have been testing batch files in other O.S. environments where if I log
in
> >as a user or run "cmd" and run the batch file they work but if I just
double
> >click from explorer they don't. This is mostly due to environment
variables
> >that get set when I run CMD. To break down my batch file it is:
> >start /MIN "" - starts the command processor/window and runs it
minimized.
> >I did this because I didn't want to see anything on the screen. The "" is
> >the window title and just a place holder for the parameter.
> >"C:\Program Files\Windows Media Components\Encoder\wmenc.exe" - Actually
> >runs the encoder. I had to put the full path to get it to work and needed
> >quotes due to space in path.
> >/start job_320x240.wme - Tells the encoder to start the specified job
file.
> >I created the job by saving it from within the encoder (Version 9.0).
> >
> >Do you have your machine auto logon a user when it boots? You might have
to
> >put the full path to the encoding job to get it to work. It sounds like
> >your first test the encoder didn't find the encoding job and just started
up
> >the encoder GUI.
> >
> >Try a full path to see what happens.
>
> I don't know about Win 2000 server. But 2003 server has built in
> broadcast auto start. So that may be why your batch file works for
> you. I'm not running any server. its strictly just an average PC
> waiting for people to pull a live feed of my webcam from my website.
>
> Try a full path. Encoder loads but it wont load the wme and star
> broadcasting
> >
> >
> >
> >
> >"Videofreak" <Thisguy@xxxxxxxxxxxxxx> wrote in message
> >news:2n0ac1po5giskm0u8hvpl3p6e6f8f590d1@xxxxxxxxxx
> >> 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.
> >
>
.
- Follow-Ups:
- Re: Need a batch file or something to autostart LIVE encoding afte
- From: Tony HD Live
- Re: Need a batch file or something to autostart LIVE encoding afte
- References:
- Re: Need a batch file or something to autostart LIVE encoding after windows boot up
- From: Videofreak
- Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
- From: Videofreak
- Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
- From: Mike M.
- Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
- From: Videofreak
- Re: Need a batch file or something to autostart LIVE encoding after windows boot up
- Prev by Date: Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
- Next by Date: Re: Trying to stream NTSC format and convert to PAL
- Previous by thread: Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
- Next by thread: Re: Need a batch file or something to autostart LIVE encoding afte
- Index(es):
Relevant Pages
|
Loading