RxFFmpeg icon indicating copy to clipboard operation
RxFFmpeg copied to clipboard

音视频合成失败

Open jameschen4540 opened this issue 3 years ago • 2 comments

音视频合成失败,命令为: ffmpeg -i videoNoAudio.mp4 -i mixAudio.wav -c:v copy -acodec aac mixVideo.mp4 -y

jameschen4540 avatar Sep 13 '22 08:09 jameschen4540

一个很奇怪的问题就是,有时候可以合成,有时候就合成一段(比如4分钟的音频和视频,合成出来只有30s),有时合成失败。将音频和视频导出,在电脑上用ffmpeg 同样的命令合成时正常的。

jameschen4540 avatar Sep 13 '22 09:09 jameschen4540

这是合成时候的日志,合成后的视频只有一分钟,原视频时长有4分钟。 087 28414-28414/***** E/TAG: cmd: ffmpeg -i /storage/emulated/0/Android/data//cache/videoNoAudio.mp4 -i /storage/emulated/0/Android/data//cache/mixAudio.wav -c:v copy -acodec aac /storage/emulated/0/Android/data//cache/mixVideo.mp4 -y 489 28414-28948/ D/BufferPoolAccessor2.0: bufferpool2 0xb69f9e58 : 0(0 size) total buffers - 0(0 size) used buffers - 0/4 (recycle/alloc) - 4/2109 (fetch/transfer) 489 28414-28948/***** D/BufferPoolAccessor2.0: evictor expired: 1, evicted: 1 091 28414-29475/***** I/TAG_FFMPEG: ffmpeg version 4.0 091 28414-29475/***** I/TAG_FFMPEG: Copyright (c) 2000-2018 the FFmpeg developers 091 28414-29475/***** I/TAG_FFMPEG: 091 28414-29475/***** I/TAG_FFMPEG: built with gcc 4.9 (GCC) 20140827 (prerelease) 091 28414-29475/***** I/TAG_FFMPEG: configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg-lite/x86 --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --disable-x86asm --disable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android- --target-os=android --arch=x86 --cpu=x86 --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-x86 --disable-encoders --enable-libx264 --enable-libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder='libx264,libmp3lame,libfdk_aac,aac,mpeg4,pcm_s16le,pcm_s16be,png,gif,mjpeg,bmp,pcm_u8,libopencore_amrnb' --disabl 091 28414-29475/***** I/TAG_FFMPEG: avutil configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: avcodec configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: avformat configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: avdevice configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: avfilter configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: swscale configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: swresample configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: postproc configuration: --prefix=/mnt/d/DevConfig/ffmpeg/4.0/build/build_script/lib/ffmpeg/armv7-a --enable-neon --enable-hwaccels --enable-openssl --enable-nonfree --enable-gpl --enable-x86asm --enable-asm --disable-shared --enable-static --cross-prefix=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=android --arch=arm --cpu=armv7-a --cc=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --nm=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --enable-cross-compile --sysroot=/mnt/d/DevConfig/ffmpeg/ndk/android-ndk-r10e/platforms/android-16/arch-arm --enable-libx264 --enable-encoder=libx264 --enable-libmp3lame --enable-encoder=libmp3lame --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-encoder=lib 091 28414-29475/***** I/TAG_FFMPEG: libavutil 56. 14.100 / 56. 14.100 091 28414-29475/***** I/TAG_FFMPEG: libavcodec 58. 18.100 / 58. 18.100 091 28414-29475/***** I/TAG_FFMPEG: libavformat 58. 12.100 / 58. 12.100 091 28414-29475/***** I/TAG_FFMPEG: libavdevice 58. 3.100 / 58. 3.100 091 28414-29475/***** I/TAG_FFMPEG: libavfilter 7. 16.100 / 7. 16.100 091 28414-29475/***** I/TAG_FFMPEG: libswscale 5. 1.100 / 5. 1.100 091 28414-29475/***** I/TAG_FFMPEG: libswresample 3. 1.100 / 3. 1.100 091 28414-29475/***** I/TAG_FFMPEG: libpostproc 55. 1.100 / 55. 1.100 091 28414-29475/***** D/TAG_FFMPEG: Splitting the commandline. 091 28414-29475/***** D/TAG_FFMPEG: Reading option '-i' ... 091 28414-29475/***** D/TAG_FFMPEG: matched as input url with argument '/storage/emulated/0/Android/data//cache/videoNoAudio.mp4'. 091 28414-29475/ D/TAG_FFMPEG: Reading option '-i' ... 091 28414-29475/***** D/TAG_FFMPEG: matched as input url with argument '/storage/emulated/0/Android/data//cache/mixAudio.wav'. 091 28414-29475/ D/TAG_FFMPEG: Reading option '-c:v' ... 091 28414-29475/***** D/TAG_FFMPEG: matched as option 'c' (codec name) with argument 'copy'. 091 28414-29475/***** D/TAG_FFMPEG: Reading option '-acodec' ... 091 28414-29475/***** D/TAG_FFMPEG: matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'aac'. 091 28414-29475/***** D/TAG_FFMPEG: Reading option '/storage/emulated/0/Android/data//cache/mixVideo.mp4' ... 091 28414-29475/ D/TAG_FFMPEG: matched as output url. 091 28414-29475/***** D/TAG_FFMPEG: Reading option '-y' ... 091 28414-29475/***** D/TAG_FFMPEG: matched as option 'y' (overwrite output files) with argument '1'. 091 28414-29475/***** D/TAG_FFMPEG: Finished splitting the commandline. 091 28414-29475/***** D/TAG_FFMPEG: Parsing a group of options: global . 091 28414-29475/***** D/TAG_FFMPEG: Applying option y (overwrite output files) with argument 1. 091 28414-29475/***** D/TAG_FFMPEG: Successfully parsed a group of options. 091 28414-29475/***** D/TAG_FFMPEG: Parsing a group of options: input url /storage/emulated/0/Android/data//cache/videoNoAudio.mp4. 091 28414-29475/ D/TAG_FFMPEG: Successfully parsed a group of options. 091 28414-29475/***** D/TAG_FFMPEG: Opening an input file: /storage/emulated/0/Android/data//cache/videoNoAudio.mp4. 091 28414-29475/ D/TAG_FFMPEG: Opening '/storage/emulated/0/Android/data//cache/videoNoAudio.mp4' for reading 091 28414-29475/ D/TAG_FFMPEG: Setting default whitelist 'file,crypto' 092 28414-29475/***** D/TAG_FFMPEG: Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 092 28414-29475/***** D/TAG_FFMPEG: ISO: File Type Major Brand: isom 092 28414-29475/***** D/TAG_FFMPEG: Unknown dref type 0x206c7275 size 12 096 28414-29475/***** D/TAG_FFMPEG: Processing st: 0, edit list 0 - media time: 3600, duration: 21895200 096 28414-29475/***** D/TAG_FFMPEG: stts: 0 ctts: 3600, ctts_index: 0, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 3600 ctts: 10800, ctts_index: 1, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 7200 ctts: 0, ctts_index: 2, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 10800 ctts: 0, ctts_index: 3, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 14400 ctts: 10800, ctts_index: 4, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 18000 ctts: 0, ctts_index: 5, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 21600 ctts: 0, ctts_index: 6, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 25200 ctts: 10800, ctts_index: 7, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 28800 ctts: 0, ctts_index: 8, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 32400 ctts: 0, ctts_index: 9, ctts_count: 6082 096 28414-29475/***** D/TAG_FFMPEG: stts: 36000 ctts: 7200, ctts_index: 10, ctts_count: 6082

                   .............................

140 28414-29475/***** D/TAG_FFMPEG: stts: 21823200 ctts: 10800, ctts_index: 6062, ctts_count: 6082 140 28414-29475/***** D/TAG_FFMPEG: stts: 21859200 ctts: 3600, ctts_index: 6072, ctts_count: 6082 141 28414-29475/***** D/TAG_FFMPEG: stts: 21873600 ctts: 3600, ctts_index: 6076, ctts_count: 6082 141 28414-29475/***** D/TAG_FFMPEG: stts: 21884400 ctts: 3600, ctts_index: 6079, ctts_count: 6082 142 28414-29475/***** D/TAG_FFMPEG: Setting codecpar->delay to 1 for stream st: 0 142 28414-29475/***** D/TAG_FFMPEG: Before avformat_find_stream_info() pos: 38917826 bytes read:91808 seeks:1 nb_streams:1 143 28414-29475/***** D/TAG_FFMPEG: nal_unit_type: 7, nal_ref_idc: 3 143 28414-29475/***** D/TAG_FFMPEG: nal_unit_type: 8, nal_ref_idc: 3 143 28414-29475/***** D/TAG_FFMPEG: nal_unit_type: 9, nal_ref_idc: 0 143 28414-29475/***** D/TAG_FFMPEG: nal_unit_type: 7, nal_ref_idc: 3 143 28414-29475/***** D/TAG_FFMPEG: nal_unit_type: 8, nal_ref_idc: 3 143 28414-29475/***** D/TAG_FFMPEG: nal_unit_type: 5, nal_ref_idc: 2 143 28414-29475/***** D/TAG_FFMPEG: Format yuv420p chosen by get_format(). 144 28414-29475/***** D/TAG_FFMPEG: no picture 151 28414-29475/***** D/TAG_FFMPEG: All info found 151 28414-29475/***** D/TAG_FFMPEG: After avformat_find_stream_info() pos: 27895 bytes read:124576 seeks:2 frames:1 151 28414-29475/***** I/TAG_FFMPEG: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data//cache/videoNoAudio.mp4': 151 28414-29475/ I/TAG_FFMPEG: Metadata: 151 28414-29475/***** I/TAG_FFMPEG: major_brand : 151 28414-29475/***** I/TAG_FFMPEG: isom 151 28414-29475/***** I/TAG_FFMPEG: 151 28414-29475/***** I/TAG_FFMPEG: minor_version : 151 28414-29475/***** I/TAG_FFMPEG: 512 151 28414-29475/***** I/TAG_FFMPEG: 151 28414-29475/***** I/TAG_FFMPEG: compatible_brands: 151 28414-29475/***** I/TAG_FFMPEG: isomiso2avc1mp41 151 28414-29475/***** I/TAG_FFMPEG: 151 28414-29475/***** I/TAG_FFMPEG: encoder : 151 28414-29475/***** I/TAG_FFMPEG: Lavf58.12.100 151 28414-29475/***** I/TAG_FFMPEG: 151 28414-29475/***** I/TAG_FFMPEG: Duration: 151 28414-29475/***** I/TAG_FFMPEG: 00:04:03.28 151 28414-29475/***** I/TAG_FFMPEG: , start: 151 28414-29475/***** I/TAG_FFMPEG: 0.000000 151 28414-29475/***** I/TAG_FFMPEG: , bitrate: 151 28414-29475/***** I/TAG_FFMPEG: 1279 kb/s 151 28414-29475/***** I/TAG_FFMPEG: 151 28414-29475/***** I/TAG_FFMPEG: Stream #0:0 151 28414-29475/***** I/TAG_FFMPEG: (und) 152 28414-29475/***** D/TAG_FFMPEG: , 1, 1/90000 152 28414-29475/***** I/TAG_FFMPEG: : Video: h264 (avc1 / 0x31637661), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 1277 kb/s 152 28414-29475/***** I/TAG_FFMPEG: , 152 28414-29475/***** I/TAG_FFMPEG: 25 fps, 152 28414-29475/***** I/TAG_FFMPEG: 25 tbr, 152 28414-29475/***** I/TAG_FFMPEG: 90k tbn, 152 28414-29475/***** I/TAG_FFMPEG: 50 tbc 152 28414-29475/***** I/TAG_FFMPEG: (default) 152 28414-29475/***** I/TAG_FFMPEG: 152 28414-29475/***** I/TAG_FFMPEG: Metadata: 152 28414-29475/***** I/TAG_FFMPEG: handler_name : 152 28414-29475/***** I/TAG_FFMPEG: VideoHandler 152 28414-29475/***** I/TAG_FFMPEG: 152 28414-29475/***** D/TAG_FFMPEG: Successfully opened the file. 152 28414-29475/***** D/TAG_FFMPEG: Parsing a group of options: input url /storage/emulated/0/Android/data//cache/mixAudio.wav. 152 28414-29475/ D/TAG_FFMPEG: Successfully parsed a group of options. 152 28414-29475/***** D/TAG_FFMPEG: Opening an input file: /storage/emulated/0/Android/data//cache/mixAudio.wav. 152 28414-29475/ D/TAG_FFMPEG: Opening '/storage/emulated/0/Android/data//cache/mixAudio.wav' for reading 152 28414-29475/ D/TAG_FFMPEG: Setting default whitelist 'file,crypto' 152 28414-29475/***** D/TAG_FFMPEG: Format wav probed with size=2048 and score=99 152 28414-29475/***** D/TAG_FFMPEG: Before avformat_find_stream_info() pos: 78 bytes read:65614 seeks:1 nb_streams:1 152 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:32 153 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:31 153 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:30 153 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:29 154 28414-29475/***** D/TAG_FFMPEG: Probe with size=16384, packets=2472 detected mp3 with score=1 154 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:28 154 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:27 154 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:26 154 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:25 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:24 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:23 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:22 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:21 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:20 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:19 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:18 157 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:17 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:16 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:15 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:14 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:13 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:12 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:11 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:10 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:9 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:8 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:7 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:6 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:5 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:4 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:3 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:2 161 28414-29475/***** D/TAG_FFMPEG: probing stream 0 pp:1 169 28414-29475/***** D/TAG_FFMPEG: probed stream 0 169 28414-29475/***** D/TAG_FFMPEG: All info found 169 28414-29475/***** D/TAG_FFMPEG: After avformat_find_stream_info() pos: 204878 bytes read:294990 seeks:1 frames:50 169 28414-29475/***** W/TAG_FFMPEG: Guessed Channel Layout for Input Stream #1.0 : mono 169 28414-29475/***** I/TAG_FFMPEG: Input #1, wav, from '/storage/emulated/0/Android/data//cache/mixAudio.wav': 169 28414-29475/ I/TAG_FFMPEG: Metadata: 169 28414-29475/***** I/TAG_FFMPEG: encoder : 169 28414-29475/***** I/TAG_FFMPEG: Lavf58.12.100 169 28414-29475/***** I/TAG_FFMPEG: 169 28414-29475/***** I/TAG_FFMPEG: Duration: 169 28414-29475/***** I/TAG_FFMPEG: 00:04:03.09 169 28414-29475/***** I/TAG_FFMPEG: , bitrate: 169 28414-29475/***** I/TAG_FFMPEG: 705 kb/s 169 28414-29475/***** I/TAG_FFMPEG: 169 28414-29475/***** I/TAG_FFMPEG: Stream #1:0 169 28414-29475/***** D/TAG_FFMPEG: , 50, 1/44100 169 28414-29475/***** I/TAG_FFMPEG: : Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s 169 28414-29475/***** I/TAG_FFMPEG: 169 28414-29475/***** D/TAG_FFMPEG: Successfully opened the file. 170 28414-29475/***** D/TAG_FFMPEG: Parsing a group of options: output url /storage/emulated/0/Android/data//cache/mixVideo.mp4. 170 28414-29475/ D/TAG_FFMPEG: Applying option c:v (codec name) with argument copy. 170 28414-29475/***** D/TAG_FFMPEG: Applying option acodec (force audio codec ('copy' to copy stream)) with argument aac. 170 28414-29475/***** D/TAG_FFMPEG: Successfully parsed a group of options. 170 28414-29475/***** D/TAG_FFMPEG: Opening an output file: /storage/emulated/0/Android/data//cache/mixVideo.mp4. 170 28414-29475/ D/TAG_FFMPEG: Setting default whitelist 'file,crypto' 171 28414-29475/***** D/TAG_FFMPEG: Successfully opened the file. 171 28414-29475/***** I/TAG_FFMPEG: Stream mapping: 171 28414-29475/***** I/TAG_FFMPEG: Stream #0:0 -> #0:0 171 28414-29475/***** I/TAG_FFMPEG: (copy) 171 28414-29475/***** I/TAG_FFMPEG: 171 28414-29475/***** I/TAG_FFMPEG: Stream #1:0 -> #0:1 171 28414-29475/***** I/TAG_FFMPEG: (pcm_s16le (native) -> aac (native)) 171 28414-29475/***** I/TAG_FFMPEG: 171 28414-29475/***** I/TAG_FFMPEG: Press [q] to stop, [?] for help 171 28414-29475/***** D/TAG_FFMPEG: cur_dts is invalid (this is harmless if it occurs once at the start per stream) 171 28414-29475/***** D/TAG_FFMPEG: cur_dts is invalid (this is harmless if it occurs once at the start per stream) 173 28414-29475/***** D/TAG_FFMPEG: Setting 'time_base' to value '1/44100' 173 28414-29475/***** D/TAG_FFMPEG: Setting 'sample_rate' to value '44100' 173 28414-29475/***** D/TAG_FFMPEG: Setting 'sample_fmt' to value 's16' 173 28414-29475/***** D/TAG_FFMPEG: Setting 'channel_layout' to value '0x4' 173 28414-29475/***** D/TAG_FFMPEG: Setting 'sample_fmts' to value 'fltp' 173 28414-29475/***** D/TAG_FFMPEG: Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350' 173 28414-29475/***** D/TAG_FFMPEG: query_formats: 4 queried, 6 merged, 3 already done, 0 delayed 173 28414-29475/***** D/TAG_FFMPEG: Using s16p internally between filters 174 28414-29475/***** I/TAG_FFMPEG: Output #0, mp4, to '/storage/emulated/0/Android/data//cache/mixVideo.mp4': 174 28414-29475/ I/TAG_FFMPEG: Metadata: 174 28414-29475/***** I/TAG_FFMPEG: major_brand : 174 28414-29475/***** I/TAG_FFMPEG: isom 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: minor_version : 174 28414-29475/***** I/TAG_FFMPEG: 512 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: compatible_brands: 174 28414-29475/***** I/TAG_FFMPEG: isomiso2avc1mp41 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: encoder : 174 28414-29475/***** I/TAG_FFMPEG: Lavf58.12.100 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: Stream #0:0 174 28414-29475/***** I/TAG_FFMPEG: (und) 174 28414-29475/***** D/TAG_FFMPEG: , 0, 1/90000 174 28414-29475/***** I/TAG_FFMPEG: : Video: h264 (avc1 / 0x31637661), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], q=2-31, 1277 kb/s 174 28414-29475/***** I/TAG_FFMPEG: , 174 28414-29475/***** I/TAG_FFMPEG: 25 fps, 174 28414-29475/***** I/TAG_FFMPEG: 25 tbr, 174 28414-29475/***** I/TAG_FFMPEG: 90k tbn, 174 28414-29475/***** I/TAG_FFMPEG: 90k tbc 174 28414-29475/***** I/TAG_FFMPEG: (default) 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: Metadata: 174 28414-29475/***** I/TAG_FFMPEG: handler_name : 174 28414-29475/***** I/TAG_FFMPEG: VideoHandler 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: Stream #0:1 174 28414-29475/***** D/TAG_FFMPEG: , 0, 1/44100 174 28414-29475/***** I/TAG_FFMPEG: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 kb/s 174 28414-29475/***** I/TAG_FFMPEG: 174 28414-29475/***** I/TAG_FFMPEG: Metadata: 174 28414-29475/***** I/TAG_FFMPEG: encoder : 174 28414-29475/***** I/TAG_FFMPEG: Lavc58.18.100 aac 174 28414-29475/***** I/TAG_FFMPEG: 175 28414-29475/***** I/TAG_FFMPEG: frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
175 28414-29475/***** D/TAG_FFMPEG: cur_dts is invalid (this is harmless if it occurs once at the start per stream) 671 28414-29475/***** I/TAG_FFMPEG: frame= 1251 fps=0.0 q=-1.0 size= 8192kB time=00:00:49.96 bitrate=1343.0kbits/s speed=99.9x
056 28414-29475/***** I/TAG_FFMPEG: frame= 2221 fps=0.0 q=-1.0 Lsize= 14721kB time=00:01:28.83 bitrate=1357.5kbits/s speed= 100x
056 28414-29475/***** I/TAG_FFMPEG: video:13900kB audio:753kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 056 28414-29475/***** I/TAG_FFMPEG: 0.468991% 056 28414-29475/***** I/TAG_FFMPEG: 056 28414-29475/***** D/TAG_FFMPEG: 34271 frames successfully decoded, 0 decoding errors 056 28414-29475/***** D/TAG_FFMPEG: Statistics: 2 seeks, 61 writeouts 056 28414-29475/***** I/TAG_FFMPEG: Qavg: 231.863 056 28414-29475/***** D/TAG_FFMPEG: Statistics: 14425827 bytes read, 2 seeks 056 28414-29475/***** D/TAG_FFMPEG: Statistics: 7962702 bytes read, 1 seeks 056 28414-29475/***** I/TAG_FFMPEG: Exiting normally, received signal 3. 058 28414-28414/***** E/TAG: onMixVideoSuccess

jameschen4540 avatar Sep 13 '22 10:09 jameschen4540