
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (80)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)
Sur d’autres sites (8772)
-
Capture FFMPEG output
2 mai 2017, par AndrewI need to read the output from ffmpeg in order to even try the solution to my question from yesterday. This is a separate issue from my problem there, so I made a new question.
How the heck do I get the output from an
ffmpeg -i
command in PHP ?This is what I’ve been trying :
<?PHP
error_reporting(E_ALL);
$src = "/var/videos/video1.wmv";
$command = "/usr/bin/ffmpeg -i " . $src;
echo "<b>",$command,"</b><br />";
$command = escapeshellcmd($command);
echo "backtick:<br /><pre>";
`$command`;
echo "</pre><br />system:<br /><pre>";
echo system($command);
echo "</pre><br />shell_exec:<br /><pre>";
echo shell_exec($command);
echo "</pre><br />passthru:<br /><pre>";
passthru($command);
echo "</pre><br />exec:<br /><pre>";
$output = array();
exec($command,$output,$status);
foreach($output AS $o)
{
echo $o , "<br />";
}
echo "</pre><br />popen:<br /><pre>";
$handle = popen($command,'r');
echo fread($handle,1048576);
pclose($handle);
echo "</pre><br />";
?>This is my output :
<b>/usr/bin/ffmpeg -i /var/videos/video1.wmv</b><br />
backtick:<br />
<pre></pre><br />
system:<br />
<pre></pre><br />
shell_exec:<br />
<pre></pre><br />
passthru:<br />
<pre></pre><br />
exec:<br />
<pre></pre><br />
popen:<br />
<pre></pre><br />I don’t get it.
safe_mode
is off. There’s nothing indisable_functions
. The directory is owned bywww-data
(the apache user on my Ubuntu system). I get a valid status back fromexec()
andsystem()
and running the same command from the command line give me tons of output. I feel like I must be missing something obvious but I have no idea what it is. -
Capture FFMPEG output
6 janvier 2024, par Andrew EnsleyI need to read the output from ffmpeg in order to even try the solution to my question from yesterday. This is a separate issue from my problem there, so I made a new question.



How the heck do I get the output from an
ffmpeg -i
command in PHP ?


This is what I've been trying :



<?PHP
 error_reporting(E_ALL);
 $src = "/var/videos/video1.wmv";
 $command = "/usr/bin/ffmpeg -i " . $src;
 echo "<b>",$command,"</b><br />";
 $command = escapeshellcmd($command);

 echo "backtick:<br /><pre>";
 `$command`;

 echo "</pre><br />system:<br /><pre>";
 echo system($command);

 echo "</pre><br />shell_exec:<br /><pre>";
 echo shell_exec($command);

 echo "</pre><br />passthru:<br /><pre>";
 passthru($command);

 echo "</pre><br />exec:<br /><pre>";
 $output = array();
 exec($command,$output,$status);
 foreach($output AS $o)
 {
 echo $o , "<br />";
 }
 echo "</pre><br />popen:<br /><pre>";
 $handle = popen($command,'r');
 echo fread($handle,1048576);
 pclose($handle);
 echo "</pre><br />";
?>




This is my output :



<b>/usr/bin/ffmpeg -i /var/videos/video1.wmv</b><br />
backtick:<br />
 <pre></pre><br />
system:<br />
 <pre></pre><br />
shell_exec:<br />
 <pre></pre><br />
passthru:<br />
 <pre></pre><br />
exec:<br />
 <pre></pre><br />
popen:<br />
 <pre></pre><br />




I don't get it.
safe_mode
is off. There's nothing indisable_functions
. The directory is owned bywww-data
(the apache user on my Ubuntu system). I get a valid status back fromexec()
andsystem()
and running the same command from the command line give me tons of output. I feel like I must be missing something obvious but I have no idea what it is.

-
Get with ffmpeg first and last frame images
3 mai 2023, par BroshwardIt is possible to get first and last frames with using ffmpeg and only one system call ?


If I know duration

ffmpeg -ss 00:00:00 -i input.mov -vf fps=1/duration -vframes 2 -q:v 1 -qmin 1 out%2d.jpg

is working but not right.
But I need second system call for recieving duration video.