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

给视频添加水印,进度最终停在99不动 #55

Closed
KinaZhen opened this issue Jul 3, 2019 · 4 comments
Closed

给视频添加水印,进度最终停在99不动 #55

KinaZhen opened this issue Jul 3, 2019 · 4 comments

Comments

@KinaZhen
Copy link

KinaZhen commented Jul 3, 2019

执行添加水印命令 :ffmpeg -y -i /Movies/1561687833867015.mp4 -i /water/graffiti.png -filter_complex [0:v]scale=iw:ih[outv0];[1:0]scale=536.0:712.0[outv1];[outv0][outv1]overlay=0:0 -preset superfast /storage/emulated/0/VideoEditor/1562119724572.mp4

执行进度停在99,但是实际已经完成

@microshow
Copy link
Owner

ffmpeg -y -i /storage/emulated/0/1/input.mp4 -i /storage/emulated/0/1/1.png -filter_complex [0:v]scale=iw:ih[outv0];[1:0]scale=536.0:712.0[outv1];[outv0][outv1]overlay=0:0 -preset superfast /storage/emulated/0/1/1562119724572.mp4

刚试了一下 操作正常啊 可以执行完成

@KinaZhen
Copy link
Author

KinaZhen commented Jul 3, 2019

ffmpeg -y -i /storage/emulated/0/1/input.mp4 -i /storage/emulated/0/1/1.png -filter_complex [0:v]scale=iw:ih[outv0];[1:0]scale=536.0:712.0[outv1];[outv0][outv1]overlay=0:0 -preset superfast /storage/emulated/0/1/1562119724572.mp4

刚试了一下 操作正常啊 可以执行完成

我这边执行多次都是定在99,debug,没有走到finish

@microshow
Copy link
Owner

换个视频 换个水印呢?

@KinaZhen
Copy link
Author

KinaZhen commented Jul 3, 2019

换个视频 换个水印呢?

找到问题所在,处理rxjava逻辑时出了个问题, 谢谢回复!

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