
Recherche avancée
Autres articles (50)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (7267)
-
php shell_exec() command pop out error and permission denied ffmpeg
19 octobre 2016, par user3711175This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error
<form action="index.php" method="POST" enctype="multipart/form-data">
<input type="file" /><input type="submit" value="upload" />
</form>
<?php
if(isset($_POST['submit'])){
$ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";
$videoFile = $_FILES["file"]["tmp_name"];
$imageFile = "1.jpg";
$size = "320x240";
$getFromSecond = 5;
$cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&1";
echo shell_exec($cmd);
echo shell_exec('whoami');
if(!shell_exec($cmd)){
echo "thumbnail created";
}else{
echo "error creating thumbnail";
}
}
?> -
ffmpeg combine two commands compress and watermark [on hold]
13 mars 2019, par tour travelI am trying to compress and also add water mark on video via
ffmpeg
each command work greatffmpeg -i vid.mp4 -s 480x320 -acodec aac -strict -2 -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 output.mp4
And :
ffmpeg -i vid.mp4 -i logo.png -filter_complex "hflip[flipped];[flipped]overlay=x=20:y=20" -strict -2 out.mp4
But I want to do both command together, What I tried :
ffmpeg -i vid.mp4 -s 480x320 -acodec aac -strict -2 -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 && -i logo.png -filter_complex "hflip[flipped];[flipped]overlay=x=20:y=20" -strict -2 output.mp4
I used
&&
and|
or,
but none of these working as expected, any solution ?Order is important, It should first compress video then add water
mark. -
FFMPEG gdigrab not stopping when title changes
13 avril 2021, par VishweshI am trying to capture a video playlist using ffmpeg gdigrab. The player takes in input a batch of videos. I want to create a separate video for each loaded file in the player. I was able to use ffmpeg gdigrab to capture the video for one video. The problem is, it does not stop when the window title changes (that is when the next file is loaded), and instead it creates just one file for the entire duration. The only way to stop it was if I close the entire window. The reason I can't go ahead with it is because the user will be given an option to change any settings in the beginning of the recording and then the entire playlist will use the same settings.


I also tried other options like using
subprocess.Popen
to start the ffmpeg and then using.terminate()
or.kill()
to stop it, but the recording still keeps on going. Similarly, sending'q'
key from a file did not work either.

Ideally, I would expect that
gdigrab
should be able to detect when the grabbed window title differs from the expected one and stop, however, here it looks like it's anchoring itself to the window instead of the title.

I am using a Windows 10 PC and programming language for this tool is Python. I am using ffmpeg version 4.4-full_build.


If you have any ideas regarding this, it would be of great help.