Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9231)

  • FFMPEG Drag and Drop sh file

    29 avril 2021, par WFCDefi

    On Windows I have a simple batch file which I drop video files onto to convert to webms, it saves a lot of time as I prefer to just use the same configuration and don't care much about the names.

    


    @echo off 
echo. 
ffmpeg -i %1 -c:v libvpx-vp9 -quality good -cpu-used 2 -b:v 5000k -qmin 15 -qmax 45 -maxrate 500k -bufsize 1500k -framerate 60 -threads 8 -vf scale=-1:1080 -c:a libvorbis -b:a 192k -f webm %1.webm 
pause


    


    I know the .bat file won't really work in Linux (I'm on pop os so pretty much Ubuntu) so with the other lines removed and the %1 changed to $1 it works. It won't do anything if I try dragging and dropping a video file onto it though.

    


    I can type sudo then drag and drop the .sh file followed by a video into a terminal and press enter and it will have the same effect as dragging a video file onto a bat file in Windows.

    


    Is there a way to recreate dragging and dropping a file directly onto another and it executing in Linux or is the terminal the only way ?

    


  • retriving video details with ffprobe in php

    15 juillet 2014, par Roohbakhsh Masoud

    i’m using this command for retrieve video information in ubuntu terminal :

    ffprobe -show_streams sample.mp4

    this command show all information about video in terminal, but when i use this command in php and use exec function to retrieve result , return

    string(0) ""
    {}

    how i can retrieve result in php ?

    my code :

       public function information($ffmpeg,$file)
       {
         $info = exec("$ffmpeg -show_streams $file");
         return $info;
       }
  • retriving video details with ffprobe in php

    16 mai 2023, par Roohbakhsh Masoud

    i'm using this command for retrieve video information in ubuntu terminal :

    



    ffprobe -show_streams sample.mp4


    



    this command show all information about video in terminal, but when i use this command in php and use exec function to retrieve result , return

    



    string(0) ""
{}


    



    how i can retrieve result in php ?

    



    my code :

    



        public function information($ffmpeg,$file)
    {
      $info = exec("$ffmpeg -show_streams $file");
      return $info;
    }