Recherche avancée

Médias (91)

Autres articles (66)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette 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.

  • Supporting all media types

    13 avril 2011, par

    Unlike 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 (...)

Sur d’autres sites (8585)

  • Révision 17622 : on teste une version plus light pour les styles du bandeau qui était en expérime...

    2 avril 2011, par b b

    si ça ne convient pas on revert et zou...

  • look for a specific filetype in a directory in php and send it to a different directory after conversion

    12 juin 2019, par flash

    I 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 :

    enter image description here

  • ffmpeg not producing duration value when converting a media file. If this media is used in an html player, seeking fails on some browsers

    4 décembre 2020, par David

    I'm asking this question because I didn't find information on the web and this seems to be uncommon issue. After a lot of trial and error I'm creating this answer for reference.

    


    I'm using python which runs the ffmpeg command to convert an MP4 into WEBM file. I noticed that some of the conversions didn't seek when displaying in the webpage but other webm files worked on the same server. I was converting from two different machines. The core problem was the ffmpeg command was using pipe during the conversion process on one machine and output directly to a file on the other.

    


    Apparently doing this doesn't populate the duration attribute in the file but if I ran ffmpeg with the same switches, same order and output to a file on the system, the duration attribute would populate.

    


    I was converting from MP4 to WEBM format using opus for the audio. This issue might only impact certain file types, webm as an example and not others.