
Recherche avancée
Autres articles (47)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (8732)
-
ffmpeg : don’t reconfigure terminal if we’re not taking input from stdin
8 septembre 2016, par Rodger Combs -
Real time ffmpeg output from terminal in php
8 novembre 2014, par user2978381I am using this code to get real time update from windows terminal. It doesn’t output anything in the browser but process the command and in the background and completes the conversion.
set_time_limit(0);
$ffmpegCommand = 'C:\\ffmpeg\\bin\\ffmpeg';
$handle = popen($ffmpegCommand." -i upload/1415292048.mp4 -ar 22050 -ab 32 -f flv -s 640x320 -vcodec libx264 -vsync 1 -bt 50k converted/video001.flv", "r");
if (ob_get_level() == 0)
ob_start();
while(!feof($handle)) {
$buffer = fread($handle, 4096);
$buffer = trim(htmlspecialchars($buffer));
echo "<pre>";
echo $buffer ;
echo str_pad('', 4096);
echo "</pre>";
ob_flush();
flush();
sleep(1);
}
pclose($handle);
ob_end_flush();But when the same code I am using for youtube_dl it updates in the real time.
header('Content-Encoding: none;');
set_time_limit(0);
$handle = popen("python -m youtube_dl -F http://vimeo.com/30261818", "r");
if (ob_get_level() == 0)
ob_start();
while(!feof($handle)) {
$buffer = fread($handle, 4096);
$buffer = trim(htmlspecialchars($buffer));
echo "<pre>";
echo $buffer ;
echo str_pad('', 4096);
echo "</pre>";
ob_flush();
flush();
sleep(1);
}
pclose($handle);
ob_end_flush();So if I want to show output of ffmpeg in the browser what should I do ?
-
How do I use ffprobe in Terminal ?
9 avril 2020, par WesticleWhen I use ffmpeg I use it like this :



./ffmpeg -ss 00:30:00 -i inputvideo.mp4 -t 00:00:20 -c:v copy -c:a copy outputvideo.mp4




So how to I use ffprobe ? I've tried this but I can't get it to work :



./ffmpeg ffprobe -v error -show_frames inputvideo.mp4