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

Trim and merge audio and video file using ffmpeg

I'm trying to trim an audio file and then merge it with my video file on android. I can merge them together with the command below String command[] = {"-i", mOutputFile.getAbsolutePath(), " -i", mOutputAudioFile.getAbsolutePath(), "-c:v", "copy",…
falary
  • 33
  • 1
  • 8
0
votes
0 answers

Android FFmpeg: get frame count from video

I only want to filter out 20% of frames from the start of the video and the end of the video, but i cant do that if i dont have total frame count. I alr know how to filter out frames, i just need to know how to get total frame count of a video. I've…
Tix
  • 449
  • 1
  • 8
  • 27
0
votes
0 answers

Android ffmpeg How to add watermark on video file

I am trying to add watermark on video file using FFmpegFrameFilter but watermark is not adding on output video. also output video not correct getting only one second video where video length is 8 seconds. please help me. here my code class…
Hitesh Gehlot
  • 1,307
  • 1
  • 15
  • 30
0
votes
1 answer

Error while drawing Text on Video using FFMpeg command in android

I actually used this command to overlay text on video but it's not working. String[] cmd = new String[]{ "-i", path.mp4, "-vf", "drawtext=fontfile=/home/mobihouse/hemanth-work-files/TwoTHumbSeekbarTest/app/src/main/assets/loto.ttf:…
hemanth
  • 1
  • 2
0
votes
1 answer

Stream is receiving on YouTube server but can't play it

I'm using yesea repository to live stream to YouTube. Whenever I publish the stream, from YouTube Live Control Room I can see that the stream is LIVE. However, when I try to play/watch the live video. This happens I have enabled DVR and…
0
votes
1 answer

Android use FFMPEG to encode h.264 from camera

I got an Android board (Nanopi M3, Android 5.1). I want to use FFMPEG to encode what I have captured from the camera to h.264 format. What input source should be put in the command in FFMPEG? I don't know how to set input source as camera in…
0
votes
1 answer

Add two commands in ffmpeg

I am using two commands, one to set size of frames and other to add water mark to left top corner This command set size of frames to 720*1280 String[] complexCommandOne = {"-y" ,"-i", path,"-strict","experimental", "-vf",…
0
votes
2 answers

Webcam capture for opencv in Android ,built with ffmpeg and compiled for android

I just purchased an onwave ip camera ,the main aim was to do image processing and monitoring using Android tablet.While coding natively and when cross compiled for java,python and C++ with FFMPEG .The Videocapture class works with ip camera url…
0
votes
1 answer

Android ffmpeg fails on second run

I have a problem with https://github.com/WritingMinds/ffmpeg-android-java. It's Java wrapper lib for ffmpeg on Android and is was working pretty good. But is seems that you can not run two video encodings in a row. Actually it will encode video only…
Ante Braovic
  • 457
  • 4
  • 13
0
votes
1 answer

FFmpeg on Android with Rubberband

When I try to link librubberband.a I get: libavfilter/af_rubberband.c:236: error: undefined reference to 'rubberband_set_pitch_scale' I compiled rubberband for armv7a, and created a static library (rubberband.a). I checked the library, and It…
Eli
  • 707
  • 8
  • 16
0
votes
1 answer

downloading m3u8 format using ffmpeg in android

I want to download a m3u8 hls video on android. i am using this https://github.com/WritingMinds/ffmpeg-android-java github project. my code run perfect with some file like…
M.Movaffagh
  • 1,284
  • 5
  • 20
  • 33
0
votes
1 answer

FFMPEG set -ss and -to with string

I know I can set the start with -ss and end with -to but can someone please help me to format the following so that I can enter the -ss and -to with a string? I want -ss to come from String start = editStart.getText().toString(); and -to to come…
user7995744
0
votes
0 answers

Videos splitting using FFMpeg in android

Hi i am using FFMpeg for splitting video(39MB) as 15 parts using below command and that's fine video is splitting and there is no damage. But problem is actually my main file size is 39MB but after splitting this video then splitting video files…
Krish
  • 4,166
  • 11
  • 58
  • 110
0
votes
1 answer

FFMPEG image to video with transition effects

I have used this command to concate multiple images with transition effects to create video. "-y -f concat -safe 0 -i -filter_complex [0:0][1:0]concat=n=2:v=0:a=1[out] -map [v] -shortest -vf fps=40 -pix_fmt yuv420p
Ravi
  • 34,851
  • 21
  • 122
  • 183
0
votes
1 answer

Building FFMPEG with Android Project

I have generated ffmpeg binaries and setup NDK with my Android Studio I have also generated static files of ffmpeg. I am new with Android NDK I need help with building ffmpeg with my Android Project can anyone guide me to do so. Here is the of the…
Contextioner
  • 75
  • 11