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

不能裁剪视频和合并视频 #1

Open
DyncKathline opened this issue Oct 9, 2020 · 1 comment
Open

不能裁剪视频和合并视频 #1

DyncKathline opened this issue Oct 9, 2020 · 1 comment

Comments

@DyncKathline
Copy link

10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: ffmpeg version v4.4-dev-416 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Copyright (c) 2000-2020 the FFmpeg developers 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: built with Android (6317467 based on r365631c1) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project e0caee08e5f09b374a27a676d04978c81fcb1928) (based on LLVM 9.0.8svn) 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/devyk/Data/Android/NDK/android-ndk-r21b/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/devyk/Data/Project/sample/github_code/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/local/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang++ --extra-libs='-L/Users/devyk/Data/Project/sample/github_code/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfdk-aac --enable-encoder=libfdk_aac --enable-decoder=libfdk_aac --enable-nonfree --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-iconv --enable-libwebp --enable-libopencore-amrnb --enable-libspeex --enable-libx264 --enable-gpl --enable-libopus --disable-sdl2 --enable-libopenh264 --enable-zlib --enable-mediacodec 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libavutil 56. 55.100 / 56. 55.100 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libavcodec 58. 96.100 / 58. 96.100 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libavformat 58. 48.100 / 58. 48.100 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libavdevice 58. 11.101 / 58. 11.101 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libavfilter 7. 87.100 / 7. 87.100 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libswscale 5. 8.100 / 5. 8.100 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: libswresample 3. 8.100 / 3. 8.100 10-09 16:52:41.270 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55755b6a20] st: 1 edit list: 1 Missing key frame while searching for timestamp: 0 10-09 16:52:41.271 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55755b6a20] st: 1 edit list 1 Cannot find an index entry before timestamp: 0. 10-09 16:52:41.300 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/qqmusic/mv/宝宝巴士儿歌 - 好爸爸_b0303bphdqo_3_0 [mqms].mp4': 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Metadata: 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: major_brand : 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: mp42 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: minor_version : 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 0 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: compatible_brands: 10-09 16:52:41.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: isommp42 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: creation_time : 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 2016-11-08T14:08:47.000000Z 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Duration: 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 00:02:22.63 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: , start: 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 0.000000 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: , bitrate: 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 512 kb/s 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Stream #0:0 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (und) 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 64 kb/s 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (default) 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Metadata: 10-09 16:52:41.302 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: creation_time : 10-09 16:52:41.303 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 2016-11-08T14:06:02.000000Z 10-09 16:52:41.303 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: handler_name : 10-09 16:52:41.303 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Sound Media Handler 10-09 16:52:41.303 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Stream #0:1 10-09 16:52:41.303 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (und) 10-09 16:52:41.303 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: : Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 445 kb/s 10-09 16:52:41.304 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: , 10-09 16:52:41.304 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 25 fps, 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 25 tbr, 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 100 tbn, 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 50 tbc 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (default) 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Metadata: 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: creation_time : 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: 2016-11-08T14:08:47.000000Z 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: handler_name : 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: TrackHandler 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Stream mapping: 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Stream #0:1 (h264) -> scale 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (graph 0) 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: setdar 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (graph 0) 10-09 16:52:41.305 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: -> Stream #0:0 (libx264) 10-09 16:52:41.306 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Stream #0:0 -> #0:1 10-09 16:52:41.306 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: (aac (native) -> aac (native)) 10-09 16:52:41.306 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Press [q] to stop, [?] for help 10-09 16:52:41.306 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A 10-09 16:52:41.406 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [graph 0 input from stream 0:1 @ 0x55753a7320] sws_param option is deprecated and ignored 10-09 16:52:41.414 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [libx264 @ 0x5575bddeb0] using SAR=1/1 10-09 16:52:41.415 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [libx264 @ 0x5575bddeb0] using cpu capabilities: ARMv8 NEON 10-09 16:52:41.423 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [libx264 @ 0x5575bddeb0] profile High, level 3.1, 4:2:0, 8-bit 10-09 16:52:41.424 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [libx264 @ 0x5575bddeb0] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00 10-09 16:52:41.797 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: frame= 20 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A 10-09 16:52:42.301 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: frame= 52 fps= 51 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A 10-09 16:52:42.809 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: frame= 86 fps= 57 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A 10-09 16:52:42.823 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: [out_0_1 @ 0x5575b0f7a0] 100 buffers queued in out_0_1, something may be wrong. 10-09 16:52:43.327 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: frame= 121 fps= 60 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A 10-09 16:52:43.744 24660-24660/com.devyk.av.ffmpegcmd E/ClipActivity: startClipVideo onFailure:Too many packets buffered for output stream 0:0. 10-09 16:52:43.745 24660-24660/com.devyk.av.ffmpegcmd D/ClipActivity: Too many packets buffered for output stream 0:0. 10-09 16:52:43.751 24660-24660/com.devyk.av.ffmpegcmd I/Toast: Show toast from OpPackageName:com.devyk.av.ffmpegcmd, PackageName:com.devyk.av.ffmpegcmd

@yangkun19921001
Copy link
Owner

@DyncKathline 请用 android-ndk-r21b 版本的 NDK 再试试

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