
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (60)
-
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 -
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 (...) -
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 (...)
Sur d’autres sites (10725)
-
mac terminal ffmpeg batch recursive conversion preserving directory structure
13 avril 2020, par kidnimi'm using ffmpeg on mac to batch convert .flv to .mp4 files. i'm trying to find all files in subdirectories of the current directory and save new files in the same directory.



for instance starting with :



subdirectory1/video1.flv
subdirectory1/video2.flv
subdirectory2/video1.flv




and ending with



subdirectory1/video1.mp4
subdirectory1/video2.mp4
subdirectory2/video1.mp4




i've gotten this far but can't figure out how to save with preserved recursive directories



for i in `find -name . "*.flv"`; do ffmpeg -i "$i" "${i%.*}.mp4"; done



-
Execute multiple commands in background from terminal & redirecting output
9 octobre 2016, par GuernicaI’m running ffmpeg via an exec command from php. I need to wait for the command to finish executing and run another command to call a php script.
I need the output to be redirected to text files.
This i have accomplished with the following code but it wont execute in the background. PHP hangs until the script has finished executing.
exec("ffmpeg -i INPUTFILE -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -strict -2 OUTPUTFILE -hide_banner 1> /tmp/1.txt 2>/tmp/1.txt && php PATH_TO_PHP_SCRIPT/complete.php id=11 1> /tmp/11.txt 2> /tmp/11.txt &");
Any help would be greatly appreciated.
EDIT : I’ve got the required functionality by calling my original php containing the above code from another php containing
exec("php convert.php id=".$id." 1> /tmp/".$id."_error.txt 2>/tmp/".$id."_error.txt &");
I would rather leave this question open to find a more elegant solution or information as to why my original code at the top doesn’t function in the way i would expect.
-
FFmpeg command works in terminal but gives an error in php code
21 mai 2021, par RiderUse this command :


ffmpeg -i lecture.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8



It works.


$path = '1/';
 $inputFile = 'lecture.mp4';
 $filePath = 'filename.m3u8';
 $commandOutput = exec ('/opt/ffmpeg/ffmpeg -I '.$path .$inputFile. ' -Codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls'.$path .$filePath);



Using this PHP code I get the error :
At least one output file must be specified


What is causing this error ?