
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (59)
-
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 (10055)
-
Correct ffmpeg scale command syntax
10 novembre 2015, par user3132858I am new to ffmpeg and need some help with the correct syntax for a scale command I found here.
Below is my code :
$width=300;
$height=200;
$aspect=$width/$height;
$command = "/usr/local/bin/ffmpeg -y -i 1.mp4 -vf scale=min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")) * (gte(a\,".$aspect.")*".$width." + \
lt(a\,".$aspect.")*((".$height."*iw)/ih)) + not(min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")))*iw : \
min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")) * (lte(a\,".$aspect.")*".$height." + \
gt(a\,".$aspect.")*((".$width."*ih)/iw)) + not(min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")))*ih -b 1200k -acodec aac -strict -2 2.mp4 ";Video is successfully converted however, the scaling does not go trough.
The code is copied word for word, I only make two changes :
- removed the " before
scale
word and from the end - replaced the $FW with $width, $FH with $height and $FA with $aspect.
Any suggestion at what might be wrong ?
- removed the " before
-
Compling ffmpeg with libwebp error(s)
30 avril 2018, par MadaoSo I’m trying to compile ffmpeg with —enable-libwebp. But I am getting the following errors :
In file included from libavcodec/libwebpenc_animencoder.c:30:0:
/usr/include/webp/mux.h:101:13: error: expected identifier or ‘(’ before ‘int’
WEBP_EXTERN(int) WebPGetMuxVersion(void);
^~~
/usr/include/webp/mux.h:107:13: error: expected identifier or ‘(’ before ‘WebPMux’
WEBP_EXTERN(WebPMux*) WebPNewInternal(int);
^~~~~~~
/usr/include/webp/mux.h:120:13: error: expected identifier or ‘(’ before ‘void’
WEBP_EXTERN(void) WebPMuxDelete(WebPMux* mux);
^~~~
/usr/include/webp/mux.h:126:13: error: expected identifier or ‘(’ before ‘WebPMux’
WEBP_EXTERN(WebPMux*) WebPMuxCreateInternal(const WebPData*, int, int);
^~~~~~~
/usr/include/webp/mux.h:163:13: error: expected identifier or ‘(’ before ‘WebPMuxError’
WEBP_EXTERN(WebPMuxError) WebPMuxSetChunk(
^~~~~~~~~~~~
/usr/include/webp/mux.h:179:13: error: expected identifier or ‘(’ before ‘WebPMuxError’
WEBP_EXTERN(WebPMuxError) WebPMuxGetChunk(
^~~~~~~~~~~~
/usr/include/webp/mux.h:192:13: error: expected identifier or ‘(’ before ‘WebPMuxError’
WEBP_EXTERN(WebPMuxError) WebPMuxDeleteChunk(
^~~~~~~~~~~~
/usr/include/webp/mux.h:225:13: error: expected identifier or ‘(’ before ‘WebPMuxError’
WEBP_EXTERN(WebPMuxError) WebPMuxSetImage(
^~~~~~~~~~~~
/usr/include/webp/mux.h:245:13: error: expected identifier or ‘(’ before ‘WebPMuxError’
WEBP_EXTERN(WebPMuxError) WebPMuxPushFrame(
^~~~~~~~~~~~
/usr/include/webp/mux.h:263:13: error: expected identifier or ‘(’ before ‘WebPMuxError’
WEBP_EXTERN(WebPMuxError) WebPMuxGetFrame(
^~~~~~~~~~~~
...Is there a certain version of libwebp I need to be using ? Any help would be greatly appreciated.
-
FFMPEG how do i add 1 image to 1 video
15 avril 2020, par dasok I found a code online from 1 of the StackOverflow page tested it and it adds 10 seconds black screen before the video starts.

Summary

i have 55.mp4 and logo.png i want to replace black screen with png logo


ffmpeg -i 55.mp4 -filter_complex "[0:v]tpad=start_duration=10:color=black[v];[0:a]adelay=10000|10000[a]" -map "[v]" -map "[a]" -y out2222.mp4




I have logo.png in the same path how do I use that instead of black screen.

I do not wish to use overlays. I want it as it is, just replace black-screen with my png