[FFmpeg-user] R: Help: is it possibile to join an image and a live stream?
Michael Koch
astroelectronic at t-online.de
Fri Oct 7 23:22:57 EEST 2022
Am 07.10.2022 um 21:32 schrieb info at mbsoft.biz:
> I have tried
>
> ffmpeg.exe" -loglevel quiet -analyzeduration 0 -probesize 32 -report -i
> "e:\\logo.png" -f dshow -video_size 1280x720 -framerate 30
> -video_device_number 0 -i "video=Full HD 1080P PC Camera" "sendcmd='5.0"
> streamselect map "1',streamselect=inputs=2:map=0" out.mp4
>
> buti t do not work
I think there are several errors in your command line. But even after I
corrected them, I didn't find a working example with streamselect.
But I found a working example with "overlay" filter. You must change
your camera name. Make sure that the image has the same size as the camera.
ffmpeg -loop 1 -framerate 10 -i img.jpg -f dshow -video_size 1280x720
-framerate 10 -i video="BisonCam,NB Pro" -lavfi
[0]format=rgb24[a];[1]format=rgb24[b];[b][a]overlay=enable='lt(t,5)':format=rgb
-f sdl2 -
Michael
More information about the ffmpeg-user
mailing list