Cancelled

VBS to launch application and modify xml configuration

I am using Adobe Flash Media Live Encoder to stream video. Every time we start the software the FMS url and the stream name changes. The application has a configuration file in xml format where it stores the FMS url and the stream name. Now for the VBS part that I need your help:

I need a vbs script to do the following:

-check if the application is running and if it is close it;

-ask the user to input the FMS url and the stream name;

-modify in the xml file the FMS url and the stream name with the ones provided by user and save the changes (//url, //stream);

-launch the application.

The xml part looks like this:

<?xml version="1.0" encoding="UTF-16"?>

<flashmedialiveencoder_profile>

<preset>

<name>Custom</name>

<description></description>

</preset>

<capture>

<video>

<device>tv tuner</device>

<crossbar_input>0</crossbar_input>

<frame_rate>15.00</frame_rate>

<size>

<width>640</width>

<height>480</height>

</size>

</video>

<audio>

<device>SoundMAX HD Audio I</device>

<crossbar_input>0</crossbar_input>

<sample_rate>22050</sample_rate>

<channels>1</channels>

<input_volume>75</input_volume>

</audio>

</capture>

<process>

<video>

<preserve_aspect></preserve_aspect>

<deinterlace></deinterlace>

</video>

</process>

<encode>

<video>

<format>H.264</format>

<datarate>650;</datarate>

<outputsize>640x480;</outputsize>

<advanced>

<profile>Baseline</profile>

<level>3.0</level>

<keyframe_frequency>5 Seconds</keyframe_frequency>

</advanced>

<autoadjust>

<enable>true</enable>

<maxbuffersize>1</maxbuffersize>

<dropframes>

<enable>true</enable>

</dropframes>

<degradequality>

<enable>false</enable>

<minvideobitrate></minvideobitrate>

<preservepfq>false</preservepfq>

</degradequality>

</autoadjust>

</video>

<audio>

<format>MP3</format>

<datarate>48</datarate>

</audio>

</encode>

<restartinterval>

<days></days>

<hours></hours>

<minutes></minutes>

</restartinterval>

<reconnectinterval>

<attempts></attempts>

<interval></interval>

</reconnectinterval>

<output>

<rtmp>

<url>rtmp://129.152.231.2/user/live1</url>

<backup_url></backup_url>

<stream>o/225678/user_18352175</stream>

</rtmp>

</output>

<metadata>

<entry>

<key>author</key>

<value></value>

</entry>

<entry>

<key>copyright</key>

<value></value>

</entry>

<entry>

<key>description</key>

<value></value>

</entry>

<entry>

<key>keywords</key>

<value></value>

</entry>

<entry>

<key>rating</key>

<value></value>

</entry>

<entry>

<key>title</key>

<value></value>

</entry>

</metadata>

<preview>

<video>

<output>

<zoom>100%</zoom>

</output>

</video>

</preview>

<log>

<level>100</level>

<directory>C:\Documents and Settings\user\My Documents\My Videos</directory>

</log>

</flashmedialiveencoder_profile>

Skills: Visual Basic, XML

See more: launch application vbs, modify xml vbs, launch application, profile mp3, mp3 profile, launch application using vbs, vbs xml save format, vbs launch application, application launch xml, launch xml application, vbs xml, value stores, key value stores, adobe flash check, adobe capture, video application, tv stream, stream rtmp, rtmp, modify c, launch, need settings live stream, fms, baseline, application video

About the Employer:
( 6 reviews ) constanta, Romania

Project ID: #598657

2 freelancers are bidding on average $30 for this job

BiiplobKHB

sir plz check pm !

$30 USD in 1 day
(2 Reviews)
2.5
dblancer

Hello, I can complete this immediatly (don't need time at all). In fact, I've just created it and can show you. Please, see PMB. Thank you.

$30 USD in 0 days
(0 Reviews)
0.0