
Recherche avancée
Autres articles (67)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...)
Sur d’autres sites (12448)
-
How to save the whole transportstream(meaning incl. PAT and PMT,etc.) using ffmpeg
15 mars 2018, par Harris TailorI have been searching the whole Internet for a long time and seems it can only save video/audio using ffmpeg,any help or advice will be appreciate !thanks !
-
doc/filters/drawtext : clarify meaning of strftime format string
26 mars 2023, par Stefano Sabatini -
look for a specific filetype in a directory in php and send it to a different directory after conversion
12 juin 2019, par flashI have a directory in which there is a mp4 file (including other files as well) which I want to convert into mp3 and then send it to different directory. I have used the following command line command to covert into mp3 and its working perfectly fine.
ffmpeg -i 36031P.mp4 -map 0:2 -ac 1 floor_english.mp3
mp4 file is inside in_folder. Using ffmpeg, I want to convert mp4 file into mp3 and send it to out_folder.
<?php
$dir = 'in_folder';
$files1 = scandir($dir);
print_r($files1); /* It lists all the files in a directory including mp4 file*/
?>print_r($files1) lists all the file in a directory including mp4file.
Problem Statement :
I am wondering what php code I need to write so that it looks for only mp4 file inside the directory and send it to different directory (let say out_folder) after converting into mp3.
The pictorial representation of what I want :