Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (37)

  • 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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • 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 (6466)

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


    


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