Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (36)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5108)

  • How to convert mp4 file so that it can allow timeline drag in html5 video tag ?

    21 août 2019, par sgon00

    I generated a mp4 file by ffmpeg. And then correct the index by qt-faststart. But now, there is still one problem. In chrome browser, the video timeline can not be dragged. I tried another online video with the same video tag code. (for instance : http://www.w3schools.com/html/movie.mp4). The timeline dragging works fine. Can anyone please teach me how to enable timeine drag for this video ? How can I convert the mp4 file to make it right ? Thanks a lot.

    Updated :

    I kinda found the problem and fixed it. My debug http server is picky. So when I use nginx server, the mp4 video timeline can be draggable.

    But the weird part is the timeline of the movie.mp4 from w3schools.com works in my debug http server. So I don’t know the true cause, but changing to production http server solved the problem.

    • ffmpeg command and output :
    $ ffmpeg -i movie.mp4 -vf yadif=1:tff,zscale=w=320:h=240:f=spline36:r=full,unsharp=luma_msize_x=3:luma_msize_y=3:luma_amount=0.8,interlace notworking.mp4

    ffmpeg version N-93939-g819ed1df94-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
     built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
     configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
     libavutil      56. 28.100 / 56. 28.100
     libavcodec     58. 52.102 / 58. 52.102
     libavformat    58. 27.103 / 58. 27.103
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 54.101 /  7. 54.101
     libswscale      5.  4.101 /  5.  4.101
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       creation_time   : 2010-05-11T10:32:06.000000Z
       encoder         : HandBrake 0.9.4 2009112300
     Duration: 00:00:12.61, start: 0.000000, bitrate: 202 kb/s
       Chapter #0:0: start 0.000000, end 12.612000
       Metadata:
         title           :
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 320x240, 80 kb/s, 29.65 fps, 29.97 tbr, 90k tbn, 59.31 tbc (default)
       Metadata:
         creation_time   : 2010-05-11T10:32:06.000000Z
         encoder         : JVT/AVC Coding
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 115 kb/s (default)
       Metadata:
         creation_time   : 2010-05-11T10:32:06.000000Z
       Stream #0:2(und): Data: bin_data (text / 0x74786574), 0 kb/s
       Metadata:
         creation_time   : 2010-05-11T10:32:06.000000Z
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x7faa5400a800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x7faa5400a800] profile Progressive High, level 1.3, 4:2:0, 8-bit
    [libx264 @ 0x7faa5400a800] 264 - core 157 r2969 d4099dd - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - 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
    Output #0, mp4, to 'notworking.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       encoder         : Lavf58.27.103
       Chapter #0:0: start 0.000000, end 12.612000
       Metadata:
         title           :
       Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 320x240, q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
       Metadata:
         creation_time   : 2010-05-11T10:32:06.000000Z
         encoder         : Lavc58.52.102 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         creation_time   : 2010-05-11T10:32:06.000000Z
         encoder         : Lavc58.52.102 aac
    frame=  378 fps=229 q=-1.0 Lsize=     603kB time=00:00:12.60 bitrate= 391.5kbits/s dup=4 drop=0 speed=7.63x
    video:388kB audio:199kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.604359%
    [libx264 @ 0x7faa5400a800] frame I:2     Avg QP:22.49  size: 11066
    [libx264 @ 0x7faa5400a800] frame P:117   Avg QP:24.98  size:  2340
    [libx264 @ 0x7faa5400a800] frame B:259   Avg QP:29.82  size:   390
    [libx264 @ 0x7faa5400a800] consecutive B-frames:  3.7% 10.1% 14.3% 72.0%
    [libx264 @ 0x7faa5400a800] mb I  I16..4:  1.3% 47.0% 51.7%
    [libx264 @ 0x7faa5400a800] mb P  I16..4:  0.1%  1.7%  1.2%  P16..4: 49.5% 18.7% 10.5%  0.0%  0.0%    skip:18.3%
    [libx264 @ 0x7faa5400a800] mb B  I16..4:  0.0%  0.0%  0.1%  B16..8: 51.6%  5.8%  1.5%  direct: 0.9%  skip:40.1%  L0:52.8% L1:43.7% BI: 3.5%
    [libx264 @ 0x7faa5400a800] 8x8 transform intra:51.8% inter:50.8%
    [libx264 @ 0x7faa5400a800] coded y,uvDC,uvAC intra: 95.0% 53.2% 17.0% inter: 14.1% 3.7% 0.0%
    [libx264 @ 0x7faa5400a800] i16 v,h,dc,p:  8% 75%  2% 15%
    [libx264 @ 0x7faa5400a800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 42% 10%  5%  4%  3% 10%  4% 14%
    [libx264 @ 0x7faa5400a800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 36% 13%  5%  6%  5% 11%  4% 11%
    [libx264 @ 0x7faa5400a800] i8c dc,h,v,p: 62% 24%  9%  5%
    [libx264 @ 0x7faa5400a800] Weighted P-Frames: Y:0.9% UV:0.9%
    [libx264 @ 0x7faa5400a800] ref P L0: 72.8%  9.6% 15.4%  2.2%  0.0%
    [libx264 @ 0x7faa5400a800] ref B L0: 92.4%  7.1%  0.5%
    [libx264 @ 0x7faa5400a800] ref B L1: 97.7%  2.3%
    [libx264 @ 0x7faa5400a800] kb/s:251.81
    [aac @ 0x7faa5500b200] Qavg: 826.560
  • Why we get co located POCs unavailable while encoding a video using ffmpeg ?

    22 août 2019, par geo-freak

    I am trying to encode a video to m3u8 file. I am inserting blackframes when the video has no source in between. I used the following command to encode the video. I found the options in ffmpeg website to insert the filters and blackframes. But I am failing after making some changes as per stackoverflow and from other sources.

    ffmpeg -threads 8 -i input.ts -loop 1 -framerate 30000/1001 -i /usr/local/etc/tv-test-pattern-146649_1280.png -f lavfi -i anullsrc=channel_layout=5.1:sample_rate=48000 -filter_complex "[0:v]setpts=PTS-STARTPTS[v0]; [0:a]asetpts=PTS-STARTPTS[a0]; [v0]scale=320:240,setsar=1[v0-1]; [1:v]scale=320:240,setsar=1[v1]; [v0-1][a0][v1][2:a]insert=v=1:a=1[v][a]" -map [v] -map [a] -vcodec libx264 -r 30 -fsize 320x240 -b:v 512000 -maxrate 512000 -acodec libfdk_aac -b:a 32000 -ac 2 -ar 48000 -force_key_frames expr:gte'(t,n_forced*3)' -hls_flags single_file -hls_list_size 0 -hls_time 3 -fsize 400x222 -preset:v ultrafast -y output.m3u8

    ffmpeg version n4.1.1-5-gbf14903c01 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
     configuration: --prefix=/opt/ffmpeg --extra-version= --toolchain=hardened --libdir=/opt/ffmpeg/lib/x86_64-linux-gnu --incdir=/opt/ffmpeg/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libsnappy --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-libxcb --enable-libxcb-shm --enable-libxcb-shape --enable-libdc1394 --enable-libiec61883 --enable-libx264 --disable-x86asm
     WARNING: library configuration mismatch

    libavutil      56. 22.100 / 56. 22.100
    libavcodec     58. 35.100 / 58. 35.100
    libavformat    58. 20.100 / 58. 20.100
    libavdevice    58.  5.100 / 58.  5.100
    libavfilter     7. 40.101 /  7. 40.101
    libavresample   4.  0.  0 /  4.  0.  0
    libswscale      5.  3.100 /  5.  3.100
    libswresample   3.  3.100 /  3.  3.100
    libpostproc    55.  3.100 / 55.  3.100

    [h264 @ 0x564c2be0f340] sps_id 0 out of range
    [h264 @ 0x564c2be0f340] SPS unavailable in decode_picture_timing
    [h264 @ 0x564c2be0f340] non-existing PPS 0 referenced
    [h264 @ 0x564c2be0f340] sps_id 0 out of range
    [h264 @ 0x564c2be0f340] SPS unavailable in decode_picture_timing
    [h264 @ 0x564c2be0f340] non-existing PPS 0 referenced
    [h264 @ 0x564c2be0f340] decode_slice_header error
    [h264 @ 0x564c2be0f340] no frame!
    [h264 @ 0x564c2be0f340] sps_id 0 out of range
    [h264 @ 0x564c2be0f340] SPS unavailable in decode_picture_timing
    [h264 @ 0x564c2be0f340] non-existing PPS 0 referenced
    [h264 @ 0x564c2be0f340] sps_id 0 out of range
    [h264 @ 0x564c2be0f340] SPS unavailable in decode_picture_timing
    [h264 @ 0x564c2be0f340] non-existing PPS 0 referenced
    [h264 @ 0x564c2be0f340] decode_slice_header error
    [h264 @ 0x564c2be0f340] no frame!

    input.ts FPS 25.000000 0
    Input #0, mpegts, from 'input.ts':
     Duration: 00:19:51.22, start: 127.107911, bitrate: 1109 kb/s
     Program 1
       Stream #0:0[0x105]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x106]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 128 kb/s
    Input #1, png_pipe, from '/usr/local/etc/tv-test-pattern-146649_1280.png':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: png, rgba(pc), 1280x960, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Input #2, lavfi, from 'anullsrc=channel_layout=5.1:sample_rate=48000':
     Duration: N/A, start: 0.000000, bitrate: 2304 kb/s
       Stream #2:0: Audio: pcm_u8, 48000 Hz, 5.1, u8, 2304 kb/s

    [libx264 @ 0x564c2be5ea80] VBV maxrate specified, but no bufsize, ignored
    [libx264 @ 0x564c2be5ea80] using SAR=1/1
    [libx264 @ 0x564c2be5ea80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0x564c2be5ea80] profile Constrained Baseline, level 2.0
    [libx264 @ 0x564c2be5ea80] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=512 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    [hls @ 0x564c2be40e80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
       Last message repeated 1 times

    Output #0, hls, to output.m3u8':
     Metadata:
       encoder         : Lavf58.20.100
       Stream #0:0: Video: h264 (libx264), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 512 kb/s, 30 fps, 90k tbn, 30 tbc (default)
       Metadata:
         encoder         : Lavc58.35.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 512000/0/512000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 32 kb/s (default)
       Metadata:
         encoder         : Lavc58.35.100 libfdk_aac
    Stream mapping:
     Stream #0:0 (h264) -> setpts
     Stream #0:1 (ac3) -> asetpts
     Stream #1:0 (png) -> scale
     Stream #2:0 (pcm_u8) -> insert:in1:a0
     insert:out:v0 -> Stream #0:0 (libx264)
     insert:out:a0 -> Stream #0:1 (libfdk_aac)
    Press [q] to stop, [?] for help
    [h264 @ 0x564c2ce43a40] co located POCs unavailable
    [h264 @ 0x564c2ce53600] co located POCs unavailable
    [h264 @ 0x564c2cef1280] error while decoding MB 43 20, bytestream -5=3 drop=0 speed=0.599x    
    [h264 @ 0x564c2cef1280] concealing 5766 DC, 5766 AC, 5766 MV errors in B frame
    [h264 @ 0x564c2ce53600] co located POCs unavailable
    [h264 @ 0x564c2ce9bac0] co located POCs unavailable
    Past duration 1.189308 too largeN/A time=00:00:01.12 bitrate=N/A dup=6 drop=0 speed=0.714x    
    Past duration 0.989311 too large
    Past duration 0.789314 too large
    [hls @ 0x564c2be40e80] Cannot use rename on non file protocol, this may lead to races and temporary partial files
    [h264 @ 0x564c2ce43a40] concealing 1184 DC, 1184 AC, 1184 MV errors in I frame speed=0.971x    
    [h264 @ 0x564c2cef1280] Reference 3 >= 2=00:00:16.56 bitrate=N/A dup=83 drop=0 speed=0.985x    
    [h264 @ 0x564c2cef1280] error while decoding MB 44 32, bytestream 7180
    [h264 @ 0x564c2cef1280] concealing 4325 DC, 4325 AC, 4325 MV errors in B frame
    [h264 @ 0x564c2cf2a340] co located POCs unavailable
    [h264 @ 0x564c2ce43a40] co located POCs unavailable
    [mpegts @ 0x564c2be0a680] PES packet size mismatch02 bitrate=N/A dup=100 drop=0 speed=0.975x
    frame=22321 fps=0.4 q=-1.0 Lsize=N/A time=00:12:24.03 bitrate=N/A dup=3720 drop=0 speed=0.0126x    
    video:46857kB audio:2907kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    My questions are

    • Why I’m getting "co located POC’s unavailable"
    • sps_id 0 out of range
    • SPS unavailable in decode_picture_timing
  • How to output mp4 after concatenation using ffmpeg

    27 août 2019, par Patrick

    I want to merge a couple of mp4 videos (with different fps, heigth, width and bitrate).

    I tried this with a few videos, but it always hides or skips some video files from the input.txt.

    How can I correctly merge those mp4 files ?

    Thank you !

    My command :

    ffmpeg, "-f", "concat", "-i", "concatfile.txt", "-c:v", "copy", "-sn", "-y", "merged_video.mp4", "-max_muxing_queue_size", "1024"

    -> the video does not play correctly

    EDIT :
    i now output the information of each video in concat.txt_

    INPUT1:
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000028cdd7c3d00] Auto-inserting h264_mp4toannexb bitstream filter

    Input #0, concat, from 'concatfile.txt':

     Duration: N/A, start: 0.000000, bitrate: 535 kb/s

       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 435 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 05/10/2019.

       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 100 kb/s

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 05/10/2019.

    INPUT2:
    mov,mp4,m4a,3gp,3g2,mj2 @ 00000256592b3d00] Auto-inserting h264_mp4toannexb bitstream filter

    Input #0, concat, from 'concatfile.txt':

     Duration: N/A, start: 0.000000, bitrate: 620 kb/s

       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 522 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 10/31/2018.

       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 97 kb/s

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 10/31/2018.


    INPUT3:
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001a774cd3d00] Auto-inserting h264_mp4toannexb bitstream filter

    Input #0, concat, from 'concatfile.txt':

     Duration: N/A, start: 0.000000, bitrate: 609 kb/s

       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 513 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 10/31/2018.

       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 10/31/2018.


    INPUT4:
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000165b1013c80] Auto-inserting h264_mp4toannexb bitstream filter

    Input #0, concat, from 'concatfile.txt':

     Duration: N/A, start: 0.000000, bitrate: 510 kb/s

       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 415 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 10/31/2018.

       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s

       Metadata:

         handler_name    : ISO Media file produced by Google Inc. Created on: 10/31/2018.

    INPUT5:
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c545493c80] Auto-inserting h264_mp4toannexb bitstream filter

    Input #0, concat, from 'concatfile.txt':

     Duration: N/A, start: -0.042667, bitrate: 2972 kb/s

       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 900x600 [SAR 1:1 DAR 3:2], 2862 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc

       Metadata:

         handler_name    : VideoHandler

       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 24000 Hz, mono, fltp, 110 kb/s

       Metadata:

         handler_name    : SoundHandler

    Could be the issue, that the last mp4 has mono audio ?