
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (69)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPré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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9576)
-
FFMPEG - Invalid argument - When giving effects to multiple videos
21 mai 2021, par D.B.I am trying to give transition effects to multiple videos together in one command using FFMPEG.
I am not able to find the issue. I have tried the command as advised at url :
Merging multiple video files with ffmpeg and xfade filter


I am getting error : Invalid arguments. Please advise me the solution.


Many Thanks


Command :


ffmpeg -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_1_5157.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_2_8955.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_3_7749.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_3_1137.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_4_7035.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_5_1560.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_5_3387.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_6_5929.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_7_3635.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_7_2726.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_8_6239.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_9_9862.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_9_9464.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21//SSLK006998_1535.mp4

 [0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];
 [V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02]; [V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03]; [V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];
 [V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];
 [V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];
 [V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];
 [V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];
 [V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];
 [V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];
 [V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];
 [V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];
 [V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];
 [V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video]; 
 [0:a][1:a]acrossfade=d=0.5:c1=tri:c2=tri[A01];
 [A01][2:a]acrossfade=d=0.5:c1=tri:c2=tri[A02];
 [A02][3:a]acrossfade=d=0.5:c1=tri:c2=tri[A03];
 [A03][4:a]acrossfade=d=0.5:c1=tri:c2=tri[A04];
 [A04][5:a]acrossfade=d=0.5:c1=tri:c2=tri[A05];
 [A05][6:a]acrossfade=d=0.5:c1=tri:c2=tri[A06];
 [A06][7:a]acrossfade=d=0.5:c1=tri:c2=tri[A07];
 [A07][8:a]acrossfade=d=0.5:c1=tri:c2=tri[A08];
 [A08][9:a]acrossfade=d=0.5:c1=tri:c2=tri[A09];
 [A09][10:a]acrossfade=d=0.5:c1=tri:c2=tri[A010];
 [A010][11:a]acrossfade=d=0.5:c1=tri:c2=tri[A011];
 [A011][12:a]acrossfade=d=0.5:c1=tri:c2=tri[A012];
 [A012][13:a]acrossfade=d=0.5:c1=tri:c2=tri[A013];
 [A013][14:a]acrossfade=d=0.5:c1=tri:c2=tri[audio] -map "[video]" -map "[audio]" -movflags +faststart D:/ffmpeg_output/Library/2020/11/21/SSLK006998_FinalMergedFile_NotFromAction_9415.mp4
 
 
 



Command and output showing error code below :
Please advise.


