-
Notifications
You must be signed in to change notification settings - Fork 751
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
添加gif卡到100%不动了,视频也不能播放,大神用的哪个命令 #35
Comments
加个 -t 你的视频时间 |
加-t后测试可行,但是gif图不动,我用这个命令在别的sdk测试都是可以动的,是我哪儿出问题了么。顺便问一下您在编译ffmpeg的时候有没有做过什么特别的处理 |
你检查下命令…… |
ffmpeg -y -i /storage/emulated/0/1/input.mp4 -ignore_loop 0 -i /storage/emulated/0/1/1.gif -filter_complex [0:v]scale=iw:ih[outv0];[1:0]scale=100.0:50.0[outv1];[outv0][outv1]overlay=10:10:shortest=1 -t 10 -preset superfast /storage/emulated/0/1/out.mp4 我试了一下,没问题哦,或者你换个gif图试试? |
好的 |
可以更新V2.0.0版本,速度嗖嗖的 |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ffmpeg -y -i input.mp4 -ignore_loop 0 -i input.gif -filter_complex [0:v]scale=iw:ih[outv0];[1:0]scale=100.0:50.0[outv1];[outv0][outv1]overlay=10:10:shortest=1 -preset superfast output.mp4
The text was updated successfully, but these errors were encountered: