$ ffmpeg -v verbose -y -lavfi "sine=d=10,asegment=timestamps=1|+1|+1[w][x][y][z]" -map "[w]" out01.wav -map "[x]" out02.wav -map "[y]" out03.wav -map "[z]" out04.wav 2>&1 ffmpeg version N-118013-g7b73ea501d-20241205 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 14.2.0 (crosstool-NG 1.26.0.120_4d36f27) configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2 --enable-openssl --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs='-ldl -lgomp' --extra-ldflags=-pthread --extra-ldexeflags=-pie --cc=x86_64-ffbuild-linux-gnu-gcc --cxx=x86_64-ffbuild-linux-gnu-g++ --ar=x86_64-ffbuild-linux-gnu-gcc-ar --ranlib=x86_64-ffbuild-linux-gnu-gcc-ranlib --nm=x86_64-ffbuild-linux-gnu-gcc-nm --extra-version=20241205 libavutil 59. 49.100 / 59. 49.100 libavcodec 61. 26.100 / 61. 26.100 libavformat 61. 9.100 / 61. 9.100 libavdevice 61. 4.100 / 61. 4.100 libavfilter 10. 6.101 / 10. 6.101 libswscale 8. 12.100 / 8. 12.100 libswresample 5. 4.100 / 5. 4.100 libpostproc 58. 4.100 / 58. 4.100 [out#0/wav @ 0x7fffcd01bb40] Adding streams from explicit maps... [out#0/wav @ 0x7fffcd01bb40] Creating output stream from an explicitly mapped complex filtergraph 0, output [w] [aost#0:0/pcm_s16le @ 0x7fffcd00bb40] Created audio stream from complex filtergraph 0:[asegment] [aost#0:0/pcm_s16le @ 0x7fffcd00bb40] [out#1/wav @ 0x7fffcd01b480] Adding streams from explicit maps... [out#1/wav @ 0x7fffcd01b480] Creating output stream from an explicitly mapped complex filtergraph 0, output [x] [aost#1:0/pcm_s16le @ 0x7fffcd00dcc0] Created audio stream from complex filtergraph 0:[asegment] [aost#1:0/pcm_s16le @ 0x7fffcd00dcc0] [out#2/wav @ 0x7fffcd00f540] Adding streams from explicit maps... [out#2/wav @ 0x7fffcd00f540] Creating output stream from an explicitly mapped complex filtergraph 0, output [y] [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] Created audio stream from complex filtergraph 0:[asegment] [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] [out#3/wav @ 0x7fffcd011c40] Adding streams from explicit maps... [out#3/wav @ 0x7fffcd011c40] Creating output stream from an explicitly mapped complex filtergraph 0, output [z] [aost#3:0/pcm_s16le @ 0x7fffcd012940] Created audio stream from complex filtergraph 0:[asegment] [aost#3:0/pcm_s16le @ 0x7fffcd012940] Stream mapping: asegment -> Stream #0:0 (pcm_s16le) asegment -> Stream #1:0 (pcm_s16le) asegment -> Stream #2:0 (pcm_s16le) asegment -> Stream #3:0 (pcm_s16le) [aost#0:0/pcm_s16le @ 0x7fffcd00bb40] Starting thread... [aost#1:0/pcm_s16le @ 0x7fffcd00dcc0] Starting thread... [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] Starting thread... [aost#3:0/pcm_s16le @ 0x7fffcd012940] Starting thread... [fc#0 @ 0x7fffcd009740] Starting thread... Press [q] to stop, [?] for help Output #0, wav, to 'out01.wav': Metadata: ISFT : Lavf61.9.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc61.26.100 pcm_s16le [out#0/wav @ 0x7fffcd01bb40] Starting thread... Output #1, wav, to 'out02.wav': Metadata: ISFT : Lavf61.9.100 Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc61.26.100 pcm_s16le [out#1/wav @ 0x7fffcd01b480] Starting thread... [aost#0:0/pcm_s16le @ 0x7fffcd00bb40] [enc:pcm_s16le @ 0x7fffcd00c440] Encoder thread received EOF [aost#0:0/pcm_s16le @ 0x7fffcd00bb40] Terminating thread with return code 0 (success) [out#0/wav @ 0x7fffcd01bb40] All streams finished [out#0/wav @ 0x7fffcd01bb40] Terminating thread with return code 0 (success) Output #3, wav, to 'out04.wav': Metadata: ISFT : Lavf61.9.100 Stream #3:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s Metadata: encoder : Lavc61.26.100 pcm_s16le [out#3/wav @ 0x7fffcd011c40] Starting thread... [aost#1:0/pcm_s16le @ 0x7fffcd00dcc0] [enc:pcm_s16le @ 0x7fffcd00acc0] Encoder thread received EOF [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] [enc:pcm_s16le @ 0x7fffcd010cc0] Encoder thread received EOF [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] [enc:pcm_s16le @ 0x7fffcd010cc0] Could not open encoder before EOF [out#1/wav @ 0x7fffcd01b480] All streams finished [out#1/wav @ 0x7fffcd01b480] Terminating thread with return code 0 (success) [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] Task finished with error code: -22 (Invalid argument) [aost#2:0/pcm_s16le @ 0x7fffcd0101c0] Terminating thread with return code -22 (Invalid argument) [aost#1:0/pcm_s16le @ 0x7fffcd00dcc0] Terminating thread with return code 0 (success) [fc#0 @ 0x7fffcd009740] Filtering thread received EOF [fc#0 @ 0x7fffcd009740] Terminating thread with return code 0 (success) [aost#3:0/pcm_s16le @ 0x7fffcd012940] [enc:pcm_s16le @ 0x7fffcd013540] Encoder thread received EOF [aost#3:0/pcm_s16le @ 0x7fffcd012940] Terminating thread with return code 0 (success) [out#3/wav @ 0x7fffcd011c40] All streams finished [out#3/wav @ 0x7fffcd011c40] Terminating thread with return code 0 (success) [AVIOContext @ 0x7fffcd01b9c0] Statistics: 88278 bytes written, 0 seeks, 1 writeouts [out#0/wav @ 0x7fffcd01bb40] Output file #0 (out01.wav): [out#0/wav @ 0x7fffcd01bb40] Output stream #0:0 (audio): 44 frames encoded (44100 samples); 44 packets muxed (88200 bytes); [out#0/wav @ 0x7fffcd01bb40] Total: 44 packets (88200 bytes) muxed [out#0/wav @ 0x7fffcd01bb40] video:0KiB audio:86KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.088435% [AVIOContext @ 0x7fffcd00f340] Statistics: 88278 bytes written, 0 seeks, 1 writeouts [out#1/wav @ 0x7fffcd01b480] Output file #1 (out02.wav): [out#1/wav @ 0x7fffcd01b480] Output stream #1:0 (audio): 43 frames encoded (44100 samples); 43 packets muxed (88200 bytes); [out#1/wav @ 0x7fffcd01b480] Total: 43 packets (88200 bytes) muxed [out#1/wav @ 0x7fffcd01b480] video:0KiB audio:86KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.088435% [out#2/wav @ 0x7fffcd00f540] Nothing was written into output file, because at least one of its streams received no packets. [AVIOContext @ 0x7fffcd014240] Statistics: 38718 bytes written, 0 seeks, 1 writeouts [out#3/wav @ 0x7fffcd011c40] Output file #3 (out04.wav): [out#3/wav @ 0x7fffcd011c40] Output stream #3:0 (audio): 19 frames encoded (19320 samples); 19 packets muxed (38640 bytes); [out#3/wav @ 0x7fffcd011c40] Total: 19 packets (38640 bytes) muxed [out#3/wav @ 0x7fffcd011c40] video:0KiB audio:38KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.201863% size= 86KiB time=N/A bitrate=N/A speed=N/A [AVIOContext @ 0x7fffcd011a40] Statistics: 0 bytes written, 0 seeks, 0 writeouts Conversion failed!