ffmpeg : Record and preview at the same time

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ffmpeg : Record and preview at the same time

Fabrice GOLHEN
Hello I'm on a project around a Rpi and a webcam with micro USB under

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,

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.

ffmpeg-user mailing list
[hidden email]

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".