
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (10126)
-
How can I determine video rotation/orientation in PHP/FFMPEG/PhoneGap ?
14 juin 2014, par SomethingOnOnce I upload videos to my server I’m creating a screencap using FFMPEG. Problem is, if the user takes a video in portrait mode the screencap is rotated 90º. The ridiculous things is that PhoneGap and FFMEG-php and FFMPEG don’t seem to offer a mechanism for reading the video rotation/orientation value.
I found another library called mediainfo that will provide the info, but not in an easy to read/digest manner and I’m trying to avoid having to use another library.
Am I wrong about PhoneGap/FFMPEG ? Is there a direct way to determine video orienation ?
Here’s my solution as a PHP function :
function get_video_orientation($video_path) {
$cmd = FFMPEG_PATH . "ffprobe " . $video_path . " -show_streams 2>/dev/null";
$result = shell_exec($cmd);
$orientation = 0;
if(strpos($result, 'TAG:rotate') !== FALSE) {
$result = explode("\n", $result);
foreach($result as $line) {
if(strpos($line, 'TAG:rotate') !== FALSE) {
$stream_info = explode("=", $line);
$orientation = $stream_info[1];
}
}
}
return $orientation;
} -
how to determine if video file is 'high quality' using bitrate and dimensions ?
22 août 2016, par Flo WooAssuming a directory full of videos, if you extracted the video metadata to get video bitrate and dimensions. Is there a recommend way to plug in these values and get a LOW/HI quality answer.
I would like to sort videos into a LOW/HI quality directory layout but after using ffmpeg to get the meta data, it isn’t obvious how to programmatically ascertain the videos quality.
Is this possible ?
Thank you.
-
How to determine the specific H264 encoder in use from FFmpeg library ?
11 mai 2017, par PeterLooking at h264 encoders supported by FFmpeg library, I see quite a few encoders :
libx264
nvenc_h264
h264_nvenc
h264_vaapi
h264_cuvid
h264_vdpauTo obtain an H264 encoder, we make a generic call :
encoder = avcodec_find_encoder(AV_CODEC_ID_H264);
How do we know which encoder was actually picked up ? Regards.