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
0 answers

How we can get FFMPEG command from aftereffect json file(exported from bodymovin)?

How we can get FFMPEG command from aftereffect json file(exported from bodymovin)? I have export aftereffect json file with help of bodymovin plugin. But I have to load animation with help of ffmpeg. How I can get ffmpeg command from json or any…
2
votes
0 answers

Is it possible to stream android screen to an RTMP server using FFmpeg?

I was wondering if it's possible to stream the android screen using FFmpeg to an RTMP server, what approach to take and if using apps like Termux is enough and hows the command/script would look like.
2
votes
2 answers

How to reduce apk size when using FFmpeg

App is developed it's size is hardly 30MB and when integrated FFmpeg Library its size goes to 135MB which is Too much. Anyone know anything?
2
votes
0 answers

What is the difference between raw MediaCodec implementation with FFmpeg integrated MediaCodec?

I google around the sample code for MediaCodec and notice there are three kinds of implementation in the market: Java version NDK version with raw MediaCodec API NDK version but FFmpeg takes care of everything I guess Java version is different on…
Michael
  • 1,313
  • 11
  • 25
2
votes
1 answer

flutter ffmpeg_kit_flutter ResultHandler can not send event on a null event sink

on my personal project, I get the same error from any package that uses the ffmpeg_kit_flutter package, which I am sure is related to ffmpeg. D/ffmpeg-kit-flutter( 4235): FFmpegKitFlutterPlugin started listening to events on…
saeid teroda
  • 123
  • 7
2
votes
1 answer

FFMPEG Video not working on Social Media Platforms (Flutter-FFMPEG)

I am using Flutter-FFMPEG a Flutter library based on Mobile FFMPEG. I am creating a video from a list of .bmp images. The video works plays normally in devices media player on android or desktop. But when I tried to share that video on social media…
Raj Dhakad
  • 852
  • 2
  • 17
  • 39
2
votes
0 answers

flutter_ffmpeg concat demuxer | front camera videos are upside-down or corrupted

I am currently recording multiple mp4 clips (using Flutter's camera package) and then using ffmpeg concat demuxer to create a single video: await _flutterFFmpeg.execute('-f concat -safe 0 -i ${txtFile.path} -c copy ${outputClipPath.path}'); This…
Gicminos
  • 912
  • 3
  • 10
  • 32
2
votes
1 answer

Flutter app crashes in release mode when initializing FlutterFFmpegConfig();

The app is working on Android on Debug mode(only) with no errors in the logcat/terminal. But when I tested it on iOS (even in debug mode), it crashes on a specific page. After long tests, I could know that this line was causing the app to…
Mahmoud Eidarous
  • 185
  • 1
  • 2
  • 17
2
votes
1 answer

How to set audio speed to 0.3 in Ffmpeg?

I am using ffmpeg to set the audio and video speed to 0.3x. I can set the video speed but can't set the audio speed to 0.3x. Here is the command ffmpeg -y -i video.mp4 -vf "setpts=PTS/0.3" -r 50 -c:v mpeg4 -b:v 1500k -af "atempo=0.3" output.mp4 It…
WebDiva
  • 133
  • 3
  • 23
2
votes
1 answer

Cannot convert .ogg file to .mp3 or other file formats

I am trying to convert ogg audio file to mp3 or other audio file formats that can be played in ios devices But ogg files are not being converted into other formats like mp3 and caf. I am testing the conversion in android device. This is my ffmpeg…
anoncgain
  • 375
  • 3
  • 14
2
votes
1 answer

Play video using FFmpeg library in androidNDK

I have all required .so libraries and header files to play a video. I want to play video from the Raw folder. I am struck at CPP code. Unable to pass a video file path to CPP code. The following is my native-lib.cpp code const char *file =…
2
votes
0 answers

Android ImageFormat.YUV_420_888 in FFmpeg

Im using ffmpeg on Android. I have an image with the format ImageFormat.YUV_420_888and want to put the image into an AVFrame. The Problem is that I dont know what format ImageFormat.YUV_420_888 is in ffmpeg. I tried with AV_PIX_FMT_YUV420P but the…
user12126593
2
votes
1 answer

Is there a way to identify if an audio is VBR or CBR using FFMpeg?

I tried using FFProbe's command, but it's not enough to determine if the audio is CBR or VBR. ffprobe -v error -show_format -show_streams 123_1429602551009.051025.m4a Thanks
Nishan Bende
  • 41
  • 1
  • 8
2
votes
0 answers

FFMPEGmediametadataretriever not getting all frames from video

I am developing an application that takes a local video file and extracts its frames and write on disk. I am using ffmpegmediametadataretriever to extract frames from videos. I have done the following code retriever.setDataSource(activity,…
Zain Aftab
  • 703
  • 7
  • 21
2
votes
1 answer

FFmpeg ignores start time to trim audio file android

I am implementing FFmpeg to my android project. I used ffmpeg-android-java to perform editing in audio and video files. Now I am trying to trim my audio file using FFmpeg and FFmpeg ignores my start time for trimming. I referred many posts…
Bablu Gaur
  • 27
  • 7