



When you compile code, the output depends on the architecture target. Arm cpus are most common, but x86 is unusual. arm-v7a, arm-v7a-neon, arm64-v8a, x86 and x86_64īasically, a given Android device might have an arm or an x86 cpu, these are just different architecture types from different manufacturers.No extra code required when we use pre-defined queries. Let’s take one example of query: Cut a small part from video using time val query : Array = “-i”, “input video path.MP4”, “-ss”, “startTime(00=hrs:00=Min:00=Sec:00=m.Sec)”, “to”, “endTime(00=hrs:00=Min:00=Sec:00=m.Sec)”, “-r”, “$FRAME_RATE”, “-preset”, “ultrafast”, “output video path.MP4”Īdd an easy way to execute the In-build command(Query): val startCutTimeString = "00:01:00" (HH:MM:SS) val endCutTimeString = "00:02:00" (HH:MM:SS) val query:Array = FFmpegQueryExtension.cutVideo(inputPath, startCutTimeString, endCutTimeString, outputPath) CallBackOfQuery.callQuery(this, query, object : FFmpegCallBack )

To integrate FFmpeg in your android application you can use pre-compiled libraries like FFmpeg, which provide multiple predefined multimedia operations(Queries) and which is easy to integrate by adding FFmpeg dependency in app module gradle file and sync project.
