[FFmpeg-user] Streaming two sources merged to one RTMP stream

Roger Pack rogerdpack2 at gmail.com
Thu Apr 17 21:29:15 CEST 2014


On 4/17/14, corwin <devcorwin at gmail.com> wrote:
> I have two video sources (one is webcam and another is video captured from
> the screen) and I want to stream it into one RTMP stream using ffmpeg. When
> I’m trying to run command:
>
> ffmpeg -y -f vfwcap -i 0 -f dshow -i video="screen-capture-recorder" -r 25
> -s 320x240 -vcodec libx264  -f flv "rtmp://example.com”
>
> Of course “example.com” should be another source. So when I’m running this
> command and then looking this stream using ffplay on the end side I can see
> only one stream.

How do you want the 2 streams to appear at the receivign end? side by
side? as different mpeg streams?


More information about the ffmpeg-user mailing list