
Recherche avancée
Autres articles (101)
-
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 : (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (6702)
-
FFMPEG SET ZxY width and height thumbnail while keeping aspect ratio with padding
15 octobre 2014, par user3810748Ive been looking around stack overflow for code on how to make thumbnails using ffmpeg.
But the two variations I find are either with -s 100x100 with a set frame - which ends in distorted thumbnails ; or the use of -vf 100 :-1, which only appropriately scales one side of the image - a problem for me since all thumbnails have to be of equal size ! is there a way to get the best of both worlds ?
a set height/width with a constant ratio ? Like line it with black boxes or something ? -
Ffmpeg change height with fixed width
2 mars 2012, par DmitryI'm trying to change video dimensions using ffmpeg.
For example, user is uploading video 1280*960.And i need to get video 640*480 in return.
I tried this code and it works
exec($ffmpegPath." -i ".$srcFile." -ar 22050 -ab 32 -f flv -s 640x480".$destFile,$tmp);
but this method d't keep width/height balance of video (i.e. video 5000*480 becomes 640*480 and looks compressed from left and right).
In case of this dimensions (5000*480) i need to get video on exit like 640*61
i mean fixed height is not suitable for me.I look over the internet and found this topics
http://superuser.com/questions/201051/resize-videos-with-different-widths-to-a-fixed-height-preserving-aspect-ratio-wi
http://delogics.blogspot.com/2011/11/ffmpeg-maintain-aspect-ratio-with-fixed.htmlbut neither of them works for me (ffmpeg even not works with this code, maybe i've made mistake when adding theirs code parts in my ffmpeg string)
Help me to improve my code pls
Thanks
-
avcodec/utils : check sar only when width/height are set
20 juin 2014, par Michael Niedermayer