Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (34)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (7519)

  • ffmpeg pipe webcam stream input to two outputs image and video with audio included

    23 septembre 2017, par Arianna Gomez Vargas

    I have the next command :

    sudo ffmpeg -ar 44100 -ac 2 -f alsa -i hw:1,0 -f v4l2 -codec:v h264       -codec:a aac -ab 128k -framerate 30 -video_size hd720 -itsoffset 0.5 -i /dev/video0 -vf fps=1 snapsh%d.png -f mpeg -b:v 5000k -copyinkf -codec:v copy -codec:a aac -ab 128k -g 10 - | sudo ffmpeg -y -i - out.mp4

    and the objetive it is record audio and video simultaneously, and pipe the output to be capable to take screnshots of the output video. I’m using a logitech webcam, raspberry pi 3, the last version of ffmpeg with h264 and alsa support.

    But it is not working for me :(, I think that the problem it is enconding the audio stream, but I can find a solution yet.
    Someone have any suggest ? Thanks

    This is the output

    ffmpeg version N-86204-g8794cfb Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 4.9.2 (Raspbian 4.9.2-10)
    configuration: --enable-nonfree --enable-gpl --enable-libx264 --enable-libfdk-aac
    libavutil 55. 63.100 / 55. 63.100
    libavcodec 57. 96.101 / 57. 96.101
    libavformat 57. 72.101 / 57. 72.101
    libavdevice 57. 7.100 / 57. 7.100
    libavfilter 6. 90.100 / 6. 90.100
    libswscale 4. 7.101 / 4. 7.101
    libswresample 2. 8.100 / 2. 8.100
    libpostproc 54. 6.100 / 54. 6.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, alsa, from 'hw:1,0':
    Duration: N/A, start: 1506129856.832380, bitrate: 1024 kb/s
    Stream #0:0: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Input #1, video4linux2,v4l2, from '/dev/video0':
    Duration: N/A, start: 1821.745623, bitrate: N/A
    Stream #1:0: Video: h264 (Constrained Baseline), yuvj420p(pc, progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1000k tbn, 60 tbc
    Stream mapping:
    Stream #1:0 -> #0:0 (h264 (native) -> png (native))
    Stream #1:0 -> #1:0 (copy)
    Stream #0:0 -> #1:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    [video4linux2,v4l2 @ 0x23a2710] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    [swscaler @ 0x25d4f40] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0x25d4f40] No accelerated colorspace conversion found from yuv420p to rgb24.
    Output #0, image2, to '/home/pi/proyecto-aula-master/Videos/snapsh%d.png':
    Metadata:
    encoder : Lavf57.72.101
    Stream #0:0: Video: png, rgb24, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc
    Metadata:
    encoder : Lavc57.96.101 png
    [alsa @ 0x23904f0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    [mpeg @ 0x23a48d0] VBV buffer size not set, using default size of 130KB
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    Output #1, mpeg, to 'pipe:':
    Metadata:
    encoder : Lavf57.72.101
    Stream #1:0: Video: h264 (Constrained Baseline), yuvj420p(pc, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 5000 kb/s, 30 fps, 30 tbr, 90k tbn, 30 tbc
    Stream #1:1: Audio: aac (LC), 32000 Hz, stereo, fltp, 128 kb/s
    Metadata:
    encoder : Lavc57.96.101 aac
    [mpeg @ 0x23a48d0] Non-monotonous DTS in output stream 1:0; previous: 45000, current: 29998; changing to 45001. This may result in incorrect timestamps in the output file.
    [mpeg @ 0x23a48d0] Non-monotonous DTS in output stream 1:0; previous: 45001, current: 32879; changing to 45002. This may result in incorrect timestamps in the output file.
    [mpeg @ 0x23a48d0] Non-monotonous DTS in output stream 1:0; previous: 45002, current: 35759; changing to 45003. This may result in incorrect timestamps in the output file.
    [mpeg @ 0x23a48d0] Non-monotonous DTS in output stream 1:0; previous: 45003, current: 38999; changing to 45004. This may result in incorrect timestamps in the output file.
    [mpeg @ 0x23a48d0] Non-monotonous DTS in output stream 1:0; previous: 45004, current: 41880; changing to 45005. This may result in incorrect timestamps in the output file.
    [mpeg @ 0x23a48d0] Non-monotonous DTS in output stream 1:0; previous: 45005, current: 44759; changing to 45006. This may result in incorrect timestamps in the output file.
    frame= 0 fps=0.0 q=0.0 q=-1.0 size=N/A time=00:00:01.09 bitrate=N/A speed=2.0frame= 2 fps=1.8 q=0.0 q=-1.0 size=N/A time=00:00:01.76 bitrate=N/A dup=1 dro[alsa @ 0x23904f0] ALSA buffer xrun.
    frame= 3 fps=1.8 q=-0.0 q=-1.0 size=N/A time=00:00:02.19 bitrate=N/A dup=1 drframe= 3 fps=1.4 q=-0.0 q=-1.0 size=N/A time=00:00:02.86 bitrate=N/A dup=1 drframe= 4 fps=1.5 q=-0.0 q=-1.0 size=N/A time=00:00:03.36 bitrate=N/A dup=1 drframe= 4 fps=1.3 q=-0.0 q=-1.0 size=N/A time=00:00:03.86 bitrate=N/A dup=1 drframe= 5 fps=1.4 q=-0.0 q=-1.0 size=N/A time=00:00:04.36 bitrate=N/A dup=1 drframe= 5 fps=1.2 q=-0.0 q=-1.0 size=N/A time=00:00:04.86 bitrate=N/A dup=1 dr[alsa @ 0x23904f0] ALSA buffer xrun.
    [mp2 @ 0x262b660] Header missing
    frame= 6 fps=1.2 q=-0.0 q=-1.0 size=N/A time=00:00:05.38 bitrate=N/A dup=1 drframe= 7 fps=1.3 q=-0.0 q=-1.0 size=N/A time=00:00:06.16 bitrate=N/A dup=1 drframe= 7 fps=1.2 q=-0.0 q=-1.0 size=N/A time=00:00:06.79 bitrate=N/A dup=1 drframe= 8 fps=1.2 q=-0.0 q=-1.0 size=N/A time=00:00:07.29 bitrate=N/A dup=1 drframe= 8 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:07.79 bitrate=N/A dup=1 dr[alsa @ 0x23904f0] ALSA buffer xrun.
    frame= 9 fps=1.2 q=-0.0 q=-1.0 size=N/A time=00:00:08.16 bitrate=N/A dup=1 dr[mpeg @ 0x262a1c0] DTS discontinuity in stream 1: packet 6 with DTS 92886, packet 7 with DTS 95880
    frame= 9 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:08.38 bitrate=N/A dup=1 drframe= 10 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:09.19 bitrate=N/A dup=1 drframe= 10 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:09.96 bitrate=N/A dup=1 drframe= 11 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:10.39 bitrate=N/A dup=1 drframe= 11 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:10.96 bitrate=N/A dup=1 dr[alsa @ 0x23904f0] ALSA buffer xrun.
    frame= 12 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:11.40 bitrate=N/A dup=1 drframe= 12 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:12.06 bitrate=N/A dup=1 drframe= 13 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:12.56 bitrate=N/A dup=1 drframe= 13 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:13.06 bitrate=N/A dup=1 drframe= 14 fps=1.1 q=-0.0 q=-1.0 size=N/A time=00:00:13.56 bitrate=N/A dup=1 drframe= 14 fps=1.0 q=-0.0 q=-1.0 size=N/A time=00:00:14.06 bitrate=N/A dup=1 dr[alsa @ 0x23904f0] ALSA buffer xrun.
    [mpeg @ 0x262a1c0] decoding for stream 0 failed
    [mpeg @ 0x262a1c0] Could not find codec parameters for stream 0 (Audio: mp2, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpeg, from 'pipe:':
    Duration: N/A, start: 0.500000, bitrate: N/A
    Stream #0:0[0x1c0]: Audio: mp2, 0 channels, s16p
    Stream #0:1[0x1e2]: Video: h264 (Constrained Baseline), yuvj420p(pc, progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
    Stream mapping:
    Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:0 -> #0:1 (mp2 (native) -> aac (native))
    [mp2 @ 0x262cde0] Header missing
    Error while decoding stream #0:0: Invalid data found when processing input
    No pixel format specified, yuvj420p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x26417d0] using SAR=1/1
    [libx264 @ 0x26417d0] using cpu capabilities: ARMv6 NEON
    [libx264 @ 0x26417d0] profile High, level 3.1
    [libx264 @ 0x26417d0] 264 - core 150 r2833 df79067 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    frame= 19 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 36 fps= 34 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 47 fps=9.5 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 52 fps=9.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 56 fps=9.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 60 fps=8.8 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 64 fps=8.6 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 69 fps=7.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 71 fps=7.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 73 fps=6.9 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 76 fps=6.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 80 fps=6.3 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 82 fps=5.8 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 85 fps=5.8 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 87 fps=5.7 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 89 fps=5.4 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 90 fps=5.3 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 93 fps=5.3 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 95 fps=5.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 97 fps=5.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 99 fps=5.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 102 fps=5.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 103 fps=4.9 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 105 fps=4.7 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 108 fps=4.7 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 110 fps=4.7 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 112 fps=4.6 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 114 fps=4.5 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 117 fps=4.5 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 120 fps=4.5 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 122 fps=4.4 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 123 fps=4.4 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 126 fps=4.3 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 128 fps=4.3 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 130 fps=4.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 132 fps=4.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 135 fps=4.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 138 fps=4.2 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbToo many packets buffered for output stream 0:0.
    [libx264 @ 0x26417d0] frame I:1 Avg QP:16.64 size: 29761
    [libx264 @ 0x26417d0] frame P:36 Avg QP:21.71 size: 9196
    [libx264 @ 0x26417d0] frame B:92 Avg QP:24.13 size: 4641
    [libx264 @ 0x26417d0] consecutive B-frames: 0.8% 0.0% 32.1% 67.2%
    [libx264 @ 0x26417d0] mb I I16..4: 24.3% 49.7% 25.9%
    [libx264 @ 0x26417d0] mb P I16..4: 11.2% 10.0% 0.2% P16..4: 41.0% 6.2% 3.7% 0.0% 0.0% skip:27.7%
    [libx264 @ 0x26417d0] mb B I16..4: 5.0% 5.5% 0.0% B16..8: 40.1% 3.0% 0.2% direct: 1.6% skip:44.6% L0:59.9% L1:38.4% BI: 1.7%
    [libx264 @ 0x26417d0] 8x8 transform intra:49.7% inter:79.4%
    [libx264 @ 0x26417d0] coded y,uvDC,uvAC intra: 10.0% 13.9% 0.3% inter: 8.6% 11.3% 0.0%
    [libx264 @ 0x26417d0] i16 v,h,dc,p: 43% 24% 16% 16%
    [libx264 @ 0x26417d0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 18% 36% 1% 0% 0% 1% 0% 1%
    [libx264 @ 0x26417d0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 50% 19% 16% 3% 2% 2% 3% 3% 3%
    [libx264 @ 0x26417d0] i8c dc,h,v,p: 70% 14% 16% 0%
    [libx264 @ 0x26417d0] Weighted P-Frames: Y:2.8% UV:0.0%
    [libx264 @ 0x26417d0] ref P L0: 39.8% 7.3% 42.5% 10.4% 0.0%
    [libx264 @ 0x26417d0] ref B L0: 44.7% 41.0% 14.2%
    [libx264 @ 0x26417d0] ref B L1: 70.0% 30.0%
    [libx264 @ 0x26417d0] kb/s:1465.58
    Exiting normally, received signal 2.
  • To concatenate more than two video using FFMPEG

    21 décembre 2018, par Alok Kumar Verma

    I’ve been working on FFMPEG, this is indeed not an easy task since I’ve succeeded in doing some work. I’m done with concatenating two videos using ffmpeg but somehow when it comes to more than two it does not work. So I’m finding out some command to do my task.

    The thing I did is to merge two videos are :

    String complexCommand[] = {"-y", "-i", "/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4", "-i", "/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4", "-strict", "experimental", "-filter_complex",
                "[0:v]scale=1920x1080,setsar=1:1[v0];[1:v] scale=iw*min(1920/iw\\,1080/ih):ih*min(1920/iw\\,1080/ih), pad=1920:1080:(1920-iw*min(1920/iw\\,1080/ih))/2:(1080-ih*min(1920/iw\\,1080/ih))/2,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1",
                "-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "1920x1080", "-vcodec", "libx264","-crf","27","-q","4","-preset", "ultrafast", savingPath};

    The above is working fine for two videos. I’ve tried altering my code for three videos but it does not work.

    What I’ve done in the above code is :

    • Added one more input after the second one
    • Changed the concat=3:v=1:a=1

    But it does not merge and gave me this error in my LogCat :

    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
                                                          built with gcc 4.8 (GCC)
                                                          configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                          libavutil      55. 17.103 / 55. 17.103
                                                          libavcodec     57. 24.102 / 57. 24.102
                                                          libavformat    57. 25.100 / 57. 25.100
                                                          libavdevice    57.  0.101 / 57.  0.101
                                                          libavfilter     6. 31.100 /  6. 31.100
                                                          libswscale      4.  0.100 /  4.  0.100
                                                          libswresample   2.  0.101 /  2.  0.101
                                                          libpostproc    54.  0.100 / 54.  0.100
                                                        Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4':
                                                          Metadata:
                                                            major_brand     : isom
                                                            minor_version   : 512
                                                            compatible_brands: isomiso2avc1mp41
                                                            encoder         : Lavf57.25.100
                                                          Duration: 00:02:47.09, start: 0.000000, bitrate: 245 kb/s
                                                            Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 112 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
                                                            Metadata:
                                                              handler_name    : VideoHandler
                                                            Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
                                                            Metadata:
                                                              handler_name    : SoundHandler
                                                        Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4':
                                                          Metadata:
                                                            major_brand     : mp42
                                                            minor_version   : 0
                                                            compatible_brands: isommp42
                                                            creation_time   : 2013-12-15 13:11:41
                                                          Duration: 00:03:51.08, start: 0.000000, bitrate: 1693 kb/s
                                                            Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1498 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
                                                            Metadata:
                                                              handler_name    : VideoHandler
                                                            Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
                                                            Metadata:
                                                              creation_time   : 2013-12-15 13:11:41
                                                              handler_name    : IsoMedia File Produced by Google, 5-11-2011
                                                        Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4':
                                                          Metadata:
                                                            major_brand     : isom
                                                            minor_version   : 0
                                                            compatible_brands: isom3gp4
                                                            creation_time   : 2015-05-30 02:06:06
                                                          Duration: 00:04:48.48, start: 0.000000, bitrate: 3608 kb/s
                                                            Stream #2:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 3478 kb/s, 30.28 fps, 30 tbr, 90k tbn, 180k tbc (default)
                                                            Metadata:
                                                              creation_time   : 2015-05-30 02:06:06
                                                              handler_name    : VideoHandle
                                                              encoder         :                                
                                                            Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 125 kb/s (default)
                                                            Metadata:
                                                              creation_time   : 2015-05-30 02:06:06
                                                              handler_name    : SoundHandle
                                                        [Parsed_setsar_1 @ 0xa9ea9220] num:den syntax is deprecated, please use num/den or named options instead
                                                        [Parsed_setsar_4 @ 0xa9ea9310] num:den syntax is deprecated, please use num/den or named options instead
                                                        [Parsed_setsar_1 @ 0xa9ea92c0] num:den syntax is deprecated, please use num/den or named options instead
                                                        [Parsed_setsar_4 @ 0xa9ea93b0] num:den syntax is deprecated, please us

    I’ve tried one more command which works fine for concatenating two videos but still it does not work for more than two videos :

    String complexCommand[] = {"-y", "-i", "/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4", "-i", "/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4", "-i", "/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4", "-strict", "experimental", "-filter_complex",
               "[0:v]scale=480x640,setsar=1:1[v0];[1:v]scale=480x640,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=3:v=1:a=1",
               "-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "480x640", "-vcodec", "libx264","-crf","27","-q","4","-preset", "ultrafast", savingPath};

    You can clearly see in the above code that I’ve tried using this for the three videos but still no luck. Will appreciate your help. Thanks.

    EDITS

    After following the LordNeckbeard’s suggestion from the comment section, I’ve used his suggestion in my code but after doing that still no luck however the console’s output got changed and here is the command which I used :

    String complexCommand[] = {"-y", "-i", "/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4", "-i", "/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4", "-i", "/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4", "-strict", "experimental", "-filter_complex",
               "[0:v]scale=480x640,setsar=1[v0];[1:v]scale=480x640,setsar=1[v1];[v0][0:a][v1][1:a] concat=n=3:v=1:a=1",
               "-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "480x640", "-vcodec", "libx264","-crf","27","-preset", "ultrafast", savingPath};

    Here you can clearly see that I’ve used setsar=1 and used -crf only.

    And the logs are :

    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
                                                            built with gcc 4.8 (GCC)
                                                            configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                            libavutil      55. 17.103 / 55. 17.103
                                                            libavcodec     57. 24.102 / 57. 24.102
                                                            libavformat    57. 25.100 / 57. 25.100
                                                            libavdevice    57.  0.101 / 57.  0.101
                                                            libavfilter     6. 31.100 /  6. 31.100
                                                            libswscale      4.  0.100 /  4.  0.100
                                                            libswresample   2.  0.101 /  2.  0.101
                                                            libpostproc    54.  0.100 / 54.  0.100
                                                          Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/VID-20161221-WA0000.mp4':
                                                            Metadata:
                                                              major_brand     : isom
                                                              minor_version   : 512
                                                              compatible_brands: isomiso2avc1mp41
                                                              encoder         : Lavf57.25.100
                                                            Duration: 00:02:47.09, start: 0.000000, bitrate: 245 kb/s
                                                              Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 112 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
                                                              Metadata:
                                                                handler_name    : VideoHandler
                                                              Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
                                                              Metadata:
                                                                handler_name    : SoundHandler
                                                          Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/Videos/Brodha V - Aathma Raama [Music Video]_HD.mp4':
                                                            Metadata:
                                                              major_brand     : mp42
                                                              minor_version   : 0
                                                              compatible_brands: isommp42
                                                              creation_time   : 2013-12-15 13:11:41
                                                            Duration: 00:03:51.08, start: 0.000000, bitrate: 1693 kb/s
                                                              Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1498 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
                                                              Metadata:
                                                                handler_name    : VideoHandler
                                                              Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
                                                              Metadata:
                                                                creation_time   : 2013-12-15 13:11:41
                                                                handler_name    : IsoMedia File Produced by Google, 5-11-2011
                                                          Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/m_external_sd/DCIM/Sinha's POP/20150530_073113.mp4':
                                                            Metadata:
                                                              major_brand     : isom
                                                              minor_version   : 0
                                                              compatible_brands: isom3gp4
                                                              creation_time   : 2015-05-30 02:06:06
                                                            Duration: 00:04:48.48, start: 0.000000, bitrate: 3608 kb/s
                                                              Stream #2:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 3478 kb/s, 30.28 fps, 30 tbr, 90k tbn, 180k tbc (default)
                                                              Metadata:
                                                                creation_time   : 2015-05-30 02:06:06
                                                                handler_name    : VideoHandle
                                                                encoder         :                                
                                                              Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 125 kb/s (default)
                                                              Metadata:
                                                                creation_time   : 2015-05-30 02:06:06
                                                                handler_name    : SoundHandle
                                                          [Parsed_concat_4 @ 0xa7ea91d0] Input link in2:v0 parameters (size 720x480, SAR 0:1) do not match the corresponding output link in0:v0 parameters (480x640, SAR 1:1)
                                                          [Parsed_concat_4 @ 0xa7ea91d0] Failed to configure output pad on Parsed_concat_4
                                                          Error configuring complex filters.
                                                          Invalid argument

    NOTE : I have tried using setsar=1/1 but still got the same result.

  • Rematrix is needed between 10 channels and mono but there is not enough information to do it

    8 octobre 2017, par siriele

    I’ve been fighting for a number of days now trying to get FFmpeg working with combining several audio files at specific times into one file. So my idea was to generate silence up to the time i want to play a sound.Then merge the audio together with a filter. The below code works when I have five or less files, but seems to fall apart. What I’m trying

    ffmpeg \
       -i "tutorial_bass/C-maj/TutorialBassJR.wav" \
       -i "tutorial_drums/TutorialDrumsJR.wav" \
       -i "tutorial_drums/TutorialDrumsTU.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTU.wav" \
       -i "tutorial_drums/TutorialDrumsTU.wav" \
       -i "tutorial_drums/TutorialDrumsTD.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTD.wav" \
       -i "tutorial_drums/TutorialDrumsTD.wav" \
       -i "tutorial_drums/TutorialDrumsTR.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTR.wav" \
       -i "tutorial_drums/TutorialDrumsTR.wav" \
       -i "tutorial_drums/TutorialDrumsWL.wav" \
       -i "tutorial_bass/C-maj/TutorialBassWL.wav" \
       -i "tutorial_drums/TutorialDrumsWL.wav" \
       -i "tutorial_drums/TutorialDrumsWU.wav" \
       -i "tutorial_bass/C-maj/TutorialBassWU.wav" \
       -i "tutorial_drums/TutorialDrumsWU.wav" \
       -i "tutorial_drums/TutorialDrumsWD.wav" \
       -i "tutorial_bass/C-maj/TutorialBassWD.wav" \
       -i "tutorial_drums/TutorialDrumsWD.wav" \
       -i "tutorial_drums/TutorialDrumsJL.wav" \
       -i "tutorial_bass/C-maj/TutorialBassJL.wav" \
       -i "tutorial_drums/TutorialDrumsJL.wav" \
       -i "tutorial_drums/TutorialDrumsJR.wav" \
       -i "tutorial_bass/C-maj/TutorialBassJR.wav" \
       -i "tutorial_drums/TutorialDrumsJR.wav" \
       -i "tutorial_drums/TutorialDrumsJU.wav" \
       -i "tutorial_bass/C-maj/TutorialBassJU.wav" \
       -i "tutorial_drums/TutorialDrumsJU.wav" \
       -i "tutorial_drums/TutorialDrumsJD.wav" \
       -i "tutorial_bass/C-maj/TutorialBassJD.wav" \
       -i "tutorial_drums/TutorialDrumsJD.wav" \
       -i "tutorial_drums/TutorialDrumsTL.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTL.wav" \
       -i "tutorial_drums/TutorialDrumsTL.wav" \
       -i "tutorial_drums/TutorialDrumsTR.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTR.wav" \
       -i "tutorial_drums/TutorialDrumsTR.wav" \
       -i "tutorial_drums/TutorialDrumsTU.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTU.wav" \
       -i "tutorial_drums/TutorialDrumsTU.wav" \
       -i "tutorial_drums/TutorialDrumsTD.wav" \
       -i "tutorial_bass/C-maj/TutorialBassTD.wav" \
       -i "tutorial_drums/TutorialDrumsTD.wav" \
       -filter_complex "\
       aevalsrc=0:d=3.0  [d0];\
       aevalsrc=0:d=3.0  [d1];\
       aevalsrc=0:d=4.5  [d2];\
       aevalsrc=0:d=4.5  [d3];\
       aevalsrc=0:d=4.5  [d4];\
       aevalsrc=0:d=6.0  [d5];\
       aevalsrc=0:d=6.0  [d6];\
       aevalsrc=0:d=6.0  [d7];\
       aevalsrc=0:d=7.5  [d8];\
       aevalsrc=0:d=7.5  [d9];\
       aevalsrc=0:d=7.5  [d10];\
       aevalsrc=0:d=9.0  [d11];\
       aevalsrc=0:d=9.0  [d12];\
       aevalsrc=0:d=9.0  [d13];\
       aevalsrc=0:d=10.5 [d14];\
       aevalsrc=0:d=10.5 [d15];\
       aevalsrc=0:d=10.5 [d16];\
       aevalsrc=0:d=12.0 [d17];\
       aevalsrc=0:d=12.0 [d18];\
       aevalsrc=0:d=12.0 [d19];\
       aevalsrc=0:d=13.5 [d20];\
       aevalsrc=0:d=13.5 [d21];\
       aevalsrc=0:d=13.5 [d22];\
       aevalsrc=0:d=15.0 [d23];\
       aevalsrc=0:d=15.0 [d24];\
       aevalsrc=0:d=15.0 [d25];\
       aevalsrc=0:d=16.5 [d26];\
       aevalsrc=0:d=16.5 [d27];\
       aevalsrc=0:d=16.5 [d28];\
       aevalsrc=0:d=18.0 [d29];\
       aevalsrc=0:d=18.0 [d30];\
       aevalsrc=0:d=18.0 [d31];\
       aevalsrc=0:d=19.5 [d32];\
       aevalsrc=0:d=19.5 [d33];\
       aevalsrc=0:d=19.5 [d34];\
       aevalsrc=0:d=21.0 [d35];\
       aevalsrc=0:d=21.0 [d36];\
       aevalsrc=0:d=21.0 [d37];\
       aevalsrc=0:d=22.5 [d38];\
       aevalsrc=0:d=22.5 [d39];\
       aevalsrc=0:d=22.5 [d40];\
       aevalsrc=0:d=24.0 [d41];\
       aevalsrc=0:d=24.0 [d42];\
       aevalsrc=0:d=24.0 [d43];\
       [d0][0:a]concat=n=2:v=0:a=1   [a0];\
       [d1][1:a]concat=n=2:v=0:a=1   [a1];\
       [d2][2:a]concat=n=2:v=0:a=1   [a2];\
       [d3][3:a]concat=n=2:v=0:a=1   [a3];\
       [d4][4:a]concat=n=2:v=0:a=1   [a4];\
       [d5][5:a]concat=n=2:v=0:a=1   [a5];\
       [d6][6:a]concat=n=2:v=0:a=1   [a6];\
       [d7][7:a]concat=n=2:v=0:a=1   [a7];\
       [d8][8:a]concat=n=2:v=0:a=1   [a8];\
       [d9][9:a]concat=n=2:v=0:a=1   [a9];\
       [d10][10:a]concat=n=2:v=0:a=1 [a10];\
       [d11][11:a]concat=n=2:v=0:a=1 [a11];\
       [d12][12:a]concat=n=2:v=0:a=1 [a12];\
       [d13][13:a]concat=n=2:v=0:a=1 [a13];\
       [d14][14:a]concat=n=2:v=0:a=1 [a14];\
       [d15][15:a]concat=n=2:v=0:a=1 [a15];\
       [d16][16:a]concat=n=2:v=0:a=1 [a16];\
       [d17][17:a]concat=n=2:v=0:a=1 [a17];\
       [d18][18:a]concat=n=2:v=0:a=1 [a18];\
       [d19][19:a]concat=n=2:v=0:a=1 [a19];\
       [d20][20:a]concat=n=2:v=0:a=1 [a20];\
       [d21][21:a]concat=n=2:v=0:a=1 [a21];\
       [d22][22:a]concat=n=2:v=0:a=1 [a22];\
       [d23][23:a]concat=n=2:v=0:a=1 [a23];\
       [d24][24:a]concat=n=2:v=0:a=1 [a24];\
       [d25][25:a]concat=n=2:v=0:a=1 [a25];\
       [d26][26:a]concat=n=2:v=0:a=1 [a26];\
       [d27][27:a]concat=n=2:v=0:a=1 [a27];\
       [d28][28:a]concat=n=2:v=0:a=1 [a28];\
       [d29][29:a]concat=n=2:v=0:a=1 [a29];\
       [d30][30:a]concat=n=2:v=0:a=1 [a30];\
       [d31][31:a]concat=n=2:v=0:a=1 [a31];\
       [d32][32:a]concat=n=2:v=0:a=1 [a32];\
       [d33][33:a]concat=n=2:v=0:a=1 [a33];\
       [d34][34:a]concat=n=2:v=0:a=1 [a34];\
       [d35][35:a]concat=n=2:v=0:a=1 [a35];\
       [d36][36:a]concat=n=2:v=0:a=1 [a36];\
       [d37][37:a]concat=n=2:v=0:a=1 [a37];\
       [d38][38:a]concat=n=2:v=0:a=1 [a38];\
       [d39][39:a]concat=n=2:v=0:a=1 [a39];\
       [d40][40:a]concat=n=2:v=0:a=1 [a40];\
       [d41][41:a]concat=n=2:v=0:a=1 [a41];\
       [d42][42:a]concat=n=2:v=0:a=1 [a42];\
       [d43][43:a]concat=n=2:v=0:a=1 [a43];\
       [a0][a1][a2][a3][a4][a5][a6][a7][a8][a9][a10][a11][a12][a13][a14][a15][a16][a17][a18][a19]amix=inputs=20:duration=longest [a0-a19];\
       [a20][a21][a22][a23][a24][a25][a26][a27][a28][a29][a30][a31][a32][a33][a34][a35][a36][a37][a38][a39]amix=inputs=20:duration=longest [a20-a39];\
       [a40][a41][a42][a43]amix=inputs=4:duration=longest [a40-a43];
       [a0-a19][a20-a39][a40-a43]amix=inputs=3:duration=longest"  -codec:a libmp3lame output.mp3

    When I run this command I get :

    ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 8.1.0 (clang-802.0.42)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.2.0/include/openjpeg-2.2 --enable-nonfree --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, wav, from 'tutorial_bass/C-maj/TutorialBassJR.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, wav, from 'tutorial_drums/TutorialDrumsJR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #1:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #2.0 : stereo
    Input #2, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #2:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #3.0 : stereo
    Input #3, wav, from 'tutorial_bass/C-maj/TutorialBassTU.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #3:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #4.0 : stereo
    Input #4, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #4:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Input #5, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
     Duration: 00:00:04.50, bitrate: 14112 kb/s
       Stream #5:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
    Guessed Channel Layout for Input Stream #6.0 : stereo
    Input #6, wav, from 'tutorial_bass/C-maj/TutorialBassTD.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #6:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Input #7, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
     Duration: 00:00:04.50, bitrate: 14112 kb/s
       Stream #7:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
    Guessed Channel Layout for Input Stream #8.0 : stereo
    Input #8, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #8:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #9.0 : stereo
    Input #9, wav, from 'tutorial_bass/C-maj/TutorialBassTR.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #9:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #10.0 : stereo
    Input #10, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #10:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #11.0 : stereo
    Input #11, wav, from 'tutorial_drums/TutorialDrumsWL.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #11:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #12.0 : stereo
    Input #12, wav, from 'tutorial_bass/C-maj/TutorialBassWL.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #12:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #13.0 : stereo
    Input #13, wav, from 'tutorial_drums/TutorialDrumsWL.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #13:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #14.0 : stereo
    Input #14, wav, from 'tutorial_drums/TutorialDrumsWU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #14:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #15.0 : stereo
    Input #15, wav, from 'tutorial_bass/C-maj/TutorialBassWU.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #15:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #16.0 : stereo
    Input #16, wav, from 'tutorial_drums/TutorialDrumsWU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #16:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #17.0 : stereo
    Input #17, wav, from 'tutorial_drums/TutorialDrumsWD.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #17:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #18.0 : stereo
    Input #18, wav, from 'tutorial_bass/C-maj/TutorialBassWD.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #18:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #19.0 : stereo
    Input #19, wav, from 'tutorial_drums/TutorialDrumsWD.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #19:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #20.0 : stereo
    Input #20, wav, from 'tutorial_drums/TutorialDrumsJL.wav':
     Duration: 00:00:00.75, bitrate: 33869 kb/s
       Stream #20:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #21.0 : stereo
    Input #21, wav, from 'tutorial_bass/C-maj/TutorialBassJL.wav':
     Duration: 00:00:01.51, bitrate: 2822 kb/s
       Stream #21:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #22.0 : stereo
    Input #22, wav, from 'tutorial_drums/TutorialDrumsJL.wav':
     Duration: 00:00:00.75, bitrate: 33869 kb/s
       Stream #22:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #23.0 : stereo
    Input #23, wav, from 'tutorial_drums/TutorialDrumsJR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #23:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #24.0 : stereo
    Input #24, wav, from 'tutorial_bass/C-maj/TutorialBassJR.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #24:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #25.0 : stereo
    Input #25, wav, from 'tutorial_drums/TutorialDrumsJR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #25:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #26.0 : stereo
    Input #26, wav, from 'tutorial_drums/TutorialDrumsJU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #26:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #27.0 : stereo
    Input #27, wav, from 'tutorial_bass/C-maj/TutorialBassJU.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #27:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #28.0 : stereo
    Input #28, wav, from 'tutorial_drums/TutorialDrumsJU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #28:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #29.0 : stereo
    Input #29, wav, from 'tutorial_drums/TutorialDrumsJD.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #29:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #30.0 : stereo
    Input #30, wav, from 'tutorial_bass/C-maj/TutorialBassJD.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #30:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #31.0 : stereo
    Input #31, wav, from 'tutorial_drums/TutorialDrumsJD.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #31:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #32.0 : stereo
    Input #32, wav, from 'tutorial_drums/TutorialDrumsTL.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #32:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #33.0 : stereo
    Input #33, wav, from 'tutorial_bass/C-maj/TutorialBassTL.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #33:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #34.0 : stereo
    Input #34, wav, from 'tutorial_drums/TutorialDrumsTL.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #34:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #35.0 : stereo
    Input #35, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #35:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #36.0 : stereo
    Input #36, wav, from 'tutorial_bass/C-maj/TutorialBassTR.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #36:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #37.0 : stereo
    Input #37, wav, from 'tutorial_drums/TutorialDrumsTR.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #37:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #38.0 : stereo
    Input #38, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #38:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #39.0 : stereo
    Input #39, wav, from 'tutorial_bass/C-maj/TutorialBassTU.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #39:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Guessed Channel Layout for Input Stream #40.0 : stereo
    Input #40, wav, from 'tutorial_drums/TutorialDrumsTU.wav':
     Duration: 00:00:00.75, bitrate: 2822 kb/s
       Stream #40:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Input #41, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
     Duration: 00:00:04.50, bitrate: 14112 kb/s
       Stream #41:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
    Guessed Channel Layout for Input Stream #42.0 : stereo
    Input #42, wav, from 'tutorial_bass/C-maj/TutorialBassTD.wav':
     Duration: 00:00:01.50, bitrate: 2822 kb/s
       Stream #42:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
    Input #43, wav, from 'tutorial_drums/TutorialDrumsTD.wav':
     Duration: 00:00:04.50, bitrate: 14112 kb/s
       Stream #43:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, 10 channels, flt, 14112 kb/s
    File 'output.mp3' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:0 (pcm_f32le) -> concat:in1:a0
     Stream #1:0 (pcm_f32le) -> concat:in1:a0
     Stream #2:0 (pcm_f32le) -> concat:in1:a0
     Stream #3:0 (pcm_f32le) -> concat:in1:a0
     Stream #4:0 (pcm_f32le) -> concat:in1:a0
     Stream #5:0 (pcm_f32le) -> concat:in1:a0
     Stream #6:0 (pcm_f32le) -> concat:in1:a0
     Stream #7:0 (pcm_f32le) -> concat:in1:a0
     Stream #8:0 (pcm_f32le) -> concat:in1:a0
     Stream #9:0 (pcm_f32le) -> concat:in1:a0
     Stream #10:0 (pcm_f32le) -> concat:in1:a0
     Stream #11:0 (pcm_f32le) -> concat:in1:a0
     Stream #12:0 (pcm_f32le) -> concat:in1:a0
     Stream #13:0 (pcm_f32le) -> concat:in1:a0
     Stream #14:0 (pcm_f32le) -> concat:in1:a0
     Stream #15:0 (pcm_f32le) -> concat:in1:a0
     Stream #16:0 (pcm_f32le) -> concat:in1:a0
     Stream #17:0 (pcm_f32le) -> concat:in1:a0
     Stream #18:0 (pcm_f32le) -> concat:in1:a0
     Stream #19:0 (pcm_f32le) -> concat:in1:a0
     Stream #20:0 (pcm_f32le) -> concat:in1:a0
     Stream #21:0 (pcm_f32le) -> concat:in1:a0
     Stream #22:0 (pcm_f32le) -> concat:in1:a0
     Stream #23:0 (pcm_f32le) -> concat:in1:a0
     Stream #24:0 (pcm_f32le) -> concat:in1:a0
     Stream #25:0 (pcm_f32le) -> concat:in1:a0
     Stream #26:0 (pcm_f32le) -> concat:in1:a0
     Stream #27:0 (pcm_f32le) -> concat:in1:a0
     Stream #28:0 (pcm_f32le) -> concat:in1:a0
     Stream #29:0 (pcm_f32le) -> concat:in1:a0
     Stream #30:0 (pcm_f32le) -> concat:in1:a0
     Stream #31:0 (pcm_f32le) -> concat:in1:a0
     Stream #32:0 (pcm_f32le) -> concat:in1:a0
     Stream #33:0 (pcm_f32le) -> concat:in1:a0
     Stream #34:0 (pcm_f32le) -> concat:in1:a0
     Stream #35:0 (pcm_f32le) -> concat:in1:a0
     Stream #36:0 (pcm_f32le) -> concat:in1:a0
     Stream #37:0 (pcm_f32le) -> concat:in1:a0
     Stream #38:0 (pcm_f32le) -> concat:in1:a0
     Stream #39:0 (pcm_f32le) -> concat:in1:a0
     Stream #40:0 (pcm_f32le) -> concat:in1:a0
     Stream #41:0 (pcm_f32le) -> concat:in1:a0
     Stream #42:0 (pcm_f32le) -> concat:in1:a0
     Stream #43:0 (pcm_f32le) -> concat:in1:a0
     amix -> Stream #0:0 (libmp3lame)
    Press [q] to stop, [?] for help
    [auto_resampler_5 @ 0x7fdc19641e00] [SWR @ 0x7fdc1c286e00] Rematrix is needed between 10 channels and mono but there is not enough information to do it
    [auto_resampler_5 @ 0x7fdc19641e00] Failed to configure output pad on auto_resampler_5
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #43:0
    Conversion failed!

    Any ideas what I’m doing wrong or other approaches I could take to do this ?