| 1 | QUALCOMM build : 559e78c, Ib9d997268a
|
|---|
| 2 | Build Date : 10/13/20
|
|---|
| 3 | OpenGL ES Shader Compiler Version: EV031.32.02.02
|
|---|
| 4 | Local Branch : mybrancheb0d76cb-f27a-f1ff-9cdc-1458d0b52ae8
|
|---|
| 5 | Remote Branch : quic/gfx-adreno.lnx.1.0.r99-rel
|
|---|
| 6 | Remote Branch : NONE
|
|---|
| 7 | Reconstruct Branch : NOTHING
|
|---|
| 8 | Build Config : S P 10.0.7 AArch64
|
|---|
| 9 | Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
|
|---|
| 10 | PFP: 0x016ee190, ME: 0x00000000
|
|---|
| 11 | [INFO] isPopOver=false, config=true
|
|---|
| 12 | updateCaptionType >> DecorView@15120cf[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
|
|---|
| 13 | setCaptionType = 0, this = DecorView@15120cf[]
|
|---|
| 14 | FFmpeg command: -hwaccel mediacodec -hwaccel_output_format mediacodec -i "/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4" -c:v h264_mediacodec -ndk_codec 1 -y "/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_output.mp4" -loglevel trace
|
|---|
| 15 | Loading ffmpeg-kit.
|
|---|
| 16 | Input channel constructed: 'f6ef807', fd=84
|
|---|
| 17 | setView = com.android.internal.policy.DecorView@15120cf TM=true
|
|---|
| 18 | Loaded ffmpeg-kit-https-arm64-v8a-5.1-20221130.
|
|---|
| 19 | Async callback block started.
|
|---|
| 20 | FFmpeg: ffmpeg version git-2022-11-30-8c2ab5f
|
|---|
| 21 | FFmpeg: Copyright (c) 2000-2022 the FFmpeg developers
|
|---|
| 22 | FFmpeg:
|
|---|
| 23 | 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)
|
|---|
| 24 | FFmpeg: configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/ben.temple/Library/Android/sdk/ndk/21.1.6352462//toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/ben.temple/development/client.work/epic/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/ben.temple/epic/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
|
|---|
| 25 | FFmpeg: libavutil 57. 43.100 / 57. 43.100
|
|---|
| 26 | FFmpeg: libavcodec 59. 54.101 / 59. 54.101
|
|---|
| 27 | FFmpeg: libavformat 59. 34.102 / 59. 34.102
|
|---|
| 28 | FFmpeg: libavdevice 59. 8.101 / 59. 8.101
|
|---|
| 29 | FFmpeg: libavfilter 8. 51.100 / 8. 51.100
|
|---|
| 30 | FFmpeg: libswscale 6. 8.112 / 6. 8.112
|
|---|
| 31 | FFmpeg: libswresample 4. 9.100 / 4. 9.100
|
|---|
| 32 | FFmpeg: Splitting the commandline.
|
|---|
| 33 | FFmpeg: Reading option '-hwaccel' ...
|
|---|
| 34 | FFmpeg: matched as option 'hwaccel' (use HW accelerated decoding) with argument 'mediacodec'.
|
|---|
| 35 | FFmpeg: Reading option '-hwaccel_output_format' ...
|
|---|
| 36 | FFmpeg: matched as option 'hwaccel_output_format' (select output format used with HW accelerated decoding) with argument 'mediacodec'.
|
|---|
| 37 | FFmpeg: Reading option '-i' ...
|
|---|
| 38 | FFmpeg: matched as input url with argument '/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4'.
|
|---|
| 39 | FFmpeg: Reading option '-c:v' ...
|
|---|
| 40 | FFmpeg: matched as option 'c' (codec name) with argument 'h264_mediacodec'.
|
|---|
| 41 | FFmpeg: Reading option '-ndk_codec' ...
|
|---|
| 42 | FFmpeg: matched as AVOption 'ndk_codec' with argument '1'.
|
|---|
| 43 | FFmpeg: Reading option '-y' ...
|
|---|
| 44 | FFmpeg: matched as option 'y' (overwrite output files) with argument '1'.
|
|---|
| 45 | FFmpeg: Reading option '/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_output.mp4' ...
|
|---|
| 46 | FFmpeg: matched as output url.
|
|---|
| 47 | FFmpeg: Reading option '-loglevel' ...
|
|---|
| 48 | FFmpeg: matched as option 'loglevel' (set logging level) with argument 'trace'.
|
|---|
| 49 | FFmpeg: Finished splitting the commandline.
|
|---|
| 50 | FFmpeg: Parsing a group of options: global .
|
|---|
| 51 | FFmpeg: Applying option y (overwrite output files) with argument 1.
|
|---|
| 52 | FFmpeg: Applying option loglevel (set logging level) with argument trace.
|
|---|
| 53 | FFmpeg: Successfully parsed a group of options.
|
|---|
| 54 | FFmpeg: Parsing a group of options: input url /data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4.
|
|---|
| 55 | FFmpeg: Applying option hwaccel (use HW accelerated decoding) with argument mediacodec.
|
|---|
| 56 | FFmpeg: Applying option hwaccel_output_format (select output format used with HW accelerated decoding) with argument mediacodec.
|
|---|
| 57 | FFmpeg: Successfully parsed a group of options.
|
|---|
| 58 | FFmpeg: Opening an input file: /data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4.
|
|---|
| 59 | FFmpeg: [NULL @ 0xb400007ae506aff0] Opening '/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4' for reading
|
|---|
| 60 | FFmpeg: [file @ 0xb400007a85057310] Setting default whitelist 'file,crypto,data'
|
|---|
| 61 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
|
|---|
| 62 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] ISO: File Type Major Brand: isom
|
|---|
| 63 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] Unknown dref type 0x206c7275 size 12
|
|---|
| 64 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] Processing st: 0, edit list 0 - media time: 0, duration: 32768
|
|---|
| 65 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] Before avformat_find_stream_info() pos: 13771 bytes read:13771 seeks:0 nb_streams:1
|
|---|
| 66 | FFmpeg: [h264 @ 0xb400007af50721d0] nal_unit_type: 7(SPS), nal_ref_idc: 3
|
|---|
| 67 | FFmpeg: [h264 @ 0xb400007af50721d0] nal_unit_type: 8(PPS), nal_ref_idc: 3
|
|---|
| 68 | FFmpeg: [h264 @ 0xb400007af50721d0] nal_unit_type: 7(SPS), nal_ref_idc: 3
|
|---|
| 69 | FFmpeg: [h264 @ 0xb400007af50721d0] nal_unit_type: 8(PPS), nal_ref_idc: 3
|
|---|
| 70 | FFmpeg: [h264 @ 0xb400007af50721d0] nal_unit_type: 6(SEI), nal_ref_idc: 0
|
|---|
| 71 | FFmpeg: [h264 @ 0xb400007af50721d0] nal_unit_type: 5(IDR), nal_ref_idc: 3
|
|---|
| 72 | FFmpeg: [h264 @ 0xb400007af50721d0] Format yuv420p chosen by get_format().
|
|---|
| 73 | FFmpeg: [h264 @ 0xb400007af50721d0] Reinit context to 640x480, pix_fmt: yuv420p
|
|---|
| 74 | FFmpeg: [h264 @ 0xb400007af50721d0] no picture
|
|---|
| 75 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] All info found
|
|---|
| 76 | FFmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007ae506aff0] After avformat_find_stream_info() pos: 1015 bytes read:13771 seeks:0 frames:1
|
|---|
| 77 | FFmpeg: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_input.mp4':
|
|---|
| 78 | FFmpeg: Metadata:
|
|---|
| 79 | FFmpeg: major_brand :
|
|---|
| 80 | FFmpeg: isom
|
|---|
| 81 | FFmpeg:
|
|---|
| 82 | FFmpeg: minor_version :
|
|---|
| 83 | FFmpeg: 512
|
|---|
| 84 | FFmpeg:
|
|---|
| 85 | FFmpeg: compatible_brands:
|
|---|
| 86 | FFmpeg: isomiso2avc1mp41
|
|---|
| 87 | FFmpeg:
|
|---|
| 88 | FFmpeg: encoder :
|
|---|
| 89 | FFmpeg: Lavf59.27.100
|
|---|
| 90 | FFmpeg:
|
|---|
| 91 | FFmpeg: Duration:
|
|---|
| 92 | FFmpeg: 00:00:02.00
|
|---|
| 93 | FFmpeg: , start:
|
|---|
| 94 | FFmpeg: 0.000000
|
|---|
| 95 | FFmpeg: , bitrate:
|
|---|
| 96 | FFmpeg: 55 kb/s
|
|---|
| 97 | FFmpeg:
|
|---|
| 98 | FFmpeg: Stream #0:0
|
|---|
| 99 | FFmpeg: [0x1]
|
|---|
| 100 | FFmpeg: (und)
|
|---|
| 101 | FFmpeg: , 1, 1/16384
|
|---|
| 102 | FFmpeg: : Video: h264, 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 640x480, 0/1, 51 kb/s
|
|---|
| 103 | FFmpeg: ,
|
|---|
| 104 | FFmpeg: 1 fps,
|
|---|
| 105 | FFmpeg: 1 tbr,
|
|---|
| 106 | FFmpeg: 16384 tbn
|
|---|
| 107 | FFmpeg: (default)
|
|---|
| 108 | FFmpeg:
|
|---|
| 109 | FFmpeg: Metadata:
|
|---|
| 110 | FFmpeg: handler_name :
|
|---|
| 111 | FFmpeg: VideoHandler
|
|---|
| 112 | FFmpeg:
|
|---|
| 113 | FFmpeg: vendor_id :
|
|---|
| 114 | FFmpeg: [0][0][0][0]
|
|---|
| 115 | FFmpeg:
|
|---|
| 116 | FFmpeg: encoder :
|
|---|
| 117 | FFmpeg: Lavc59.37.100 libx264
|
|---|
| 118 | FFmpeg:
|
|---|
| 119 | FFmpeg: Successfully opened the file.
|
|---|
| 120 | FFmpeg: Parsing a group of options: output url /data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_output.mp4.
|
|---|
| 121 | FFmpeg: Applying option c:v (codec name) with argument h264_mediacodec.
|
|---|
| 122 | FFmpeg: Successfully parsed a group of options.
|
|---|
| 123 | FFmpeg: Opening an output file: /data/user/0/com.test.ffmpeg_kit_android_demo/cache/test_output.mp4.
|
|---|
| 124 | FFmpeg: [file @ 0xb400007a85054790] Setting default whitelist 'file,crypto,data'
|
|---|
| 125 | FFmpeg: Successfully opened the file.
|
|---|
| 126 | IOmx service obtained
|
|---|
| 127 | FFmpeg: detected 8 logical cores
|
|---|
| 128 | FFmpeg: [h264 @ 0xb400007af5092750] nal_unit_type: 7(SPS), nal_ref_idc: 3
|
|---|
| 129 | FFmpeg: [h264 @ 0xb400007af5092750] nal_unit_type: 8(PPS), nal_ref_idc: 3
|
|---|
| 130 | FFmpeg: Stream mapping:
|
|---|
| 131 | FFmpeg: Stream #0:0 -> #0:0
|
|---|
| 132 | FFmpeg: (h264 (native) -> h264 (h264_mediacodec))
|
|---|
| 133 | FFmpeg:
|
|---|
| 134 | FFmpeg: Press [q] to stop, [?] for help
|
|---|
| 135 | FFmpeg: cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
|
|---|
| 136 | FFmpeg: cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
|
|---|
| 137 | FFmpeg: cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
|
|---|
| 138 | FFmpeg: [graph 0 input from stream 0:0 @ 0xb400007a85060cd0] Setting 'video_size' to value '640x480'
|
|---|
| 139 | FFmpeg: [graph 0 input from stream 0:0 @ 0xb400007a85060cd0] Setting 'pix_fmt' to value '0'
|
|---|
| 140 | FFmpeg: [graph 0 input from stream 0:0 @ 0xb400007a85060cd0] Setting 'time_base' to value '1/16384'
|
|---|
| 141 | FFmpeg: [graph 0 input from stream 0:0 @ 0xb400007a85060cd0] Setting 'pixel_aspect' to value '0/1'
|
|---|
| 142 | FFmpeg: [graph 0 input from stream 0:0 @ 0xb400007a85060cd0] Setting 'frame_rate' to value '1/1'
|
|---|
| 143 | FFmpeg: [graph 0 input from stream 0:0 @ 0xb400007a85060cd0] w:640 h:480 pixfmt:yuv420p tb:1/16384 fr:1/1 sar:0/1
|
|---|
| 144 | FFmpeg: [format @ 0xb400007a85060f10] Setting 'pix_fmts' to value 'mediacodec|yuv420p|nv12'
|
|---|
| 145 | FFmpeg: [AVFilterGraph @ 0xb400007a55051c80] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
|
|---|
| 146 | FFmpeg: [h264_mediacodec @ 0xb400007af5092ff0] Using device mediacodec0 (type mediacodec) with h264_mediacodec encoder.
|
|---|
| 147 | [] Now uninitialized
|
|---|
| 148 | [] onAllocateComponent
|
|---|
| 149 | IOmx service obtained
|
|---|
| 150 | [OMX.qcom.video.encoder.avc] Now Loaded
|
|---|
| 151 | FFmpeg: [h264_mediacodec @ 0xb400007af5092ff0] Set i-frame-interval to 12
|
|---|
| 152 | app-pid(19682)
|
|---|
| 153 | do not know color format 0x7fa30c06 = 2141391878
|
|---|
| 154 | do not know color format 0x7fa30c04 = 2141391876
|
|---|
| 155 | do not know color format 0x7fa30c00 = 2141391872
|
|---|
| 156 | do not know color format 0x7fa30c09 = 2141391881
|
|---|
| 157 | do not know color format 0x7fa30c0a = 2141391882
|
|---|
| 158 | do not know color format 0x7fa30c08 = 2141391880
|
|---|
| 159 | do not know color format 0x7fa30c07 = 2141391879
|
|---|
| 160 | do not know color format 0x7f000789 = 2130708361
|
|---|
| 161 | [OMX.qcom.video.encoder.avc] does not support color format 19
|
|---|
| 162 | [OMX.qcom.video.encoder.avc] configureCodec returning error -61
|
|---|
| 163 | signalError(omxError 0x80001001, internalError -61)
|
|---|
| 164 | Codec reported err 0xffffffc3, actionCode 0, while in state 3
|
|---|
| 165 | configure failed with err 0xffffffc3, resetting...
|
|---|
| 166 | [OMX.qcom.video.encoder.avc] Now uninitialized
|
|---|
| 167 | [] Now kWhatShutdownCompleted event : 8323
|
|---|
| 168 | Codec shutdown complete
|
|---|
| 169 | [] Now uninitialized
|
|---|
| 170 | [] onAllocateComponent
|
|---|
| 171 | IOmx service obtained
|
|---|
| 172 | [OMX.qcom.video.encoder.avc] Now Loaded
|
|---|
| 173 | configure: err(-61), failed with format: AMessage(what = 'conf', target = 1) = {
|
|---|
| 174 | string mime = "video/avc"
|
|---|
| 175 | int32_t width = 640
|
|---|
| 176 | int32_t height = 480
|
|---|
| 177 | int32_t color-format = 19
|
|---|
| 178 | int32_t bitrate = 200000
|
|---|
| 179 | int32_t frame-rate = 1
|
|---|
| 180 | int32_t i-frame-interval = 12
|
|---|
| 181 | int32_t flags = 1
|
|---|
| 182 | int32_t encoder = 1
|
|---|
| 183 | }
|
|---|
| 184 | sf error code: -61
|
|---|
| 185 | FFmpeg: [amediacodec_ndk @ 0xb400007ac5060b90] Encoder configure failed, -10000
|
|---|
| 186 | FFmpeg: [h264_mediacodec @ 0xb400007af5092ff0] MediaCodec configure failed, Generic error in an external library
|
|---|
| 187 | [OMX.qcom.video.encoder.avc] Now kWhatShutdownCompleted event : 8323
|
|---|
| 188 | [OMX.qcom.video.encoder.avc] Now uninitialized
|
|---|
| 189 | [] Now kWhatShutdownCompleted event : 8323
|
|---|
| 190 | Codec shutdown complete
|
|---|
| 191 | onLastStrongRef automatically unlinking death recipients: android.media.IResourceManagerService
|
|---|
| 192 | FFmpeg: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
|
|---|
| 193 | FFmpeg: [AVIOContext @ 0xb400007ab5092cd0] Statistics: 0 bytes written, 0 seeks, 0 writeouts
|
|---|
| 194 | FFmpeg: [AVIOContext @ 0xb400007ab5094b10] Statistics: 13771 bytes read, 0 seeks
|
|---|
| 195 | FFmpeg: Conversion failed!
|
|---|
| 196 | FFmpeg operation time: 0.04900002479553223 s
|
|---|
| 197 | FFmpeg result: 1
|
|---|
| 198 | FFmpeg result: COMPLETED
|
|---|
| 199 | FFmpeg callstack: null
|
|---|
| 200 |
|
|---|