| 1 | ffmpeg started on 2025-03-14 at 10:16:18
|
|---|
| 2 | Report written to "ffmpeg-20250314-101618.log"
|
|---|
| 3 | Log level: 48
|
|---|
| 4 | Command line:
|
|---|
| 5 | /data/data/com.termux/files/usr/bin/ffmpeg -hwaccel mediacodec -i patrick_plan.mp4 -crf 33 -an -report /sdcard/THIS_IS_A_MEDIACODEC_PROBLEM_IT_WORKED_BEFORE.mp4
|
|---|
| 6 | ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers
|
|---|
| 7 | built with Android (12470979, +pgo, +bolt, +lto, +mlgo, based on r522817c) clang version 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456d14a3deb8054cdaa529ffbf02d9b262)
|
|---|
| 8 | configuration: --arch=aarch64 --as=aarch64-linux-android-clang --cc=aarch64-linux-android-clang --cxx=aarch64-linux-android-clang++ --nm=llvm-nm --ar=llvm-ar --ranlib=llvm-ranlib --pkg-config=/home/builder/.termux-build/_cache/android-r27c-api-29-v1/bin/pkg-config --strip=llvm-strip --cross-prefix=aarch64-linux-android- --disable-indevs --disable-outdevs --enable-indev=lavfi --disable-static --disable-symver --enable-cross-compile --enable-gnutls --enable-gpl --enable-version3 --enable-jni --enable-lcms2 --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libharfbuzz --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenmpt --enable-libopus --enable-librav1e --enable-librubberband --enable-libsoxr --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --ena libavutil 59. 39.100 / 59. 39.100
|
|---|
| 9 | libavcodec 61. 19.101 / 61. 19.101
|
|---|
| 10 | libavformat 61. 7.100 / 61. 7.100
|
|---|
| 11 | libavdevice 61. 3.100 / 61. 3.100
|
|---|
| 12 | libavfilter 10. 4.100 / 10. 4.100
|
|---|
| 13 | libswscale 8. 3.100 / 8. 3.100
|
|---|
| 14 | libswresample 5. 3.100 / 5. 3.100
|
|---|
| 15 | libpostproc 58. 3.100 / 58. 3.100
|
|---|
| 16 | Splitting the commandline.
|
|---|
| 17 | Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'mediacodec'.
|
|---|
| 18 | Reading option '-i' ... matched as input url with argument 'patrick_plan.mp4'.
|
|---|
| 19 | Reading option '-crf' ... matched as AVOption 'crf' with argument '33'.
|
|---|
| 20 | Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
|
|---|
| 21 | Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
|
|---|
| 22 | Reading option '/sdcard/THIS_IS_A_MEDIACODEC_PROBLEM_IT_WORKED_BEFORE.mp4' ... matched as output url.
|
|---|
| 23 | Finished splitting the commandline.
|
|---|
| 24 | Parsing a group of options: global .
|
|---|
| 25 | Applying option report (generate a report) with argument 1.
|
|---|
| 26 | Successfully parsed a group of options.
|
|---|
| 27 | Parsing a group of options: input url patrick_plan.mp4.
|
|---|
| 28 | Applying option hwaccel (use HW accelerated decoding) with argument mediacodec.
|
|---|
| 29 | Successfully parsed a group of options.
|
|---|
| 30 | Opening an input file: patrick_plan.mp4.
|
|---|
| 31 | [AVFormatContext @ 0x7999c7c000] Opening 'patrick_plan.mp4' for reading
|
|---|
| 32 | [file @ 0x7999c35080] Setting default whitelist 'file,crypto,data'
|
|---|
| 33 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
|
|---|
| 34 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] ISO: File Type Major Brand: mp42
|
|---|
| 35 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Unknown dref type 0x206c7275 size 12
|
|---|
| 36 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Processing st: 0, edit list 0 - media time: 1001, duration: 1972971
|
|---|
| 37 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Offset DTS by 1001 to make first pts zero.
|
|---|
| 38 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Setting codecpar->delay to 1 for stream st: 0
|
|---|
| 39 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Unknown dref type 0x206c7275 size 12
|
|---|
| 40 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] Before avformat_find_stream_info() pos: 34607 bytes read:65536 seeks:0 nb_streams:2
|
|---|
| 41 | [h264 @ 0x7999c9f380] nal_unit_type: 7(SPS), nal_ref_idc: 3
|
|---|
| 42 | [h264 @ 0x7999c9f380] Decoding VUI
|
|---|
| 43 | [h264 @ 0x7999c9f380] nal_unit_type: 8(PPS), nal_ref_idc: 3
|
|---|
| 44 | Transform tree:
|
|---|
| 45 | mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 46 | fft32_ns_float_neon - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 47 | Transform tree:
|
|---|
| 48 | mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 49 | fft32_ns_float_neon - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 50 | Transform tree:
|
|---|
| 51 | mdct_pfa_3xM_inv_float_c - type: mdct_float, len: 96, factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 52 | fft16_ns_float_neon - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 53 | Transform tree:
|
|---|
| 54 | mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 120, factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 55 | fft4_fwd_float_neon - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 56 | Transform tree:
|
|---|
| 57 | mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 58 | fft_sr_ns_float_neon - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 59 | Transform tree:
|
|---|
| 60 | mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 480, factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 61 | fft16_ns_float_neon - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 62 | Transform tree:
|
|---|
| 63 | mdct_inv_float_c - type: mdct_float, len: 512, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 64 | fft_sr_ns_float_neon - type: fft_float, len: 256, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 65 | Transform tree:
|
|---|
| 66 | mdct_pfa_3xM_inv_float_c - type: mdct_float, len: 768, factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 67 | fft_sr_ns_float_neon - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 68 | Transform tree:
|
|---|
| 69 | mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 960, factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 70 | fft32_ns_float_neon - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 71 | Transform tree:
|
|---|
| 72 | mdct_inv_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only]
|
|---|
| 73 | fft_sr_ns_float_neon - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 74 | Transform tree:
|
|---|
| 75 | mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only]
|
|---|
| 76 | fft_sr_ns_float_neon - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
|
|---|
| 77 | [h264 @ 0x7999c9f380] nal_unit_type: 7(SPS), nal_ref_idc: 3
|
|---|
| 78 | [h264 @ 0x7999c9f380] Decoding VUI
|
|---|
| 79 | [h264 @ 0x7999c9f380] nal_unit_type: 8(PPS), nal_ref_idc: 3
|
|---|
| 80 | [h264 @ 0x7999c9f380] nal_unit_type: 6(SEI), nal_ref_idc: 0
|
|---|
| 81 | [h264 @ 0x7999c9f380] nal_unit_type: 5(IDR), nal_ref_idc: 3
|
|---|
| 82 | [h264 @ 0x7999c9f380] Format yuv420p chosen by get_format().
|
|---|
| 83 | [h264 @ 0x7999c9f380] Reinit context to 480x272, pix_fmt: yuv420p
|
|---|
| 84 | [h264 @ 0x7999c9f380] no picture
|
|---|
| 85 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] All info found
|
|---|
| 86 | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7999c7c000] After avformat_find_stream_info() pos: 88899 bytes read:98304 seeks:0 frames:15
|
|---|
| 87 | Selecting decoder 'h264_mediacodec' because of requested hwaccel method mediacodec
|
|---|
| 88 | Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'patrick_plan.mp4':
|
|---|
| 89 | Metadata:
|
|---|
| 90 | major_brand : mp42
|
|---|
| 91 | minor_version : 0
|
|---|
| 92 | compatible_brands: isommp42
|
|---|
| 93 | creation_time : 2024-10-29T10:24:48.000000Z
|
|---|
| 94 | encoder : Google
|
|---|
| 95 | Duration: 00:01:05.78, start: 0.000000, bitrate: 336 kb/s
|
|---|
| 96 | Stream #0:0[0x1](und), 14, 1/30000: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 480x272 [SAR 1:1 DAR 30:17], 204 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)
|
|---|
| 97 | Metadata:
|
|---|
| 98 | creation_time : 2024-10-29T10:24:48.000000Z
|
|---|
| 99 | handler_name : ISO Media file produced by Google Inc. Created on: 10/29/2024.
|
|---|
| 100 | vendor_id : [0][0][0][0]
|
|---|
| 101 | Stream #0:1[0x2](und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
|
|---|
| 102 | Metadata:
|
|---|
| 103 | creation_time : 2024-10-29T10:24:48.000000Z
|
|---|
| 104 | handler_name : ISO Media file produced by Google Inc. Created on: 10/29/2024.
|
|---|
| 105 | vendor_id : [0][0][0][0]
|
|---|
| 106 | Successfully opened the file.
|
|---|
| 107 | Parsing a group of options: output url /sdcard/THIS_IS_A_MEDIACODEC_PROBLEM_IT_WORKED_BEFORE.mp4.
|
|---|
| 108 | Applying option an (disable audio) with argument 1.
|
|---|
| 109 | Successfully parsed a group of options.
|
|---|
| 110 | Opening an output file: /sdcard/THIS_IS_A_MEDIACODEC_PROBLEM_IT_WORKED_BEFORE.mp4.
|
|---|
| 111 | [out#0/mp4 @ 0x7999c28ec0] No explicit maps, mapping streams automatically...
|
|---|
| 112 | [vost#0:0/libx264 @ 0x7999dd5000] Created video stream from input stream 0:0
|
|---|
| 113 | [AVHWDeviceContext @ 0x7999c343c0] Disable createPersistentInputSurface
|
|---|
| 114 | [h264_mediacodec @ 0x7999ca0500] nal_unit_type: 7(SPS), nal_ref_idc: 3
|
|---|
| 115 | [h264_mediacodec @ 0x7999ca0500] Decoding VUI
|
|---|
| 116 | [h264_mediacodec @ 0x7999ca0500] nal_unit_type: 8(PPS), nal_ref_idc: 3
|
|---|
| 117 | [h264_mediacodec @ 0x7999ca0500] Format mediacodec chosen by get_format().
|
|---|
| 118 | [h264_mediacodec @ 0x7999ca0500] Both surface and native_window are NULL
|
|---|
| 119 | [h264_mediacodec @ 0x7999ca0500] Using surface 0x0
|
|---|
| 120 | [h264_mediacodec @ 0x7999ca0500] No Java virtual machine has been registered
|
|---|
| 121 | [h264_mediacodec @ 0x7999ca0500] Failed to getCodecNameByType
|
|---|
| 122 | [amediacodec_ndk @ 0x7999c6ba00] Decoder configure failed, -1310093956
|
|---|
| 123 | [h264_mediacodec @ 0x7999ca0500] Failed to configure codec video/avc (status = -542398533) with format _$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö_$ÕÀ_Ö
|
|---|
| 124 | [h264_mediacodec @ 0x7999ca0500] MediaCodec 0x7999c6ba00 failed to start
|
|---|
| 125 | [amediacodec_ndk @ 0x7999c6ba00] stop failed, -1310093956
|
|---|
| 126 | [h264_mediacodec @ 0x7999ca0500] MediaCodec 0x7999c6ba00 stopped
|
|---|
| 127 | [vist#0:0/h264 @ 0x7999c81480] [dec:h264_mediacodec @ 0x7999c6b780] Error while opening decoder: Generic error in an external library
|
|---|
| 128 | Error opening output file /sdcard/THIS_IS_A_MEDIACODEC_PROBLEM_IT_WORKED_BEFORE.mp4.
|
|---|
| 129 | Error opening output files: Generic error in an external library
|
|---|
| 130 | [AVIOContext @ 0x7999c6b140] Statistics: 98304 bytes read, 0 seeks
|
|---|