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
222
votes
10 answers

FFmpeg on Android

I have got FFmpeg compiled (libffmpeg.so) on Android. Now I have to build either an application like RockPlayer or use existing Android multimedia framework to invoke FFmpeg. Do you have steps / procedures / code / example on integrating FFmpeg on…
Jag
  • 2,221
  • 3
  • 14
  • 5
49
votes
4 answers

ffmpeg for a android (using tutorial: "ffmpeg and Android.mk")

I am trying to compile ffmpeg for a android. I have found several posts on this theme but non of these seems to work. If tried to build ffmpeg like it is posted on [1]. Did anybody successfully compile ffmpeg using theses tutorial? I am not sure how…
Matthias
  • 491
  • 1
  • 5
  • 3
26
votes
2 answers

ffmpeg command for faster encoding at a decent bitrate with smaller file size

I'm currently using an implementation of ffmpeg on my android app. I'm allowing users to take short videos within my app and then when they upload them to the server, I'm crunching them down with ffmpeg to decrease file size so they're not passing…
Blair Holmes
  • 1,521
  • 2
  • 22
  • 35
20
votes
3 answers

How to save rtsp stream without packet loss by using FFMPEG

I am saving stream of live camera by using FFMPEG. When i am trying to save the video some data packets are loss so the video is not playing properly.I am using following FFMPEG Library The command which i am sending is- String[] cmd = {"-y",…
sumit singh
  • 588
  • 1
  • 5
  • 20
12
votes
1 answer

Different h264 encoders in FFmpeg

In ffmpeg 4.0, there are several h264 encoders. If you use ./configure --list-encoders | grep "h264", you can see them. h264_amf h264_nvenc h264_omx h264_qsv h264_v4l2m2m …
CoXier
  • 2,523
  • 8
  • 33
  • 60
10
votes
1 answer

In Android Screen Recording - How can I get each frame?

I am using the MediaRecorder and MediaProjection Api for recording the screen in android app. I am not able to get each frame that I can send over a rtmp stream. For publishing over an RTMP stream I am using JAVACV Android library. For eg - In case…
umesh lohani
  • 162
  • 1
  • 4
  • 13
8
votes
0 answers

Pipe images to video with flutter_ffmpeg in flutter

I'm trying to manipulate images from image stream received from camera in flutter and then save them to a video using flutter_ffmpeg. i'm able to open a pipe but code is unresponsive after that here's the…
Avi Sangray
  • 431
  • 3
  • 16
8
votes
2 answers

How to build FFMPEG for all architecture of android device?

I am trying to build ffmpeg for android in windows 8.1 using CYGWIN I am following This question & How to compile FFMPEG under Cygwin . I succsessfully compile but it is not generate FFMPEG.so but it generate ffmpeg.exe file I don't want any…
prakash ubhadiya
  • 1,242
  • 1
  • 12
  • 24
7
votes
2 answers

FFMPEG - Overlay multipe videos over video at specified interval of time

I want to overlay multiple videos over a single video at specified interval of time. have tried with different solution but it will not work as i aspect i am use below command to overlay video over video String[] cmdWorking3 = new…
ND1010_
  • 3,743
  • 24
  • 41
6
votes
0 answers

Exoplayer FFmpeg Video Decoder

Does any one worked on building FFmpeg Video decoder in Exoplayer? Right now they are supporting Audio Decoder, is there any chance of supporting video decoder also ?
srujith poondla
  • 171
  • 1
  • 12
6
votes
2 answers

ffmpeg video compressed but not playing in browser

I have integrated ffmpeg4android lib. Video compressing is working fine but video is not playing in browser except safari browser. after uploading to server. I have used following command. ffmpeg -y -i -strict experimental -r 30 -ab…
5
votes
0 answers

Cannot merge VisualSampleEntry error while appending videos in MP4parser

I am creating four videos with ffmpeg and then i am appending them with MP4parser. Details of four videos that i am creating with ffmpeg. 1,2 video : created using one image [-loop, 1, -i, Count_1627453922.jpg, -s, 720x1280, -vf,…
5
votes
0 answers

FFmpeg drawtext issue when apply hindi language font file or other language font file

We are trying to use FFmpeg draw text to support Hindi fonts. but some characters are not rendering properly. Used Hindi Language Font file :-https://fonts.google.com/specimen/Khula Input string :- **जिन्दगी सिर्फ हकीक़त है हकीक़त समझो,** But output…
5
votes
1 answer

How to center crop a video thumbnail (Square thumbnail) in ffmpeg?

I am new to ffmpeg and I want to create a square thumbnail of size 500x500 by cropping the center of the video, irrespective of width and height. How can I achieve this? Thanks in advance.
WebDiva
  • 133
  • 3
  • 23
5
votes
3 answers

FFMPEG Commands is not working on Android 10

I am working on an android app applying video effects like slow and fast motions. My app is working fine below android 10, but not on android 10 and FFMPEG is not showing any error just blank error message on the onFailure callback method. I did…
Zain
  • 81
  • 1
  • 9
1
2 3
33 34