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

A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR) #173

Closed
AlphaBs opened this issue Oct 7, 2021 · 2 comments
Closed

A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR) #173

AlphaBs opened this issue Oct 7, 2021 · 2 comments
Labels
android Affect Android platform library Affects the library needs-analysis We don't know that this is. It must be investigated further no-issue-activity v4.5 Affects v4.5 release

Comments

@AlphaBs
Copy link

AlphaBs commented Oct 7, 2021

Description
app crash without any exception

To Reproduce
execute below command. app crash without any exception. this works well for most files, but it crashes for some gif images.
-i "/path/a.gif" -c:v libx264 -movflags faststart -f "mp4" -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -pix_fmt yuv420p "/path/result.mp4"

                    try {
                        val result: FFmpegSession = FFmpegKit.execute(arg)
                        if (!ReturnCode.isSuccess(result.returnCode)) {
                            Log.i("ffmpegsv error", result.state.toString()) // no log
                            Log.i("ffmpegsv failStackTrace", result.failStackTrace) // no log
                            throw Exception("ffmpegsv error : " + result.state.toString())
                        }
                    }
                    catch(e: Exception) {
                        Log.e("ffmpegsv ffmpeg exception", e.toString()); // can't reach this code cause ffmpeg does not throw exception
                    }

Logs

2021-10-07 17:08:21.982 21222-21251/com.github.alphabs.gif2video I/ffmpegsv start: /sdcard/DCIM/IZ/mnet_k-20210222-235121-000.gif
2021-10-07 17:08:21.983 21222-21251/com.github.alphabs.gif2video I/ffmpegsv target: /sdcard/DCIM/IZ/mnet_k-20210222-235121-000.gif => /sdcard/DCIM/IZ/mnet_k-20210222-235121-000.mp4.temp
2021-10-07 17:08:21.984 21222-21251/com.github.alphabs.gif2video I/ffmpegsv execute: -i "/sdcard/DCIM/IZ/mnet_k-20210222-235121-000.gif" -c:v libx264 -movflags faststart -f "mp4" -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -pix_fmt yuv420p "/sdcard/DCIM/IZ/mnet_k-20210222-235121-000.mp4.temp"
2021-10-07 17:08:21.993 21222-21251/com.github.alphabs.gif2video I/ffmpeg-kit: Loading ffmpeg-kit.
2021-10-07 17:08:22.006 21222-21251/com.github.alphabs.gif2video W/linker: Warning: "/data/app/~~BPBnoQAhARQQM1KfNIT0DA==/com.github.alphabs.gif2video-IMgbYKawuanubzRg81uKOA==/base.apk!/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
2021-10-07 17:08:22.029 21222-21251/com.github.alphabs.gif2video I/ffmpeg-kit: Loaded ffmpeg-kit-full-gpl-arm64-v8a-4.5-20210918.
2021-10-07 17:08:22.044 21222-21397/com.github.alphabs.gif2video D/ffmpeg-kit: Async callback block started.
2021-10-07 17:08:22.046 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: ffmpeg version v4.5-dev-2008-g90da43557f
2021-10-07 17:08:22.048 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:  Copyright (c) 2000-2021 the FFmpeg developers
2021-10-07 17:08:22.048 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   built with Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
2021-10-07 17:08:22.049 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/23.0.7599858/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/storage/light/projects/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=llvm-ranlib --strip=llvm-strip --nm=llvm-nm --extra-libs='-L/storage/light/projects/ffmpeg-kit/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 --disable-static --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-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-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec
2021-10-07 17:08:22.049 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libavutil      57.  5.100 / 57.  5.100
2021-10-07 17:08:22.049 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libavcodec     59.  7.103 / 59.  7.103
2021-10-07 17:08:22.049 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libavformat    59.  5.100 / 59.  5.100
2021-10-07 17:08:22.049 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libavdevice    59.  0.101 / 59.  0.101
2021-10-07 17:08:22.049 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libavfilter     8.  9.100 /  8.  9.100
2021-10-07 17:08:22.050 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libswscale      6.  1.100 /  6.  1.100
2021-10-07 17:08:22.050 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   libswresample   4.  0.100 /  4.  0.100
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: Input #0, gif, from '/sdcard/DCIM/IZ/mnet_k-20210222-235121-000.gif':
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   Duration: 
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 00:00:02.00
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: , start: 
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 0.000000
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: , bitrate: 
2021-10-07 17:08:22.063 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 8698 kb/s
2021-10-07 17:08:22.064 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   Stream #0:0
2021-10-07 17:08:22.064 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: : Video: gif, bgra, 550x309
2021-10-07 17:08:22.064 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: , 
2021-10-07 17:08:22.064 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 10 fps, 
2021-10-07 17:08:22.064 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 10 tbr, 
2021-10-07 17:08:22.064 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 100 tbn
2021-10-07 17:08:22.082 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: Stream mapping:
2021-10-07 17:08:22.082 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   Stream #0:0 -> #0:0
2021-10-07 17:08:22.082 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:  (gif (native) -> h264 (libx264))
2021-10-07 17:08:22.082 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: Press [q] to stop, [?] for help
2021-10-07 17:08:22.115 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: [libx264 @ 0x77b1fa1a20] using cpu capabilities: ARMv8 NEON
2021-10-07 17:08:22.120 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: [libx264 @ 0x77b1fa1a20] profile High, level 2.1, 4:2:0, 8-bit
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: [libx264 @ 0x77b1fa1a20] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=10 lookahead_threads=1 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=2 keyint=250 keyint_min=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: Output #0, mp4, to '/sdcard/DCIM/IZ/mnet_k-20210222-235121-000.mp4.temp':
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   Metadata:
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:     encoder         : 
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: Lavf59.5.100
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:   Stream #0:0
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: : Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 550x310, q=2-31
2021-10-07 17:08:22.121 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: , 
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 10 fps, 
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: 10240 tbn
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:     Metadata:
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:       encoder         : 
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: Lavc59.7.103 libx264
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:     Side data:
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit:       
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: cpb: 
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: bitrate max/min/avg: 0/0/0 buffer size: 0 
2021-10-07 17:08:22.122 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: vbv_delay: N/A
2021-10-07 17:08:22.123 21222-21397/com.github.alphabs.gif2video I/ffmpeg-kit: frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
2021-10-07 17:08:22.624 21222-21428/com.github.alphabs.gif2video A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7618708000 in tid 21428 (Thread-4), pid 21222 (phabs.gif2video)

