Write a Windows Powershell Script

Sedang Disiapkan Disiarkan 5 tahun lepas Dibayar semasa penghantaran
Sedang Disiapkan Dibayar semasa penghantaran

Good Day,

I need a continuously running windows Powershell script to ensure all ffmpeg processes is always running. If the computer boots up (before login even) the script should start and it should restart the process if it fails.

There are multiple (10 or so) processes defined by a simple csv file ([login to view URL])

REC001, Channel 1 (Sound Card 1)

REC002, Channel 2 (Sound Card 2)

FFMPEG Process to keep running:

C:\ffmpeg41\bin\[login to view URL] -f dshow -i audio="Channel 1 (Sound Card 3)" -acodec libmp3lame -b:a 32k -content_type audio/mpg -f segment -strftime 1 -segment_atclocktime 1 -segment_time 3600 -reset_timestamps 1 "C:\Recordings\REC001 %Y-%m-%d %H-%M-%[login to view URL]"

I usually start it using START command as it allows us to setup the window title for easier reference:

START "REC001" C:\ffmpeg41\bin\[login to view URL] -f dshow -i audio="Channel 1 (Sound Card 3)" -acodec libmp3lame -b:a 32k -content_type audio/mpg -f segment -strftime 1 -segment_atclocktime 1 -segment_time 3600 -reset_timestamps 1 "C:\Recordings\REC001 %%Y-%%m-%%d %%H-%%M-%%[login to view URL]"

Thanks

Powershell Shell Script Destop Windows

ID Projek: #18521087

Tentang projek

5 cadangan Projek jarak jauh Aktif 5 tahun lepas

5 pekerja bebas membida secara purata $35 untuk pekerjaan ini

AhmadSameer

Hey there I'm a System Engineer with coding skills. I had developed tons of scripts using Powershell. I can help. Regards.

$50 USD dalam sehari
(20 Ulasan)
5.0
dany3j

Hi there! Dear colleague. I can help you with this Powershell script project. I would like to know more about it. Contact me by Chat to get more information. My Best Regards

$35 USD dalam 2 hari
(14 Ulasan)
4.2
MohamedWinNT

Hi, This is a simple script, I can even make a small exe tool for this instead of ps script if you want.

$30 USD dalam 5 hari
(10 Ulasan)
4.0
TarasGudz

I have an experience with such tasks. I'll need your system specifications. I'll do it for 30$. Some testing and debugging may be required, therefore time to delivery is 7 days.

$35 USD dalam 7 hari
(0 Ulasan)
0.0
mmohankumarmmk

Devops Engineer - Expert Level Devops Engineer - Jenkins - Python - Powershell - Chef/Puppet - Docker and K8s CI Build and Repository tools: Basic to advanced experience with Teamcity,Jenkins, Jfrog artifactory Lagi

$25 USD dalam sehari
(0 Ulasan)
0.0