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
0
votes
1 answer

Why "x86" library is installed on a "armeabi-v7a" emulator instead of "armeabi-v7a" library?

To introduce my problem, I have an application using NDK compiled only for "armeabi-v7a" and "x86" ABIs. So compilation gives me: Android NDK: WARNING: APP_PLATFORM android-17 is larger than android:minSdkVersion 10 in…
N0un
  • 868
  • 8
  • 31
0
votes
0 answers

how to trim video using FFMPEG android?

i have tried below command but got error String[] cmd = new String[14]; cmd[0] = "-y"; cmd[1] = "-ss"; cmd[2] = ""+videoPlayerState.getStart(); cmd[3] = "-i"; cmd[4] =…
Anil Kanani
  • 260
  • 2
  • 19
0
votes
1 answer

Ffmpeg convert images to video error in android

My main goal is creating a video file using series of images. then I build the Ffmpeg library to android using Roman10 Tutorial. When creating a android app I add .so files and ffmpeg File to assert folder. Then executing command, ffmpeg -f image2…
msj
  • 199
  • 1
  • 2
  • 13
-1
votes
2 answers

Can we Stream Live Audio from Android phone using FFmpeg?

Im using ffmpeg_kit_flutter package to Stream data to the RTSP server in Flutter. IOS : Working Android : Its not working Command Used : 'ffmpeg -f avfoundation -i ":0" -acodec aac -f rtsp -rtsp_transport tcp "$Url"' When i ran a "ffmpeg -devices"…
Uday
  • 1,619
  • 3
  • 23
  • 48
-1
votes
1 answer

FFMPEG change videos size

How do i change a video that is 1920x1080 to 1080x1920, and then "shrink" it so that it fills only half of the 1080x1920 screen size? here is what i mean: 1920x1080 original needs to be changed to 1080x1920 that covers 50% of screen space only
Rittari771
  • 13
  • 1
  • 4
-1
votes
1 answer

Stabilizing video using FFMpeg in Android

I am trying to stabilize a video using FFMpeg in Android. I am currently using the FFmpeg-Android-Java library but I have also tried MobileFFmpeg as suggested by this question and also FFmpegKit. I can get the deshaking filter to work but it made my…
-1
votes
1 answer

How to add rotate animation to overlay image over another image with an audio file using FFmpeg

I want to add rotation animation to overlay image to another image and create a video with audio file. below code is creating video file but the problem is it is rotating whole video rather then rotating the overlay image. ffmpeg…
Pradeep Kumar
  • 586
  • 3
  • 19
-1
votes
1 answer

Invalid too big FFmpeg Crop

I have a video cropper working fine to all videos I tested, but a video from s20 ultra, gives me some error in FFmpeg, i don't really know if the video is oversize or not my source code…
-1
votes
2 answers

i have to list all images,backgrounds, layers etc inside my video as json file using ffmpeg

Please tell me the ffmpeg cammand line code to get information of mp4 file in json format. i want details of video(in mp4) to json format. The details include images, layers , background, audio information etc just as shown in code below.(The output…
-1
votes
1 answer

FFMPEG out image rotating 180 degrees automatically

I am using below command for image compression using FFMPEG. After executing command file rotating by 180 degrees in 6 inch above devices. "-y -i "+srcfile + " -vf scale=320:-1 " + targetpath + File.separator + filename
dnvsp
  • 191
  • 1
  • 14
-1
votes
1 answer

I saw the yt-watchme code in github. when i build ndk it not done

I saw the yt-watchme code in github. when i build ndk it not done. c file: ffmpeg-jni.c jni folder when I build ndk it comes like this How can I solve this error?
Pradeep Simba
  • 282
  • 5
  • 15
-1
votes
1 answer

How to add day suffix[st,nd,rd,th] in timestamp's date in ffmpeg command?

I am using this command to add time stamp in video: ffmpeg -y -i input.mp4 -vf "drawtext=fontfile=roboto.ttf:fontsize=36:fontcolor=yellow:text='%{pts\:gmtime\:1575526882\:%d %b, %Y %I\\\:%M %p}'" -preset ultrafast -f mp4 output.mp4 this command…
Milan Tejani
  • 372
  • 5
  • 21
-1
votes
1 answer

How to add timestamp to video with different date & time format provided by android?

I am making android app to add timestamp to video using FFMPEG library and also it works fine but it add timestamp using by default date time format provided by FFMPEG. it's uses YYYY-MM-DD HH:MM:SS format for timestamp where android provide…
Milan Tejani
  • 372
  • 5
  • 21
-1
votes
1 answer

FFMPEG shows error like unable to find a suitable output format for text

I guess command is not working properly here. I am using this project -y -i /storage/emulated/0/DCIM/Camera/VID_20190623_153948.mp4 -vf "drawtext=fontfile=/usr/share/fonts/truetype/DejaVuSans.ttf: text='Stack' "…
-1
votes
1 answer

Want to crop video in 1:1 aspectration using ffmpeg but it gives error Working Directory: null Environment: null

I have used below command for crop video from originally captured by default camera. But when i was execute command it gives below error. final String[] cmd={"-i", "/storage/emulated/0/DCIM/ZyfVideo/VID_20170914_153804.mp4","-s", "480x480" ,"-vf"…
Mahesh
  • 1,559
  • 6
  • 27
  • 57
1 2 3
33
34