1
vote
1answer
319 views

Record audio and video by using FFmpeg

I tried to record audio and video at the same time by using FFmpeg. However, several problems occurred. Here is my code: ffmpeg -f alsa -ar 24000 -i plughw:1 -acodec aac -strict experimental -f ...
0
votes
0answers
102 views

ffmpeg capture frame from input on demand

I'm trying to capture image frames from a webcam on demand. I'm using ffmpeg and I was thinking of keeping a stream running, sort of as a daemon, with: ffmpeg -f v4l2 -i /dev/video0 /dev/null Is it ...
1
vote
1answer
175 views

Using Raspberry Pi as I/O for webcams

I'm working on a project where a Raspberry Pi is being used as an I/O board for multiple servos, which are actually controlled by another computer, connected to the RPi via ethernet. I need to add 2 ...
1
vote
0answers
609 views

Alternatives to Video4Linux2 for grabbing from webcam (Using FFmpeg)

I'm getting (two alternating) errors following this guide for streaming from a Raspberry Pi. Are there any other grabbers besides V4L2 that I can use with ffmpeg? Or are there any other streaming ...
1
vote
0answers
442 views

ALSA buffer xrun when recording with ffmpeg

Is there any way to increase the ALSA buffer size? When running this command: ffmpeg -f alsa -ac 2 -i hw:1 -ar 44100 -b 64k output.mp3 I get a "ALSA buffer xrun" before my system locks up Input ...
1
vote
0answers
603 views

Webcam stream doesn't work on Logitech E2500

I'm currently trying to get webcam streaming to work on a Logitech E2500 with ffmpeg. Running the command gives me some kind of buffer length error. pi@raspberrypi ~/ffmpeg-dmo-1.0 $ sudo ...