Oscar Law
Oscar Law

Reputation: 3

Android use FFMPEG to encode h.264 from camera

I got an Android board (Nanopi M3, Android 5.1). I want to use FFMPEG to encode what I have captured from the camera to h.264 format. What input source should be put in the command in FFMPEG? I don't know how to set input source as camera in command.

Upvotes: 0

Views: 1097

Answers (1)

Eric Li
Eric Li

Reputation: 11

First, you need to use the NDK compiler FFmpeg source.you can get so library.

Then you use to collect the Camera data through jni calls for H264 encoding FFmpeg.

Upvotes: 1

Related Questions