
Recherche avancée
Autres articles (56)
-
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 -
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 (...)
-
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (8013)
-
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