
Recherche avancée
Autres articles (44)
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...)
Sur d’autres sites (7753)
-
How to convert .flac to Apple Lossless with ffmpeg or afconvert on a Mac ?
17 avril 2023, par Mac uzyszkodznikI need to convert a .flac file to Apple Lossless with ffmpeg or afconvert on a Mac, and don't want the file to weight more than original.


I have tried it already with these 2 arguments :


afconvert track.flac -d alac -o track.m4a



ffmpeg -i track.flac -acodec alac track.m4a



The problem is that they spit out 80-120mb files while the original file is 47.1 MB


Duration: 00:06:57.77, start: 0.000000, bitrate: 900 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s32 (24 bit)



-
Trying to crop an image in ffmpeg using alphamerge but produces wrong alpha
12 septembre 2021, par Alex StylI am using alphamerge in order to crop an image within a circle.


What I have so far is :


ffmpeg -f lavfi -i "color=c=white:size=240x240" -i avatar.png -i mask.png -filter_complex \
 "[1][2]alphamerge[img]; \
 [0][img]overlay[out]" -c:v png -map "[out]" -pix_fmt rgba -t 5 -y out.mp4 2>&1



with avatar.png and mask.png respectively being :




This produces the following output (1 frame of the output video) :




which is unexpected, given the original input is much darker than this.


How can I crop the 'avatar.png' using the 'mask.png' so that the output is the avatar.png cropped in a circle and keeping the same alpha ?


PS : The important bit here is for me to be able to crop the original image and maintaining the correct colors/apha of the original image. If there is an other way of doing this (other than alphamerge) I am happy to hear it.


-
Ffmpeg Multiple Crop
6 décembre 2019, par megaimd megaHow can I make crop in and out from 3 to 3 seconds to a video.
for Exemple :The First 3 sec Of the video to be original,
The next 3 sec of the video to be CROP
crop=iw-684:ih-516,scale=1280:720
The next 3 sec Of the video to be original,
The next 3 sec of the video to be CROP
crop=iw-684:ih-516,scale=1280:720
so on, until the end of the video
Please Help Me