0
votes
0answers
89 views

Record Audio From USB device using FFmpeg

I am trying to record an MP3 file from an audio device connected to the USB port using ffmpeg. I am on a Windows 7 machine, and I am trying to do this from a command line: ffmpeg -f alsa -i hw:0 -ac ...
1
vote
1answer
149 views

Using loopbacks and null-sink cause extreme distortion after 20-30s during ffmpeg recording

I'm trying to record both video, speaker sounds and microphone sounds at the same time. To deal with the audio, I set up two loopbacks (one for microphone, one for speakers): pactl load-module ...
1
vote
0answers
363 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
1answer
386 views

ffmpeg udp audio livestream

Having trouble getting the following command to stream audio through udp, is there a parameter missing? ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f mpegts udp://10.255.255.255:10000?pkt_size=1316 The ...
2
votes
2answers
497 views

How Video4Linux and ALSA work with Codecs

My understanding is that a codec is both a decoder and a specification for decoding. So some group writes a codec which explains how to decode from their format back into the raw bitstream, and they ...