[FFmpeg-user] android camera

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Dec 22 14:09:16 EET 2018

2018-12-22 6:51 GMT+01:00, Евгений Эресман <klab.72-at-mail.ru at ffmpeg.org>:
> Hello!
> Please help!
> Built ffmpeg-4.1 static with android_camera support.
> Config file attached
> Trying to grab the android camera from the command line:

When asking for help here, always provide the command
line you tested together with the complete, uncut console output.

> ffmpeg -f android_camera -vcodec flv1 -f flv /sdcard/capture.flv

The command line is missing the necessary option "-i":
ffmpeg -f android_camera -i ... -vcodec flv1 -f flv /sdcard/capture.flv
but you can remove "-vcodec flv1 -f flv", both are the default
for output file suffix ".flv".

I don't know what you have to put after "-i", try "-i 0".

Carl Eugen

More information about the ffmpeg-user mailing list