🔥💥RxFFmpeg 是基于 ( FFmpeg 4.0 + X264 + mp3lame + fdk-aac + opencore-amr + openssl ) 编译的适用于 Android 平台的音视频编辑、视频剪辑的快速处理框架,包含以下功能:视频拼接,转码,压缩,裁剪,片头片尾,分离音视频,变速,添加静态贴纸和gif动态贴纸,添加字幕,添加滤镜,添加背景音乐,加速减速视频,倒放音视频,音频裁剪,变声,混音,图片合成视频,视频解码图片,抖音首页,视频播放器及支持 OpenSSL https 等主流特色功能
4.45k
stars
747
forks
source link
想将多个图片以淡入淡出的方式生成视频,执行此命令会崩溃 #160
Closed
hccaoqi closed 4 years ago
String string = "ffmpeg " + "-loop 1 -t 5 -i /storage/emulated/0/magic/pictures/image1.jpg " + "-loop 1 -t 5 -i /storage/emulated/0/magic/pictures/image2.jpg " + "-loop 1 -t 5 -i /storage/emulated/0/magic/pictures/image3.jpg " + "-loop 1 -t 5 -i /storage/emulated/0/magic/pictures/image4.jpg " + "-filter_complex " + "[0:v]fade=t=out:st=4:d=1[v0];" + "[1:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v1];" + "[2:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v2];" + "[3:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v3];" + "[4:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v4];" + "[v0][v1][v2][v3][v4]concat=n=5:v=1:a=0[v] -map '[v]' /storage/emulated/0/magic/test2.mp4";![image](https://user-images.githubusercontent.com/26382053/86456808-38bcf980-bd55-11ea-92a8-f7f6f727c780.png)