Hello everyone,
I like to stream many webcam from ffmpeg on windows to Flash media server in RTMP protocol.
I use FFMPEG for stream videos in a background vb.net by ProcessStartInfo , now I have a problem to use multiple FFMPEG for stream at the same time.
When I run first FFMPEG is run successfuly and stream webcam1 correctly on to the Media Server but when I want to start other webcam to stream those ffmpegs in not run.
This is my codes to start each FFMPEG:
Dim psi As ProcessStartInfo = New ProcessStartInfo("c:\ffmpeg.exe")
Dim proc As Process = Process.Start(psi)
psi.UseShellExecute = False
psi.CreateNoWindow = True
psi.Arguments = " -f dshow -i video=""USB Camera"" -threads 1 -preset ultrafast -vcodec libx264 -b:v 640k -acodec copy -f flv rtmp://12.11.1.6/live/sample1 "
proc = Process.Start(psi)
Please advise me to fix this problem< ...
Go to the complete details ...