Score:0

FFMPEG compiled with alsa, but still "Unknown input format: 'alsa'"

th flag

Faced problem with ffmpeg+alsa.

Running, for example sudo ffmpeg -f alsa -ac 1 -i hw:1 -t 30 out.wav gives me:

...Unknown input format: 'alsa'...

Checking for alsa:

I compiled on config with next setup.

Running ./ffmpeg -formats |grep alsa in ffmpeg dir:

...DE alsa            ALSA audio output...

Running cat config.h | grep ALSA in same dir:

...
#define CONFIG_ALSA 1
#define CONFIG_ALSA_INDEV 1
#define CONFIG_ALSA_OUTDEV 1
...

Now I have no idea at all. Recompiling with same config gave nothing.

hr flag
Where did you install the compiled program *to*? `./ffmpeg` won't necessarily be running the same binary as `sudo ffmpeg`
5he1n avatar
th flag
@steeldriver damn... That was so stupid, I can't believe I missed it. Thanks!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.