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

vivo S5、三星S7 合成背景音乐闪退 #113

Closed
lmxjw3 opened this issue Feb 13, 2020 · 2 comments
Closed

vivo S5、三星S7 合成背景音乐闪退 #113

lmxjw3 opened this issue Feb 13, 2020 · 2 comments

Comments

@lmxjw3
Copy link

lmxjw3 commented Feb 13, 2020

在其他手机上没问题,在这俩手机上必现闪退:
"ffmpeg -y -i " + videoPath + " -i " + curMusicPath + " -filter_complex " +
"[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=" + currentVideoVolume / 100f + "[a0];" +
"[1:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=" + currentMusicVolume / 100f + ",aloop=loop=-1:size=2e+09[a1];" +
"[a0][a1]amix=inputs=2:duration=first[aout] -map [aout] -ac 2 -c:v copy -map 0:v:0 -preset superfast " + videoAudioMakePath;

Bugly日志:

1 #00 pc 0001fe30 /data/app/com.ypt.jing-zuIin_Z7H19eUM5h4cDn8Q==/lib/arm/librxffmpeg-invoke.so [armeabi-v7a]

#1 pc 0001f7b9 /data/app/com.ypt.jing-zuIin_Z7H19eUM5h4cDn8Q==/lib/arm/librxffmpeg-invoke.so [armeabi-v7a]
#2 pc 0001f543 /data/app/com.ypt.jing-zuIin_Z7H19eUM5h4cDn8Q==/lib/arm/librxffmpeg-invoke.so (ffmpeg_parse_options+98) [armeabi-v7a]
#3 pc 00011e45 /data/app/com.ypt.jing-zuIin_Z7H19eUM5h4cDn8Q==/lib/arm/librxffmpeg-invoke.so (run_ffmpeg_command+180) [armeabi-v7a]
#4 pc 0001164f /data/app/com.ypt.jing-zuIin_Z7H19eUM5h4cDn8Q==/lib/arm/librxffmpeg-invoke.so (Java_io_microshow_rxffmpeg_RxFFmpegInvoke_runFFmpegCmd+134) [armeabi-v7a]
#5 pc 001243bd /data/app/com.ypt.jing-zuIin_Z7H19eUM5h4cDn8Q==/oat/arm/base.odex (oatexec+410557) [armeabi]
7 java:
8 io.microshow.rxffmpeg.RxFFmpegInvoke.runFFmpegCmd(Native Method)
9 io.microshow.rxffmpeg.RxFFmpegInvoke$1.run(RxFFmpegInvoke.java:59)
10 java.lang.Thread.run(Thread.java:764)

@lmxjw3 lmxjw3 changed the title vivo S5 vivo S5、三星S7 合成背景音乐闪退 Feb 13, 2020
@microshow
Copy link
Owner

这两台机子所有命令都执行不了吗?

@lmxjw3
Copy link
Author

lmxjw3 commented Feb 14, 2020

这两台机子所有命令都执行不了吗?

抱歉,今天拿到客户的手机了,测试了一下是文件不存在的问题,真的抱歉

@lmxjw3 lmxjw3 closed this as completed Feb 14, 2020
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