[FFmpeg-user] android camera

Евгений Эресман klab.72 at mail.ru
Sat Dec 22 16:21:27 EET 2018


I understand that the command line does not reach the camera?


>Суббота, 22 декабря 2018, 16:00 +03:00 от Nikhil Yadav <nikhilcyberlinks at gmail.com>:
>
>Failed to allocate memory and Failed to open camera error are due to the
>reason app doesn't have camera permission
>Check weather your app has relevant permission or not
>
>On Sat, Dec 22, 2018, 6:20 PM Евгений Эресман < klab.72-at-mail.ru at ffmpeg.org >
>wrote:
>
>>
>>
>>
>> >Суббота, 22 декабря 2018, 15:09 +03:00 от Carl Eugen Hoyos <
>>  ceffmpeg at gmail.com >:
>> >
>> >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
>> >_______________________________________________
>> >ffmpeg-user mailing list
>> > ffmpeg-user at ffmpeg.org
>> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >
>> >To unsubscribe, visit link above, or email
>> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>> Tried
>> ffmpeg -f android_camera -i 0 -vcodec flv1 -f flv /sdcard/capture.flv
>> and
>> ffmpeg -f android_camera -i 1 -vcodec flv1 -f flv /sdcard/capture.flv
>> and
>> ffmpeg -f android_camera -i - -vcodec flv1 -f flv /sdcard/capture.flv
>> Mistake
>> Failed to allocate memory for camera_id
>> Failed to open camera
>> Failed to open android_camera
>> 0: Generic error in an external library
>> ...
>> pipe: Generic error in an external library
>> If so
>> ffmpeg -f android_camera -map 0 -vcodec flv1 -f flv /sdcard/capture.flv
>> Mistake
>> Invalid input file index: 0.
>>
>> --
>> Евгений Эресман
>> _______________________________________________
>> ffmpeg-user mailing list
>>  ffmpeg-user at ffmpeg.org
>>  http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>>  ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>_______________________________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>To unsubscribe, visit link above, or email
>ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

-- 
Евгений Эресман


More information about the ffmpeg-user mailing list