
Recherche avancée
Autres articles (68)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (11405)
-
FFMPEG joining multiple videos in grid
31 mars 2020, par Adam GosztolaiI am trying to join a series of videos in a grid. Here is a command I used for 3 videos.
ffmpeg -y -i /mnt/labserver/vid1.mp4 -i /mnt/labserver/vid2.mp4 -i /mnt/labserver/vid3.mp4 -filter_complex "color=s=360x360:c=Black [nbase];[0:v]setpts=PTS-STARTPTS,scale=180x180[b0];[1:v]setpts=PTS-STARTPTS,scale=180x180[b1];[nbase][b0]overlay=shortest=1:x=0:y=180[temp0];[temp0][b1]overlay=repeatlast=1:x=0:y=360[temp1];[temp1][b2]overlay=repeatlast=1:x=0:y=540[temp2]" -c:v libx264 -pix_fmt yuv420p /mnt/labserver/videos_joined.mp4
I get the following error
Invalid stream specifier: b2
As far as I recall this has previously worked for me. Could someone tell me what could be wrong here and whether perhaps the error depends on the FFmpeg version ?
Thank you !!
-
How do i convert videos uploaded by user to .swf ?
3 avril 2020, par Anish SilwalI am creating a website which enables to upload videos. But we know that user can upload any kind of video but the browser can't play them. So, I thought that I somehow can convert them into .swf and play them using a flash player. I tried to use ffmpeg-php but it didn't worked. my code was :



shell_exec('ffmpeg -i in.mp4 out.swf');




It does not show any error neither it returns
out.swf
.


Please ! help me.


-
Generate Black frames between concatenated videos ffmpeg
9 février 2019, par Alex KI’m trying to concatenate 2 videos together using
ffmpeg concat
, but I want to have there be 2 seconds of black between the 2 videos.The problem is that whenever I’ve tried to generate a black video and concatenated it in, the properties never match my input video exactly, and so the concatenation is all broken - the audio is broken or the frames change at the wrong speed or generally concatenation fails.
Here’s the output of
ffmpeg -i my_input_video1.mp4
(and is identical for my_input_video2.mp4) :Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input_vid1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.3.100
Duration: 00:00:03.07, start: 0.000000, bitrate: 191 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x270, 116 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 63 kb/s (default)
Metadata:
handler_name : SoundHandlerHow can I generate a 2 second black video with these properties so that it can be concatenated with my input videos ?