C:\Users\dinesh>ffmpeg -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_1_5157.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_2_8955.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_3_7749.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_3_1137.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_4_7035.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_5_1560.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_5_3387.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_6_5929.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_7_3635.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_7_2726.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_8_6239.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_9_9862.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_9_9464.mp4 -i D:/ffmpeg_output/Library/2020/11/21//SSLK006998_1535.mp4 [0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];[V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02];[V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03];[V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];[V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];[V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];[V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];[V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];[V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];[V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];[V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];[V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];[V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];[V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video]; [0:a][1:a]acrossfade=d=0.5:c1=tri:c2=tri[A01];[A01][2:a]acrossfade=d=0.5:c1=tri:c2=tri[A02];[A02][3:a]acrossfade=d=0.5:c1=tri:c2=tri[A03];[A03][4:a]acrossfade=d=0.5:c1=tri:c2=tri[A04];[A04][5:a]acrossfade=d=0.5:c1=tri:c2=tri[A05];[A05][6:a]acrossfade=d=0.5:c1=tri:c2=tri[A06];[A06][7:a]acrossfade=d=0.5:c1=tri:c2=tri[A07];[A07][8:a]acrossfade=d=0.5:c1=tri:c2=tri[A08];[A08][9:a]acrossfade=d=0.5:c1=tri:c2=tri[A09];[A09][10:a]acrossfade=d=0.5:c1=tri:c2=tri[A010];[A010][11:a]acrossfade=d=0.5:c1=tri:c2=tri[A011];[A011][12:a]acrossfade=d=0.5:c1=tri:c2=tri[A012];[A012][13:a]acrossfade=d=0.5:c1=tri:c2=tri[A013];[A013][14:a]acrossfade=d=0.5:c1=tri:c2=tri[audio] -map "[video]" -map "[audio]" -movflags +faststart D:/ffmpeg_output/Library/2020/11/21/SSLK006998_FinalMergedFile_NotFromAction_9415.mp4
ffmpeg version 2021-05-09-git-8649f5dca6-essentials_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
 libavutil 57. 0.100 / 57. 0.100
 libavcodec 59. 1.100 / 59. 1.100
 libavformat 59. 0.101 / 59. 0.101
 libavdevice 59. 0.100 / 59. 0.100
 libavfilter 8. 0.101 / 8. 0.101
 libswscale 6. 0.100 / 6. 0.100
 libswresample 4. 0.100 / 4. 0.100
 libpostproc 56. 0.100 / 56. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_1_5157.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:06:26.64, start: 0.000000, bitrate: 3251 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3056 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_2_8955.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:02:16.56, start: 0.000000, bitrate: 3545 kb/s
 Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3348 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 190 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_3_7749.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:07:19.80, start: 0.000000, bitrate: 3416 kb/s
 Stream #2:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3220 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #3, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_3_1137.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:06:26.64, start: 0.000000, bitrate: 3251 kb/s
 Stream #3:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3056 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #3:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Input #4, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_4_7035.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:03:32.33, start: 0.000000, bitrate: 3750 kb/s
 Stream #4:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3554 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #4:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #5, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_5_1560.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:10:21.74, start: 0.000000, bitrate: 3547 kb/s
 Stream #5:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3351 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #5:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #6, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_5_3387.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:01:09.01, start: 0.000000, bitrate: 2873 kb/s
 Stream #6:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 2679 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #6:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Input #7, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_6_5929.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:07:56.90, start: 0.000000, bitrate: 3899 kb/s
 Stream #7:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3703 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #7:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #8, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_7_3635.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:10:51.96, start: 0.000000, bitrate: 3816 kb/s
 Stream #8:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3620 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #8:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #9, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_7_2726.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:06:26.64, start: 0.000000, bitrate: 3251 kb/s
 Stream #9:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3056 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #9:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Input #10, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_8_6239.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:02:54.44, start: 0.000000, bitrate: 3809 kb/s
 Stream #10:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3613 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #10:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #11, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_9_9862.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:10:44.43, start: 0.000000, bitrate: 3472 kb/s
 Stream #11:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3276 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #11:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
Input #12, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_9_9464.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:01:09.01, start: 0.000000, bitrate: 2873 kb/s
 Stream #12:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 2679 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #12:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Input #13, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21//SSLK006998_1535.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.0.101
 Duration: 00:06:48.53, start: 0.000000, bitrate: 3783 kb/s
 Stream #13:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3588 kb/s, 25 fps, 25 tbr, 25k tbn (default)
 Metadata:
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 Stream #13:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 handler_name : #Mainconcept MP4 Sound Media Handler
 vendor_id : [0][0][0][0]
[NULL @ 0000020134bf8080] Unable to find a suitable output format for '[0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];[V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02];[V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03];[V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];[V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];[V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];[V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];[V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];[V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];[V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];[V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];[V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];[V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];[V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video];'
[0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];[V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02];[V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03];[V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];[V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];[V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];[V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];[V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];[V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];[V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];[V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];[V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];[V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];[V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video];: Invalid argument

C:\Users\dinesh>



Many Thanks


-
Concatenating on Windows throws "Invalid data found when processing input" while it works on Mac and Linux
15 février 2020, par miguelmorinI need to run a command with a nightly build of FFMPEG to report a bug on the
concat
protocol. I found it difficult to compile from source with libx264 support on Linux, and I want to spare my Mac computer, so I use the nightly build on Windows from Zeranoe.I call this command to concatenate the files :
ffmpeg -safe 0 concat -i files_to_combine -vcodec libx264 show.mp4
where
files_to_combine
is :file ./short_DSC_0013.MOV
file ./short_DSC_0014.MOV
file ./short_DSC_0015.MOV
file ./short_DSC_0016.MOV
file ./short_DSC_0017.MOV
file ./short_DSC_0018.MOV
file ./short_DSC_0019.MOVI call this command from the directory containing the video files and
files_to_combine
.On Windows with a nightly build, I get the error :
files_to_combine : Invalid data found when processing input
I changed
file ./DSC_0013.MOV
to these options, all with the same error :file 'short_DSC_0013.MOV'
file '.\short_DSC_0013.MOV'
file 'F:\short_DSC_0013.MOV'How can I debug this error, or what is the syntax for concatenating on Windows with a nightly build ?
Update with log-level 48
I ran the same command with
-v 48
and got :F :\brain squids>C :\Users\migue\Desktop\ffmpeg-20200211-f15007a-win64-static\bin\ffmpeg.exe -v 48 -i files_to_combine -vcodec libx264 show.mp4 ffmpeg version git-2020-02-11-f15007a Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.2.1 (GCC) 20200122 configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf libavutil 56. 39.100 / 56. 39.100 libavcodec 58. 68.102 / 58. 68.102 libavformat 58. 38.100 / 58. 38.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 75.100 / 7. 75.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 Splitting the commandline. Reading option ’-v’ ... matched as option ’v’ (set logging level) with argument ’48’. Reading option ’-i’ ... matched as input url with argument ’files_to_combine’. Reading option ’-vcodec’ ... matched as option ’vcodec’ (force video codec (’copy’ to copy stream)) with argument ’libx264’. Reading option ’show.mp4’ ... matched as output url. Finished splitting the commandline. Parsing a group of options : global . Applying option v (set logging level) with argument 48. Successfully parsed a group of options. Parsing a group of options : input url files_to_combine. Successfully parsed a group of options. Opening an input file : files_to_combine. [NULL @ 0000021c781784c0] Opening ’files_to_combine’ for reading [file @ 0000021c78179580] Setting default whitelist ’file,crypto,data’ [AVIOContext @ 0000021c781817c0] Statistics : 182 bytes read, 0 seeks files_to_combine : Invalid data found when processing input
The contents of
files_to_combine
is :file ’short_DSC_0013.MOV’ file ’short_DSC_0014.MOV’ file ’short_DSC_0015.MOV’ file ’short_DSC_0016.MOV’ file ’short_DSC_0017.MOV’ file ’short_DSC_0018.MOV’ file ’short_DSC_0019.MOV’
Update because of wrong command
I had mistyped the command. The right command has a
-f
in front ofconcat
, which I found because the accepted answer was able to make the command work in a similar environment :ffmpeg -safe 0 -f concat -i files_to_combine -vcodec libx264 show.mp4
-
How to fix EXT-X-MAP:URI in m3u8 when specifying absolute hls_fmp4_init_filename using ffmpeg ?
29 février 2020, par RyanToday I found this blog post teaching me about fragmented mp4s (fmp4s).
Using the ffmpeg docs, I’ve made great progress.
I run this :
'/usr/bin/ffmpeg' '-y' '-i' '/myproject/storage/app/sample_media/2020-02-27/Sample Videos 5.mp4' \
'-c:v' 'libx264' '-s:v' '1920x1080' \
'-crf' '20' '-sc_threshold' '0' '-g' '48' '-keyint_min' '48' \
'-hls_list_size' '0' '-hls_time' '10' '-hls_allow_cache' '0' '-b:v' '4889k' \
'-maxrate' '5866k' '-hls_segment_type' 'fmp4' \
'-hls_fmp4_init_filename' '/myproject/public/storage/000000002/init.mp4' \
'-hls_segment_filename' '/myproject/public/storage/000000002/list_1080p_%04d.m4s' \
'-hls_key_info_file' '/myproject/hls_hls.keyInfo' '-strict' '-2' '-threads' '12' \
'/myproject/public/storage/000000002/list_1080p.m3u8'And then I use hls.js on my webpage to try to show the video.
Initially, it won’t load.
But then I can get the video to load properly if I refresh the page after making this edit to list_1080p.m3u8 :
Change from :
#EXT-X-MAP:URI="/myproject/public/storage/000000002/init.mp4"
To :
#EXT-X-MAP:URI="init.mp4"
How can I change my ffmpeg command so that it knows the absolute path of where to save the init.mp4 but also knows to write in the m3u8 only the filename
init.mp4
without any path ?(I’ve tried using
-hls_fmp4_init_filename init.mp4
without the abosolute path, but then it creates the init.mp4 at the root, which also doesn’t work. I need each video’s init.mp4 to be in its own folder.)