Answer the question
In order to leave comments, you need to log in
How to record video synchronized with audio from webcam and microphone on Raspberry Pi?
There is a Raspberry Pi 3 B along with a microphone and a webcam.
When trying to write
ffmpeg -f video4linux2 -i /dev/video0 \
-f pulse -i alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-mono \
hello.mp4
Answer the question
In order to leave comments, you need to log in
Try with the -itsoffset N
option
Play around with this N option until you get the timing you want. For example, slow down the audio for exactly 1 second
ffmpeg -f video4linux2 -i /dev/video0 \
-f pulse -itsoffset -1.0 -i alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-mono \
hello.mp4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question