[FFmpeg-user] Sending 2 camera outputs side by side to loopback device

Michael Koch astroelectronic at t-online.de
Fri Nov 25 09:55:54 EET 2022


Am 25.11.2022 um 08:02 schrieb Jim Ruxton:
> I am on Ubuntu 22.04 and trying to combine 2 cameras into one stream that
> is being sent to a loopback device. The command appears to work but I can't
> see the stream in any way. I've tried VLC Cheese ffplay guvcview and none
> of them work. The command I am using is
> :
> *ffmpeg -f v4l2 -vcodec rawvideo -i /dev/video0 -f v4l2 -vcodec rawvideo -i
> /dev/video2 -filter_complex hstack,"scale=iw*.5:ih*1" -f v4l2 -vcodec mjpeg
> /dev/video4 *

It seems you forgot to specify an output file or pipe at the end of the 
command line.

Michael



More information about the ffmpeg-user mailing list