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

视频剪切指令不能用! 急 #7

Open
gyf19 opened this issue Aug 3, 2017 · 14 comments
Open

视频剪切指令不能用! 急 #7

gyf19 opened this issue Aug 3, 2017 · 14 comments

Comments

@gyf19
Copy link

gyf19 commented Aug 3, 2017

指令: ffmpeg -d stdout -loglevel verbose -i "/storage/emulated/0/DCIM/Camera/VID_20170508_184715.mp4" -ss 00:00:01 -t 00:00:09 -acodec copy -vcodec copy "/storage/emulated/0/ffmpegTest/20170802184605.mp4"

@gyf19
Copy link
Author

gyf19 commented Aug 3, 2017

-21474/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-03 10:04:47.870 21474-21474/? A/DEBUG: Build fingerprint: 'HONOR/BLN-AL10/HWBLN-H:7.0/HONORBLN-AL10/C00B373:user/release-keys'
08-03 10:04:47.870 21474-21474/? A/DEBUG: Revision: '0'
08-03 10:04:47.870 21474-21474/? A/DEBUG: ABI: 'arm'
08-03 10:04:47.870 21474-21474/? A/DEBUG: pid: 19401, tid: 19401, name: com.ymq.min >>> com.ymq.min <<<
08-03 10:04:47.870 21474-21474/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18
08-03 10:04:47.870 21474-21474/? A/DEBUG: r0 00000000 r1 00000000 r2 00000000 r3 00000002
08-03 10:04:47.870 21474-21474/? A/DEBUG: r4 c0262a00 r5 fffffffe r6 00000000 r7 ffad0a60
08-03 10:04:47.870 21474-21474/? A/DEBUG: r8 ffad0b38 r9 00000000 sl c04ef000 fp 00000000
08-03 10:04:47.870 21474-21474/? A/DEBUG: ip dcc08cb4 sp ffad0a50 lr dcbe048d pc dcbd323c cpsr 600f0030
08-03 10:04:47.873 21474-21474/? A/DEBUG: backtrace:
08-03 10:04:47.873 21474-21474/? A/DEBUG: #00 pc 0001423c /data/app/com.ymq.min-1/lib/arm/libjx_ffmpeg_jni.so (setup_find_stream_info_opts+11)
08-03 10:04:47.873 21474-21474/? A/DEBUG: #1 pc 00021489 /data/app/com.ymq.min-1/lib/arm/libjx_ffmpeg_jni.so (open_input_file+1216)
08-03 10:04:47.873 21474-21474/? A/DEBUG: #2 pc 00020e9b /data/app/com.ymq.min-1/lib/arm/libjx_ffmpeg_jni.so (open_files+246)
08-03 10:04:47.873 21474-21474/? A/DEBUG: #3 pc 00020c87 /data/app/com.ymq.min-1/lib/arm/libjx_ffmpeg_jni.so (ffmpeg_parse_options+98)
08-03 10:04:47.873 21474-21474/? A/DEBUG: #4 pc 00014c61 /data/app/com.ymq.min-1/lib/arm/libjx_ffmpeg_jni.so (jxRun+248)
08-03 10:04:47.873 21474-21474/? A/DEBUG: #5 pc 00027639 /data/app/com.ymq.min-1/lib/arm/libjx_ffmpeg_jni.so (Java_com_mabeijianxi_smallvideorecord2_jniinterface_FFmpegBridge_jxCMDRun+104)
08-03 10:04:47.873 21474-21474/? A/DEBUG: #6 pc 00fdcc69 /data/app/com.ymq.min-1/oat/arm/base.odex (offset 0xedb000)

@xiejinsorry
Copy link

我也是 无论运行什么指令就是 singnal11的错误

@gyf19
Copy link
Author

gyf19 commented Aug 4, 2017

@mabeijianxi 大神来救场

@mabeijianxi
Copy link
Owner

自己看日志啊。。。我在介绍中都说了如何开启 Debug ,如何生存日志文件,这种信号量没有意义的。指令输入后奔溃要么指令错误,要么现在的 SO 编译的时候没加你输入命令对应的功能,如果需要,自己改改脚本编译下就行了

@mabeijianxi
Copy link
Owner

sorry ,看错项目了,这个项目里面的 FFmpeg 命令我没做日志接口,你可以试试 https://github.com/mabeijianxi/small-video-record 的。

@gyf19
Copy link
Author

gyf19 commented Aug 5, 2017

我在small-video-record 打开日志,好像没有输出

@gyf19
Copy link
Author

gyf19 commented Aug 5, 2017

旁边有一个issues 说执行 ffmpeg -version 也是Fatal signal 11 (SIGSEGV)错误
#6

@gyf19
Copy link
Author

gyf19 commented Aug 5, 2017

最上面运行的指令目测没有问题。

@gyf19
Copy link
Author

gyf19 commented Aug 5, 2017

@mabeijianxi 求帮助

@mabeijianxi
Copy link
Owner

怎么可能打开了没有日志!信号量错误是 C 里面一个统一的错误,就那么几种,根本没什么卵用的信息。你自己检查吧,我最近非常忙,现在还在加班

@gyf19
Copy link
Author

gyf19 commented Aug 5, 2017

 @mabeijianxi 好的 我先试试。 保持联系,谢谢。

@gyf19
Copy link
Author

gyf19 commented Aug 6, 2017

@mabeijianxi 我把日志打印出来了。 日志文件内容只有 『 命令开始』

@gyf19
Copy link
Author

gyf19 commented Aug 6, 2017

还是我把 ffmpeg的 so文件 已经换成完整版本

@gyf19
Copy link
Author

gyf19 commented Aug 6, 2017

找到问题了,还是指令有点问题.
指令不能带 -d stdout -loglevel verbose -i

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

3 participants