[FFmpeg-user] ffmpeg : Record and preview at the same time
Fabrice GOLHEN
fg.tmp at free.fr
Fri Sep 6 09:30:27 EEST 2019
Hello I'm on a project around a Rpi and a webcam with micro USB under
rasbian.
I correctly save the video and sound in a file:
ffmpeg -y -f alsa -i hw: 1 -itsoffset 0.5 -i / dev / video0 -vcodec
h264_omx -b: v 2M output-dev-video2-omx.mkv
I visualize correctly in real time what points the webcam (I do not need
the audio) on this preview:
ffmpeg -i / dev / video0 -f avi -codec copy pipe: 1 | ffplay -i blowjob: 0
-> by cons I can not conceive a line: recording in a file, with sound,
and at the same time see on my screen what my webcam is filming, a
preview in a way.
thank you,
cDL
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
More information about the ffmpeg-user
mailing list