| 1 | FFmpeg command: -c:v h264_mediacodec -i "/data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_input.mp4" -c:v h264_mediacodec -ndk_codec 1 -pix_fmt nv12 -y "/data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_output.mp4" -loglevel trace
|
|---|
| 2 | I Loading ffmpeg-kit.
|
|---|
| 3 | I Loaded ffmpeg-kit-https-arm64-v8a-5.1-20221202.
|
|---|
| 4 | D Async callback block started.
|
|---|
| 5 | I FFmpeg: ffmpeg version git-2022-10-28-05205b6
|
|---|
| 6 | I FFmpeg: Copyright (c) 2000-2022 the FFmpeg developers
|
|---|
| 7 | I FFmpeg:
|
|---|
| 8 | I FFmpeg: 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)
|
|---|
| 9 | I FFmpeg: configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/ajay.shrestha/Library/Android/sdk/ndk/21.1.6352462//toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/ajay.shrestha/Documents/postparty/ffmpeg-kit-android-demo/libraries/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --target-os=android --enable-neon --enable-asm --enable-inline-asm --ar=aarch64-linux-android-ar --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/Users/ajay.shrestha/Documents/postparty/ffmpeg-kit-android-demo/libraries/ffmpeg-kit/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --disable-autodetect --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-pthreads --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --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-gmp --enable-gnutls --enable-iconv --disable-sdl2 --disable-openssl --enable-zlib --enable-mediacodec
|
|---|
| 10 | I FFmpeg: libavutil 57. 40.100 / 57. 40.100
|
|---|
| 11 | I FFmpeg: libavcodec 59. 52.100 / 59. 52.100
|
|---|
| 12 | I FFmpeg: libavformat 59. 34.101 / 59. 34.101
|
|---|
| 13 | I FFmpeg: libavdevice 59. 8.101 / 59. 8.101
|
|---|
| 14 | I FFmpeg: libavfilter 8. 49.101 / 8. 49.101
|
|---|
| 15 | I FFmpeg: libswscale 6. 8.112 / 6. 8.112
|
|---|
| 16 | I FFmpeg: libswresample 4. 9.100 / 4. 9.100
|
|---|
| 17 | I FFmpeg: Splitting the commandline.
|
|---|
| 18 | I FFmpeg: Reading option '-c:v' ...
|
|---|
| 19 | I FFmpeg: matched as option 'c' (codec name) with argument 'h264_mediacodec'.
|
|---|
| 20 | I FFmpeg: Reading option '-i' ...
|
|---|
| 21 | I FFmpeg: matched as input url with argument '/data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_input.mp4'.
|
|---|
| 22 | I FFmpeg: Reading option '-c:v' ...
|
|---|
| 23 | I FFmpeg: matched as option 'c' (codec name) with argument 'h264_mediacodec'.
|
|---|
| 24 | I FFmpeg: Reading option '-ndk_codec' ...
|
|---|
| 25 | I FFmpeg: matched as AVOption 'ndk_codec' with argument '1'.
|
|---|
| 26 | I FFmpeg: Reading option '-pix_fmt' ...
|
|---|
| 27 | I FFmpeg: matched as option 'pix_fmt' (set pixel format) with argument 'nv12'.
|
|---|
| 28 | I FFmpeg: Reading option '-y' ...
|
|---|
| 29 | I FFmpeg: matched as option 'y' (overwrite output files) with argument '1'.
|
|---|
| 30 | I FFmpeg: Reading option '/data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_output.mp4' ...
|
|---|
| 31 | I FFmpeg: matched as output url.
|
|---|
| 32 | I FFmpeg: Reading option '-loglevel' ...
|
|---|
| 33 | I FFmpeg: matched as option 'loglevel' (set logging level) with argument 'trace'.
|
|---|
| 34 | I FFmpeg: Finished splitting the commandline.
|
|---|
| 35 | I FFmpeg: Parsing a group of options: global .
|
|---|
| 36 | I FFmpeg: Applying option y (overwrite output files) with argument 1.
|
|---|
| 37 | I FFmpeg: Applying option loglevel (set logging level) with argument trace.
|
|---|
| 38 | I FFmpeg: Successfully parsed a group of options.
|
|---|
| 39 | I FFmpeg: Parsing a group of options: input url /data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_input.mp4.
|
|---|
| 40 | I FFmpeg: Applying option c:v (codec name) with argument h264_mediacodec.
|
|---|
| 41 | I FFmpeg: Successfully parsed a group of options.
|
|---|
| 42 | I FFmpeg: Opening an input file: /data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_input.mp4.
|
|---|
| 43 | I FFmpeg: [NULL @ 0xb40000720ee80650] Opening '/data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_input.mp4' for reading
|
|---|
| 44 | I FFmpeg: [file @ 0xb4000071aee67090] Setting default whitelist 'file,crypto,data'
|
|---|
| 45 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
|
|---|
| 46 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] ISO: File Type Major Brand: mp42
|
|---|
| 47 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] Unknown dref type 0x206c7275 size 12
|
|---|
| 48 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] Processing st: 0, edit list 0 - media time: 2112, duration: 8377
|
|---|
| 49 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] drop a frame at curr_cts: 0 @ 0
|
|---|
| 50 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] drop a frame at curr_cts: 1024 @ 1
|
|---|
| 51 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] skip 64 audio samples from curr_cts: 2048
|
|---|
| 52 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] Unknown dref type 0x206c7275 size 12
|
|---|
| 53 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] Processing st: 1, edit list 0 - media time: 0, duration: 10471
|
|---|
| 54 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] Before avformat_find_stream_info() pos: 471376 bytes read:65536 seeks:2 nb_streams:2
|
|---|
| 55 | I FFmpeg: [h264 @ 0xb40000721ee87090] nal_unit_type: 7(SPS), nal_ref_idc: 1
|
|---|
| 56 | I FFmpeg: [h264 @ 0xb40000721ee87090] nal_unit_type: 8(PPS), nal_ref_idc: 1
|
|---|
| 57 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] demuxer injecting skip 2112 / discard 0
|
|---|
| 58 | I FFmpeg: [aac @ 0xb40000721ee83430] skip 2112 / discard 0 samples due to side data
|
|---|
| 59 | I FFmpeg: [h264 @ 0xb40000721ee87090] nal_unit_type: 7(SPS), nal_ref_idc: 1
|
|---|
| 60 | I FFmpeg: [h264 @ 0xb40000721ee87090] nal_unit_type: 8(PPS), nal_ref_idc: 1
|
|---|
| 61 | I FFmpeg: [h264 @ 0xb40000721ee87090] nal_unit_type: 6(SEI), nal_ref_idc: 0
|
|---|
| 62 | I FFmpeg: [h264 @ 0xb40000721ee87090] nal_unit_type: 5(IDR), nal_ref_idc: 1
|
|---|
| 63 | I FFmpeg: [h264 @ 0xb40000721ee87090] Format yuv420p chosen by get_format().
|
|---|
| 64 | I FFmpeg: [h264 @ 0xb40000721ee87090] Reinit context to 1280x720, pix_fmt: yuv420p
|
|---|
| 65 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] All info found
|
|---|
| 66 | I FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb40000720ee80650] After avformat_find_stream_info() pos: 76593 bytes read:142085 seeks:3 frames:12
|
|---|
| 67 | I FFmpeg: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_input.mp4':
|
|---|
| 68 | I FFmpeg: Metadata:
|
|---|
| 69 | I FFmpeg: major_brand :
|
|---|
| 70 | I FFmpeg: mp42
|
|---|
| 71 | I FFmpeg:
|
|---|
| 72 | I FFmpeg: minor_version :
|
|---|
| 73 | I FFmpeg: 1
|
|---|
| 74 | I FFmpeg:
|
|---|
| 75 | I FFmpeg: compatible_brands:
|
|---|
| 76 | I FFmpeg: isommp41mp42
|
|---|
| 77 | I FFmpeg:
|
|---|
| 78 | I FFmpeg: creation_time :
|
|---|
| 79 | I FFmpeg: 2022-11-09T21:32:58.000000Z
|
|---|
| 80 | I FFmpeg:
|
|---|
| 81 | I FFmpeg: Duration:
|
|---|
| 82 | I FFmpeg: 00:00:00.17
|
|---|
| 83 | I FFmpeg: , start:
|
|---|
| 84 | I FFmpeg: 0.000000
|
|---|
| 85 | I FFmpeg: , bitrate:
|
|---|
| 86 | I FFmpeg: 21607 kb/s
|
|---|
| 87 | I FFmpeg:
|
|---|
| 88 | I FFmpeg: Stream #0:0
|
|---|
| 89 | I FFmpeg: [0x1]
|
|---|
| 90 | I FFmpeg: (eng)
|
|---|
| 91 | I FFmpeg: , 11, 1/48000
|
|---|
| 92 | I FFmpeg: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 122 kb/s
|
|---|
| 93 | I FFmpeg: (default)
|
|---|
| 94 | I FFmpeg:
|
|---|
| 95 | I FFmpeg: Metadata:
|
|---|
| 96 | I FFmpeg: creation_time :
|
|---|
| 97 | I FFmpeg: 2022-11-09T21:32:58.000000Z
|
|---|
| 98 | I FFmpeg:
|
|---|
| 99 | I FFmpeg: handler_name :
|
|---|
| 100 | I FFmpeg: Core Media Audio
|
|---|
| 101 | I FFmpeg:
|
|---|
| 102 | I FFmpeg: vendor_id :
|
|---|
| 103 | I FFmpeg: [0][0][0][0]
|
|---|
| 104 | I FFmpeg:
|
|---|
| 105 | I FFmpeg: Stream #0:1
|
|---|
| 106 | I FFmpeg: [0x2]
|
|---|
| 107 | I FFmpeg: (und)
|
|---|
| 108 | I FFmpeg: , 1, 1/60000
|
|---|
| 109 | I FFmpeg: : Video: h264, 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1280x720, 0/1, 12969 kb/s
|
|---|
| 110 | I FFmpeg: , SAR 1:1 DAR 16:9
|
|---|
| 111 | I FFmpeg: ,
|
|---|
| 112 | I FFmpeg: 59.94 fps,
|
|---|
| 113 | I FFmpeg: 59.94 tbr,
|
|---|
| 114 | I FFmpeg: 60k tbn
|
|---|
| 115 | I FFmpeg: (default)
|
|---|
| 116 | I FFmpeg:
|
|---|
| 117 | I FFmpeg: Metadata:
|
|---|
| 118 | I FFmpeg: creation_time :
|
|---|
| 119 | I FFmpeg: 2022-11-09T21:32:58.000000Z
|
|---|
| 120 | I FFmpeg:
|
|---|
| 121 | I FFmpeg: handler_name :
|
|---|
| 122 | I FFmpeg: Core Media Video
|
|---|
| 123 | I FFmpeg:
|
|---|
| 124 | I FFmpeg: vendor_id :
|
|---|
| 125 | I FFmpeg: [0][0][0][0]
|
|---|
| 126 | I FFmpeg:
|
|---|
| 127 | I FFmpeg: Successfully opened the file.
|
|---|
| 128 | I FFmpeg: Parsing a group of options: output url /data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_output.mp4.
|
|---|
| 129 | I FFmpeg: Applying option c:v (codec name) with argument h264_mediacodec.
|
|---|
| 130 | I FFmpeg: Applying option pix_fmt (set pixel format) with argument nv12.
|
|---|
| 131 | I FFmpeg: Successfully parsed a group of options.
|
|---|
| 132 | I FFmpeg: Opening an output file: /data/user/0/com.epicgames.ffmpeg_kit_android_demo/cache/test_output.mp4.
|
|---|
| 133 | I FFmpeg: [file @ 0xb4000071aee67810] Setting default whitelist 'file,crypto,data'
|
|---|
| 134 | I FFmpeg: Successfully opened the file.
|
|---|
| 135 | I FFmpeg: [h264_mediacodec @ 0xb40000721ee7d9a0] nal_unit_type: 7(SPS), nal_ref_idc: 1
|
|---|
| 136 | I FFmpeg: [h264_mediacodec @ 0xb40000721ee7d9a0] nal_unit_type: 8(PPS), nal_ref_idc: 1
|
|---|
| 137 | I FFmpeg: [h264_mediacodec @ 0xb40000721ee7d9a0] MediaCodec 0x0 failed to start
|
|---|
| 138 | I FFmpeg: Stream mapping:
|
|---|
| 139 | I FFmpeg: Stream #0:1 -> #0:0
|
|---|
| 140 | I FFmpeg: (h264 (h264_mediacodec) -> h264 (h264_mediacodec))
|
|---|
| 141 | I FFmpeg:
|
|---|
| 142 | I FFmpeg: Stream #0:0 -> #0:1
|
|---|
| 143 | I FFmpeg: (aac (native) -> aac (native))
|
|---|
| 144 | I FFmpeg:
|
|---|
| 145 | I FFmpeg: Error while opening decoder for input stream #0:1 : Generic error in an external library
|
|---|
| 146 | I FFmpeg: [AVIOContext @ 0xb4000071dee7ce90] Statistics: 0 bytes written, 0 seeks, 0 writeouts
|
|---|
| 147 | I FFmpeg: [AVIOContext @ 0xb4000071dee7a6b0] Statistics: 142085 bytes read, 3 seeks
|
|---|
| 148 | I FFmpeg operation time: 0.02700018882751465 s
|
|---|
| 149 | I FFmpeg result: 1
|
|---|
| 150 | I FFmpeg result: COMPLETED
|
|---|
| 151 | I FFmpeg callstack: null
|
|---|