Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques How to stream 2 webcams through FFMPEG on VB.NET

  • How to stream 2 webcams through FFMPEG on VB.NET

    Posted by Qweqwe Dasd on August 30, 2014 at 6:02 am

    I like to stream 2 webcams from ffmpeg on windows to Flash media server in RTMP protocol.

    I use FFMPEG to stream videos in a background vb.net by ProcessStartInfo , now I have a problem to use 2 FFMPEG to stream 2 webcams the same time.

    When I run first FFMPEG it is run successfuly and it streams webcam1 correctly on the Media Server, when I want to start webcam2 to stream, the second ffmpegs in not runing.

    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

    your help will be appreciated

    Qweqwe Dasd replied 11 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy