Questions tagged [android-ffmpeg]

Android ffmpeg wrapper are used to add the magic of free open source Ffmpeg inside android platform.

There are several Android ffmpeg wrapper. Most significant are:

499 questions
2
votes
1 answer

Reverse video and loop 2 times ffmpeg

I need to reverse the input video and concat it then the loop the output video twice. I was able to achieve reversing and concat it with original video using ffmpeg -i input.mkv -filter_complex "[0:v]reverse,fifo[r];[0:v][r] concat=n=2:v=1 [v]"…
Shahal
  • 1,008
  • 1
  • 11
  • 29
2
votes
2 answers

Reducing app size by archiving ffmpeg/ffprobe library in Android

I saw many posts on internet about how to decrease FFmpeg/FFprobe lib size in Android. Also I've investigated on this topic about a few months. So I decided to share my conclusions. I'm not talking about compile time settings and disable/enabling…
S.R
  • 2,819
  • 2
  • 22
  • 49
2
votes
1 answer

How to record/download m3u steam video from url using FFMPEG

I am trying to download video from m3u live stream but there is some part of video download in this m3u8 url return segments and this segments merge and give video but video length is like one request response segments , i am try to download steam…
Gaurav
  • 171
  • 1
  • 13
2
votes
0 answers

ffmpeg library convert the layout in LTR direction

I have used FFMpeg for video trim. loadBinary method of FFMpeg distorts the layout to LTR direction.I have instantiated its instance in a thread and also set the locale forcefully in Finish method of loadBinary method but that doesn't solves the…
Anuj Kalal
  • 83
  • 1
  • 10
2
votes
0 answers

How to text zoom-in and zoom-out using FFMPEG command?

I want to set text with zoom-in and zoom-out filter on video using FFMPEG command. "-i", inputPath, "-filter_complex", \ "[0:v]drawtext=fontfile=/storage/emulated/0/project/abc.ttf: \ …
Krupali Shingala
  • 192
  • 2
  • 14
2
votes
0 answers

Android : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x324b3944 in tid 2055 (IntentService[u)

I'm trying to record audio and upload a file to a server, but in Samsung SM-G900W8 (Android 6.0.1, API 23) my app crashing Here is my crash logs: 11-22 19:00:53.860 826-2055/com.app.posterity E/log_tag: imagePath2: 11-22 19:00:53.870…
Adil
  • 812
  • 1
  • 9
  • 29
2
votes
1 answer

Command of FFMPEG to make a video from Image(JPEG) + Audio(.mp3) & Share video in Whatsapp

I am trying to create a video .mp4 file from .mp3 audio & .jpeg image. I am able to create a video and able to play it in video players on Android devices. But after creation of file when I tried to share that video in WhatsApp, at that time it…
2
votes
1 answer

Ffmpeg lost audio stream

I am using the follow command to change brightness of a video, add an image overlay and two text overlays, I probably must make an audio stream var somewhere but I do not know where. CMD: -i srcVideoPath -i…
A.Butakidis
  • 355
  • 1
  • 6
  • 16
2
votes
2 answers

Concat video files with ffmpeg-android

I am using ffmpeg-android to concat two video files,bur it takes too long to concat and I guess it because of using "-filter_complex" but that was the only command I found on internet,can please someone simplify the below command? I just want to…
Katy Colins
  • 533
  • 2
  • 8
  • 24
2
votes
1 answer

Adding transparency to a video from black and white (and gray) alpha information video images

I'd like to create a video with transparency (and semi transparency) in android. The images of the source video are split into two images, the top one with color information (looks like the normal video image), the bottom one with alpha information…
Jan F.
  • 1,681
  • 2
  • 15
  • 27
2
votes
0 answers

android NDK cannot locate symbol "mmap64"

I'm a beginer in ffmpep, I did my first simple project as this tutorial https://proandroiddev.com/android-ndk-how-to-integrate-pre-built-libraries-in-case-of-the-ffmpeg-7ff24551a0f?gi=72f471c40747 But it raised the error "cannot locate mmap64…
2
votes
1 answer

FFmpeg concat video command error

I got following error while trying to concat two videos using ffmpeg command in my android application. Error: "Input link in1:v0 parameters (size 1920x1080, SAR 1:1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR…
Akash Ratanpara
  • 240
  • 1
  • 2
  • 14
2
votes
0 answers

JavaCV transpose FFmpegFrameFilter is not working properly

I am able to rotate video but facing issue in rotating as per documentation. I tried to hardcode filter as following. FFmpegFrameFilter frameFilter = new FFmpegFrameFilter("transpose=cclock", previewWidth, previewHeight); According to…
Aks4125
  • 4,522
  • 4
  • 32
  • 48
2
votes
0 answers

how to create fad-in and fad-out video?

This command used to create fad in and fad out from : https://androidlearnersite.wordpress.com/2017/03/17/ffmpeg-video-editor/comment-page-1/#comment-150 String[] command = {"-y", "-i", file.getAbsolutePath(), "-acodec", "copy", "-vf",…
2
votes
0 answers

Save image while face detection

Hello I've this app that save an image for everytime my face move something similar to the IG stories my problem is that the cellphone get very slow and the app close suddenly because of allocation memory problems I want to know how i can do this…
hidura
  • 681
  • 3
  • 11
  • 36