Comments (18)
哈哈 ,目前正在做下一版,后续稳定后,全部上传,敬请期待噢~~~
from rxffmpeg.
计算方法是在ndk层去处理的,java层只接收结果~
拿到视频总长度,和当前处理的长度,即可计算出实际进度。
from rxffmpeg.
from rxffmpeg.
不是java层去调用ndk层拿进度, 是ndk层主动去调用 java层方法哦;这里:
public void onProgress(int progress) {
if (ffmpegListener != null)
ffmpegListener.onProgress(progress);
}
public void onFinish() {
if (ffmpegListener != null)
ffmpegListener.onFinish();
}
public void onCancel() {
if (ffmpegListener != null)
ffmpegListener.onCancel();
}
public void onError(String message) {
if (ffmpegListener != null)
ffmpegListener.onError(message);
}
from rxffmpeg.
哈哈什么时候看看作者的jni方法啊
from rxffmpeg.
嗯,要是能有命名函数的使用demo就好了,我更希望使用命令来学习ffmpeg,
from rxffmpeg.
后续会补充常用的命令的 ,比如裁剪、拼接、背景音乐、字母、贴纸等等一系列~~
from rxffmpeg.
太棒了期待学习
from rxffmpeg.
我也以前在mac上编译ffmpeg 最新版一直没有成功,到时候试试作者的脚本
from rxffmpeg.
我这个是在ubuntu编译的哦!哈啊哈~~~ 感谢支持~~~
from rxffmpeg.
可以参考这个文章
https://blog.csdn.net/yhaolpz/article/details/78350435
from rxffmpeg.
求问视频压缩的关键词是那个?用了参考文章的方法,执行一小段时间 strstr()就会导致app挂了。
from rxffmpeg.
ffmpeg -y -i /storage/emulated/0/1/input.mp4 -b 2097k -r 30 -vcodec libx264 -preset superfast /storage/emulated/0/1/result.mp4
from rxffmpeg.
from rxffmpeg.
谢谢,,我是想了解,在执行视频压缩的过程中,作者采用的进度获取的方式是什么的逻辑?是通过ffmpeg的log去截取吗?还是其他方式?我采用了https://blog.csdn.net/yhaolpz/article/details/78350435 这篇文章的逻辑,去出来,执行一段时间,在strstr()去获取 time=的时候,会挂掉。
from rxffmpeg.
@online2 你发的那篇文章不是我写的哦,在ffmpeg.c里面去修改的,拿到视频总长度,和当前处理的长度,即可计算出实际进度。
from rxffmpeg.
可以使用Gradle依赖:)
dependencies {
implementation 'com.github.microshow:RxFFmpeg:1.2.2'
}
from rxffmpeg.
可以更新V2.0.0版本,速度嗖嗖的
from rxffmpeg.
Related Issues (20)
- 录像的时候, 支持RTSP,RTMP直播流吗? 我看文档之后这些格式(在线视频处理(支持 http / https / rtmp / hls / m3u8...等等) )
- 你好博主~ 下载Demo,在播放器界面,使用Demo播放器来播放错误直播流地址是(本地公司内部开发板推过来的流地址(http,vlc能够播放起来),)
- 适配 targetSDK 33 HOT 1
- 可否出个纯净版的,将Rx系列移除。 HOT 2
- mp4解码成yuv找不到文件 HOT 1
- 华为的鸿蒙系统崩溃率比较高 HOT 1
- 权限问题Permission denied
- 提示找不到文件但是我是真的路劲没错啊, 你们是路径是这样的吗 /storage/emulated/0/1/input.mp4 HOT 2
- AndroidX error
- 无法解析后缀类似为1682566994781_NORMVIDEO20230427-113503 (1).mp4的视频
- 画中画效果无效
- 进度回调不正确 HOT 1
- 干预转码MP3 HOT 1
- 提示 No such filter: '"showwavespic' HOT 6
- 请问有升级到ffmpeg6.0的计划吗? HOT 1
- 压缩视频直接报内存错误 HOT 1
- 获取文件大小有误
- 依赖4.9.0执行任何命令始终提示输入文件permission denial
- 转码失败,提示未找到解码器 HOT 2
- 關閉APP後再進行FFMPEG操作會無法讀取檔案 HOT 1
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 rxffmpeg.