Comments (5)
What do you mean it is not working?
Is it crashing? If yes, please share the crash logs
Or is it not giving the expected output? If yes, please state the expected and obtained outputs
from ffmpegandroidlibrary.
There are multiple errors in the command you are trying to run.
- time durations are of the format
hh:mm:ss
. So it should be00:00:00
instead of00:00:00:000
- The correct command to clip is :
ffmpeg -i input.mp4 -ss 00:00:01 -to 00:00:02 -async 1 output.mp4
Please correct yourarray
accordingly
Closing issue because this is FFMPEG command help not a library issue.
from ffmpegandroidlibrary.
I changed my array as
val array = arrayOf("-i",
"/storage/emulated/0/DCIM/Camera/VID_20180429_201732.mp4",
"-ss 00:00:01",
"-to 00:00:30",
"-async 1",
"/storage/emulated/0/DCIM/Camera/first_30.mp4")
Now also I am getting same log. The log message is
I/Videokit: start run in main.
register_exit
I/Videokit: term_init & parse options.
D/Videokit: ERROR OCCURED
I didn't say its library issue. I just need help. Can you help me regards this?
from ffmpegandroidlibrary.
from ffmpegandroidlibrary.
Hi Friend, I have tried following command with ffmpeg-android its working, but very slow.
val command = arrayOf("-i", selectedImagePath, "-ss", "00:00:01", "-to", "00:00:30", "-async", "1", file.absolutePath)
execFFmpegBinary(command)
But when I try to run the same command using our library, its not working, and it just reloads the activity.
val command = arrayOf("-i", selectedImagePath, "-ss", "00:00:01", "-to", "00:00:30", "-async", "1", file.absolutePath)
instance?.run(command)
#Update#
When I change the command as following and run with ffmpeg-android its finished in fraction of seconds.
val command = arrayOf("-i", selectedImagePath, "-ss", "00:00:01", "-to", "00:00:30", "-async", "1", "-c", "copy", file.absolutePath)
Can you take a look on it.
from ffmpegandroidlibrary.
Related Issues (20)
- does not work build HOT 2
- android folder does not created HOT 1
- NDK-Build Issue
- Show Progress HOT 3
- Adding Watermark over video HOT 1
- save rtsp stream from live network camera
- merger file error HOT 2
- issue in running the project HOT 5
- Error in merging videos
- Issue during build
- java.lang.UnsatisfiedLinkError HOT 2
- Merge audio and video HOT 4
- Error in build HOT 1
- Progress Not Getting
- How to compile 64 bit devices. Google is not allowing apps to run if 64 bit is not supported from 1st August 2019.
- [Question] Convert from byte array to stream or other byte array.
- integrate in Android studio with ffmpeg
- video Masking
- 报错了啊 so库缺失
- Merged 3 videos using FFMPEG in android not working after lib upgraded to Android 10.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpegandroidlibrary.