[FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Dec 3 16:46:14 EET 2016


2016-12-03 15:26 GMT+01:00 bob Darkblue <darkbluewonderfulworld at gmail.com>:

> It works but there is a delay of ~1 second between the two screens.

> ffmpeg -f v4l2  -framerate 15 -video_size 1280x720 -input_format mjpeg -i
> /dev/video1 -f v4l2 -framerate 15  -input_format mjpeg -video_size 1280x720
> -i /dev/video0 -filter_complex "
> nullsrc=size=2560x720 [background];

> [0:v] setpts=PTS-STARTPTS,
> [1:v] setpts=PTS-STARTPTS,

Isn't this making sure that the two streams are not synchronised?

> ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers

Please remember to test current FFmpeg git head before asking
for support here.

Carl Eugen


More information about the ffmpeg-user mailing list