Environment

  • Platform: Android 11
  • Architecture: armv8
  • Version (if applicable): com.arthenica:ffmpeg-kit-full-gpl:4.5
  • Android Studio version: Arctic Fox 2020.3.1 patch 2

Other

crash file
a.zip

@tanersener
Copy link
Collaborator

I can't reproduce this issue. I don't see any problems with that gif file on arm64 using full-gpl package.

2021-10-07 21:37:42.353 11519-11519/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: FFmpeg process started with arguments
    '-i /data/user/0/com.arthenica.ffmpegkit.test/cache/a.gif -c:v libx264 -movflags faststart -f mp4 -vf 'pad=ceil(iw/2)*2:ceil(ih/2)*2' -pix_fmt yuv420p /data/user/0/com.arthenica.ffmpegkit.test/files/video.mp4.temp'.
2021-10-07 21:37:42.356 11519-11519/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Async FFmpeg process started with sessionId 5.
2021-10-07 21:37:42.359 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: ffmpeg version v4.5-dev-2008-g90da43557f
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:  Copyright (c) 2000-2021 the FFmpeg developers
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   built with Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/23.0.7599858/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/storage/light/projects/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=llvm-ranlib --strip=llvm-strip --nm=llvm-nm --extra-libs='-L/storage/light/projects/ffmpeg-kit/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 --disable-static --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-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-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libdav1d --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libtwolame --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libavutil      57.  5.100 / 57.  5.100
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libavcodec     59.  7.103 / 59.  7.103
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libavformat    59.  5.100 / 59.  5.100
2021-10-07 21:37:42.360 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libavdevice    59.  0.101 / 59.  0.101
2021-10-07 21:37:42.361 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libavfilter     8.  9.100 /  8.  9.100
2021-10-07 21:37:42.361 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libswscale      6.  1.100 /  6.  1.100
2021-10-07 21:37:42.361 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   libswresample   4.  0.100 /  4.  0.100
2021-10-07 21:37:42.402 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Input #0, jpeg_pipe, from '/data/user/0/com.arthenica.ffmpegkit.test/cache/a.gif':
2021-10-07 21:37:42.402 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   Duration: 
2021-10-07 21:37:42.402 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: N/A
2021-10-07 21:37:42.402 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: , bitrate: 
2021-10-07 21:37:42.402 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: N/A
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   Stream #0:0
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: : Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 550x309 [SAR 1:1 DAR 550:309]
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: , 
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: 25 fps, 
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: 25 tbr, 
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: 25 tbn
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Stream mapping:
2021-10-07 21:37:42.403 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   Stream #0:0 -> #0:0
2021-10-07 21:37:42.404 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:  (mjpeg (native) -> h264 (libx264))
2021-10-07 21:37:42.404 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Press [q] to stop, [?] for help
2021-10-07 21:37:42.423 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x767ef2e000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.423 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x76c2f96000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.423 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x76c2fa5000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.424 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x767eb8c000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.425 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x767eba5000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.425 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x76c2d5e000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.425 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x76c2d81000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.425 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x76c2d9f000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.425 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [swscaler @ 0x76c2dbd000] deprecated pixel format used, make sure you did set range correctly
2021-10-07 21:37:42.428 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] using SAR=1/1
2021-10-07 21:37:42.430 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] using cpu capabilities: ARMv8 NEON
2021-10-07 21:37:42.433 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] profile High, level 2.1, 4:2:0, 8-bit
2021-10-07 21:37:42.433 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=10 lookahead_threads=1 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=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
2021-10-07 21:37:42.433 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Output #0, mp4, to '/data/user/0/com.arthenica.ffmpegkit.test/files/video.mp4.temp':
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   Metadata:
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:     encoder         : 
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Lavf59.5.100
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:   Stream #0:0
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt470bg/unknown/unknown, progressive), 550x310 [SAR 1:1 DAR 55:31], q=2-31
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: , 
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: 25 fps, 
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: 12800 tbn
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:     Metadata:
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:       encoder         : 
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Lavc59.7.103 libx264
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:     Side data:
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test:       
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: cpb: 
2021-10-07 21:37:42.434 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: bitrate max/min/avg: 0/0/0 buffer size: 0 
2021-10-07 21:37:42.435 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: vbv_delay: N/A
2021-10-07 21:37:42.435 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
2021-10-07 21:37:42.466 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [mp4 @ 0x767f7e9c00] Starting second pass: moving the moov atom to the beginning of the file
2021-10-07 21:37:42.466 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: frame=    1 fps=0.0 q=28.0 Lsize=      15kB time=00:00:00.00 bitrate=1602666.7kbits/s speed=0.00125x    
2021-10-07 21:37:42.466 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: video:14kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 
2021-10-07 21:37:42.466 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: 5.731105%
2021-10-07 21:37:42.471 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] frame I:1     Avg QP:30.37  size: 14103
2021-10-07 21:37:42.471 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] mb I  I16..4:  7.1% 39.4% 53.4%
2021-10-07 21:37:42.471 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] 8x8 transform intra:39.4%
2021-10-07 21:37:42.471 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] coded y,uvDC,uvAC intra: 77.5% 60.4% 23.0%
2021-10-07 21:37:42.472 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] i16 v,h,dc,p: 10% 40%  0% 50%
2021-10-07 21:37:42.472 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18% 11%  5%  6% 10%  8%  8% 10%
2021-10-07 21:37:42.472 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 18% 11%  6%  5%  9%  5%  8%  5%
2021-10-07 21:37:42.472 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] i8c dc,h,v,p: 56% 17% 24%  3%
2021-10-07 21:37:42.472 11519-11587/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: [libx264 @ 0x76c425d400] kb/s:2820.60
2021-10-07 21:37:42.717 11519-11519/com.arthenica.ffmpegkit.test D/ffmpeg-kit-test: Encode completed successfully in 115 milliseconds; playing video.

Besides, you have the following warning in your logs. I don't have that. We bundle libc++_shared.so coming with the NDK. So, it is not normal to see that warning. Something about that file is not right.

Warning: "/data/app/~~BPBnoQAhARQQM1KfNIT0DA==/com.github.alphabs.gif2video-IMgbYKawuanubzRg81uKOA==/base.apk!/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)

@tanersener tanersener added android Affect Android platform needs-analysis We don't know that this is. It must be investigated further v4.5 Affects v4.5 release library Affects the library labels Oct 7, 2021
@github-actions
Copy link

github-actions bot commented Dec 7, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Affect Android platform library Affects the library needs-analysis We don't know that this is. It must be investigated further no-issue-activity v4.5 Affects v4.5 release
Projects
None yet
Development

No branches or pull requests

2 participants