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

Acceptable Video Size For Social Network With FFMpeg

I'm building a social network on Android and using FFMPeg to compress the videos before uploading them. Videos will have maximum 1 minute of duration. The original video for test has 87.74Mb 1080x1920. Trying to find the middle point between quality…
0
votes
1 answer

Subtitle Encoding using ffmpeg

I want to read and write subtitle stream ffmpeg -i E:/Video/Waka.mp4 -vf subtitles=E:/Video/Waka.srt out.mp4 equivalent code in c or c++ and please provide how to add subtitle stream and encoding parameter, what is procedure to read subtitle…
0
votes
0 answers

How to pause/resume conversion of media file using ffmpeg in android

I have successfully downloaded the media file from below command using ffmpeg in my application. Now I want to pause during on progress of the download and again I resume the same after some time. below ffmpeg command used for download and files…
venkatesh kumar
  • 167
  • 2
  • 10
0
votes
1 answer

ffmpeg error while adding text on video

I have used 'com.writingminds:FFmpegAndroid:0.3.2' library for using ffmpeg in my app.I want to add text in video.I have added the library and used the methods specified there .Then I'm passing the ffmpeg command as an argument to the execute method…
Sid
  • 2,792
  • 9
  • 55
  • 111
0
votes
1 answer

Video Compression using ffpmeg

I am using ffmeg for video compression. I have used ffpmeg library Use command "ffmpeg -i " + filein.trim() + " -vcodec h264 -acodec mp2 " + fileout.trim() but i doesn't respond anything. I have used any ndk library for first time.
Aditi
  • 455
  • 4
  • 13
0
votes
0 answers

FFmpeg get frames equally spaced out from video

I am having some real problems with FFmpeg in my Android application. I am currently trying to take a video recorded from the device and extract frames from the video equally throughout the video. I used this blog post. The last formula: ffmpeg -i…
TheOtherguyz4kj
  • 83
  • 1
  • 1
  • 4
0
votes
0 answers

Split text in lines ffmpeg based on font and text length

How can I calculate when to put a new line based on text length and font using function drawText from ffmpeg. For example if i have a long text that I want to place it at bottom in the video and it needs to take how much place it…
0
votes
0 answers

Not supporting .mp2 files in Android Nougat and Oreo using FFmpeg

I am developing an android app using FFmpeg [https://github.com/WritingMinds/ffmpeg-android-java] Successfully working all app function on 4.1 to 6.0 android version but I am facing following error for Android version - 7.0(Nougat),7.1.1(Nougat) and…
Sujay
  • 588
  • 6
  • 15
0
votes
1 answer

ffmpeg Get time of frames from trimmed video

I am using FFmpeg in my application to extract frames from a video, the frames will be added to a trim video view where you get an illustration as to what is happening in the video at a specific time within the video. So each frame needs to…
0
votes
1 answer

Android Create MP4 with bitmap series and mp3 by FFmpeg (i need minimal ffmpeg config for build)

i'm building ffmpeg for android. my target is only create mp4 video with series of bitmap image and merge mp3 audio. i want use ffmpeg only only for this target. So i need optimized config for this target. i try find in google and find not bad…
Farzad
  • 1,975
  • 1
  • 25
  • 47
0
votes
1 answer

Square video 1:1 ration ffmpeg command " Unrecognized option '‌​pr‌​eset'" not found at the time of crop video in android?

I have captured video successfully with normal android camera. Now i want to crop video with 1:1 ratio using ffmpeg libray command. But it gives me below error. Version Used FFMPEG : compile 'com.writingminds:FFmpegAndroid:0.3.2' Command : -y, -i,…
Mahesh
  • 1,559
  • 6
  • 27
  • 57
0
votes
0 answers

After crop video output file not generated using ffmpeg android?

I have cropped video using ffmpeg command after convert output media file not generating. I have used below command for crop video. final String[] cmd={-version, -i, /storage/emulated/0/DCIM/ZyfVideo/VID_20170915_033023.mp4, -s, 720x1184, -vf,…
Mahesh
  • 1,559
  • 6
  • 27
  • 57
0
votes
1 answer

ffmpeg using Single image and an audio file, but output video is not seek-able ( only resumes from 0:00, even if seeked ahead )

Using Ffmpeg on Android to make a video from Single image merged with an Audio file, it works but the output video is not seeking to any time stamps ex - always starts from 0:00, on seeking the video ahead it just restarts the whole video from…
abhi rathi
  • 59
  • 3
0
votes
1 answer

Record Video in Android with a watermark

I am creating an application to take a video from the front camera and add a logo and save it. I read about FFmpeg and have used it Linux. Is there any simple ways present to do the same. I have already coded the application.I am trying to add a…
0
votes
1 answer

A few questions about the startcode of NALU

I am a beginner to study MPEG4, and there are some definitions that confuse me. It is said if a NALU slice is the first slice of a frame, then the startcode of NALU is 4 bytes "\x00\x00\x00\x01", otherwise it is 3 bytes "\x00\x00\x01". I want to…
Master Qiao
  • 301
  • 2
  • 10