
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (55)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (3907)
-
Blog series part 2 : How to increase engagement of your website visitors, and turn them into customers
8 septembre 2020, par Joselyn Khor — Analytics Tips, Marketing -
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.