Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用delogo命令好慢 #41

Closed
hukejia opened this issue May 13, 2019 · 6 comments
Closed

用delogo命令好慢 #41

hukejia opened this issue May 13, 2019 · 6 comments

Comments

@hukejia
Copy link

hukejia commented May 13, 2019

ffmpeg -i /storage/emulated/0/DouyinQuick/@mc天勤(v0300f100000bj8rla5b34ar9veh3lug).mp4 -vf delogo=1:1:100:100:0 /storage/emulated/0/Download/haha.mp4
这个命令10秒的视频耗时1分钟,本来就这么慢还是命令有问题呢,有什么办法优化没

@microshow
Copy link
Owner

添加个 -preset superfast 试试

@hukejia
Copy link
Author

hukejia commented May 13, 2019

添加个 -preset superfast 试试

我刚用这个库FFmpeg-Android,同一个视频20秒,相差了40秒

@hukejia
Copy link
Author

hukejia commented May 13, 2019

添加个 -preset superfast 试试

具体怎么加啊,我这方面小白

@microshow
Copy link
Owner

ffmpeg -y -i /storage/emulated/0/DouyinQuick/@mc天勤(v0300f100000bj8rla5b34ar9veh3lug).mp4 -vf delogo=1:1💯100:0 -preset superfast /storage/emulated/0/Download/haha.mp4

@hukejia
Copy link
Author

hukejia commented May 13, 2019

ffmpeg -y -i /storage/emulated/0/DouyinQuick/@mc天勤(v0300f100000bj8rla5b34ar9veh3lug).mp4 -vf delogo=1:1💯100:0 -preset superfast /storage/emulated/0/Download/haha.mp4

加之前55秒,加了之后速度是15秒
另一个库,加之前20秒,加之后10秒,麻烦大神看下什么原因导致的呢,毕竟那库不怎么维护了

@microshow
Copy link
Owner

欢迎更新2.0版本 做了性能优化

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants