
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (73)
-
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 ;
-
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 -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (9096)
-
ffmpeg is failed to concatanate two different resolution videos [duplicate]
25 octobre 2020, par Ramesh JangamaI am trying to cancatanate two differen resolution videos. I am getting below error which I am getting confused. However same command is working fine if I give same input file twice for concatation.


command :


ffmpeg -i C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4 -i C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4 -y -filter_complex "[0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]" -preset superfast -crf 30 -ab 64k -map [v] -map [a] C:\Users\oem\Downloads\FFMpeg_practice\diffmerge.mp4



error :


Stream specifier ':a' in filtergraph description [0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a] matches no streams.



output :


C:\ffmpeg\bin>ffmpeg -i C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4 -i C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4 -y -filter_complex "[0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]" -preset superfast -crf 30 -ab 64k -map [v] -map [a] C:\Users\oem\Downloads\FFMpeg_practice\diffmerge.mp4
ffmpeg version 2020-10-07-git-a086b73e1f-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.2.0 (Rev3, 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-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --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-libglslang --enable-vulkan --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 60.100 / 56. 60.100
 libavcodec 58.109.100 / 58.109.100
 libavformat 58. 61.100 / 58. 61.100
 libavdevice 58. 11.102 / 58. 11.102
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.61.100
 location-eng : +51.5831-000.3438/
 location : +51.5831-000.3438/
 Duration: 00:00:39.50, start: 0.000000, bitrate: 1439 kb/s
 Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 540x960, 1304 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.61.100
 comment : vid:v09044820000brrhju8biap950rr41k0
 Duration: 00:00:30.73, start: 0.000000, bitrate: 1287 kb/s
 Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 288x512 [SAR 1:1 DAR 9:16], 281 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #1:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 288x512 [SAR 1:1 DAR 9:16], 243 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
 Metadata:
 handler_name : VideoHandler
 Stream #1:2(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 576x1024 [SAR 1:1 DAR 9:16], 1018 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
 Metadata:
 handler_name : VideoHandler
Stream specifier ':a' in filtergraph description [0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a] matches no streams.



-
FFMPEG creates an empty gif when the start time (-ss) of the video is over 9 seconds ?
30 décembre 2020, par blablubla12I'm running this command in node.js


function CreateGif() {
 return new Promise((resolve, reject) => {
 const ffmpeg = spawn(ffmpegPath, [
 '-ss',
 '00:00:10.000',
 '-i',
 target,
 '-i',
 overlayTarget,
 '-filter_complex',
 `[0:v]trim=duration=5,setpts=PTS-STARTPTS,scale=450:-1[trimmed];[trimmed]split[trimmed1][trimmed2];[trimmed2]reverse[rev];[trimmed1][rev]concat=n=2:v=1:a=0[v];[v][1:v]overlay=0:0:format=rgb[overlayed];[overlayed]split[a][b];[a]palettegen=stats_mode=diff[palette];[b][palette]paletteuse=bayer:bayer_scale=3.5[out]`,
 '-map',
 '[out]',
 '-y',
 tempPath
 ]);

 ffmpeg.stderr.setEncoding('utf8');
 ffmpeg.stderr.on('data', (data) => {
 console.log(data);
 });

 ffmpeg.on('close', function (code) {
 console.log('closed');
 resolve();
 });

 ffmpeg.on('error', function (err) {
 console.log(err);
 reject();
 throw new Error(err);
 });
 });
 }



If the start time
-ss
is00:00:09.000
or anything less than 10 seconds, then it creates the correct gif. However if I put00:00:10.000
or anything above, it creates an empty gif (0 bytes). The same command works when I run it through cmd. FFMPEG version isffmpeg version N-55112-g7eb9cf593e-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020


Note : The video (defined as
target
in the code) is 1:30 min long andoverlayTarget
is a png image.

-
Can't list input devices ffmpeg linux
23 juillet 2021, par spindi598On windows I could do something like this to list input devices :


ffmpeg -list_devices true -f dshow -i dummy



On Linux I try doing something like this :


ffmpeg -list_devices true -f <x11grab></x11grab>avfoundation>



And I get an error (I have also tried the latest git build from here) :


ffmpeg version n4.2.4 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.1.0 (GCC)
 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Unrecognized option 'list_devices'.
Error splitting the argument list: Option not found



How can I list my input devices ?