Recherche avancée

Médias (91)

Autres articles (63)

  • 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 ;

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (12673)

  • PHP Sort Order Process Codeiginiter

    5 août 2017, par Alan El-nino Malmsteen

    i use php codeigniter to manage video using FFMPEG, but i dont know how to delete original video after convertion successful.

    if(!($_FILES["upload_video"]["type"] == "video/mp4"))
       {
       $prename = $r.'.'.$ext;
       $video = $prename.'.mp4';
       $directory_path  = "/home/templates/videos/".$prename;
       $directory_path_full = "/home/templates/videos/".$prename;
       exec("ffmpeg -i ".$directory_path_full." ".$directory_path.".mp4");

       // Delete original format video
       $this->load->helper("file");
       unlink($directory_path_full);

       }else{
       $video = $r.'.'.$ext;
       }

    When i use "unlink" it work good to delete file, but the video is corrupt (maybe php directly delete it when converting progress)
    So, can you help me to create sort order php process for this case ?

  • How to specify the audio path for ffmpeg and how to conduct a silence removal using ffmpeg

    15 octobre 2020, par Leo

    I wish to conduct a silence removal for wav files.

    


    import ffmpeg
inPath = "/home/test/Speech/Wang/dataset/testsets/disgust/0_002_00_021_F002_d.wav"
outPath = "/home/test/Speech/Wang/dataset/testsets/disgust/0_002_00_021_F002_d_trimed.wav"
ffmpeg -i inPath -af silenceremove=0:0:-50dB outPath


    


    Error occurred.

    


      File "", line 3
    ffmpeg -i inPath -af silenceremove=0:0:-50dB outPath
                   ^
SyntaxError: invalid syntax


    


    How should I assign the path ?

    


    The question is that why we set the threshold to a negative value ?

    


  • Generating thumbnail from video using php classes

    4 janvier 2014, par user2582858

    I was using the exec command to generate thumbnails via ffmpeg..
    My method was :

    exec("ffmpeg -f image2 -i /home/phedra/imgs/image/img%03d.png -r 12 -s 610x489 /home/phedra/imgs/video/out.avi", $out);

    but my senior team member told me that using exec command is not a good practice because it is a dangerous command and It may harm server.. So find any other technique.. I struggled alot but didnt find any comprehensive method other than this..
    Can anybody tell me anyother way to generate thumbnail from video using php class from scratch (With an example if possible), so that I could understand completely, Moreover also tell me the library link to download and settings for server if any setting needed to be done before using that technque(My server system is based on Ubuntu and the framework for developement is codeignitter)..

    (Third party api tool for generating thumbnail is also welcome but the necessary thing is that it must be free :))