Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (12961)

  • PHP create video thumbnail from remote url

    23 mars 2017, par user2918057

    I’ve my video storage on google cloud, I need to create the thumbnail for my videos it’s gonna be remote, I tried to use FFmpeg to create and getting the content of the thumbs, but it’s not working, it just returns null for me.

    public function create_video_thumb($video){

           $ffmpeg = '/usr/bin/ffmpeg';

           try{

               $cmd = "ffmpeg -i $video -deinterlace -an -ss 00:00:10 -vframes 1 -f image2 'test.jpg' ";

               $return = array(
                   'success'=>true,
                   'content' => $cmd
               );

           }catch (Exception $e){
               $return = $e->getMessage();
           }


           return   $return;
       }

    Return :

    {
         "sucess":true,
         "content":null
    }
  • Android Studio FFMPEG "Protocol not found"

    26 novembre 2022, par Whitestripe7773

    I am trying to run ffmpeg with android studio, but when I try the following code it shows this error message :

    


    E/mobile-ffmpeg : content ://media/external/video/media/68 : Protocol not found
E/mobile-ffmpeg : Did you mean file:content ://media/external/video/media/68 ?

    


    This is my code :

    


    inputVideo = "content://media/external/video/media/68"
videoTitle = "abc"
public void method(String inputVideo, String videoTitle) {
        String cmdLine = "-i " + inputVideo + " -vcodec libx265 -crf 28 file:" + videoTitle;
        FFmpeg.execute(cmdLine);
    }


    


    I think that the 'content :' in inputVideo leads to the error but I don't know how I could fix it.
Already tried out the following :

    


      

    • Add 'file :' in front of inputVideo and videoTitle
    • 


    • Removing 'content ://' from the string leads to not finding the file
    • 


    


  • Anomalie #4383 (Fermé) : SVP - svp_decider.php:256 - échec de la mise à jour d’un plugin à cause d...

    18 septembre 2019, par David SAUVAGE

    SPIP 3.2.1

    La mise a jour du plugin SCSS PHP échoue, semble t’il à cause d’un bug dans le plugin SVP de SPIP, qui essaie de faire un foreach sur un tableau non valide :

    svp_decider.php:256

    1. <span class="CodeRay">                            <span class="keyword">foreach</span> (<span class="local-variable">$d</span>[<span class="string"><span class="delimiter">'</span><span class="content">necessite</span><span class="delimiter">'</span></span>][<span class="integer">0</span>] <span class="keyword">as</span> <span class="local-variable">$i</span> => <span class="local-variable">$n</span>) {
    2.                                     <span class="local-variable">$d</span>[<span class="string"><span class="delimiter">'</span><span class="content">necessite</span><span class="delimiter">'</span></span>][<span class="integer">0</span>][<span class="local-variable">$i</span>][<span class="string"><span class="delimiter">'</span><span class="content">nom</span><span class="delimiter">'</span></span>] = <span class="predefined">strtoupper</span>(<span class="local-variable">$n</span>[<span class="string"><span class="delimiter">'</span><span class="content">nom</span><span class="delimiter">'</span></span>]);
    3.                             }
    4. </span>

    Télécharger

    Dans le cas du plugin SVCC PHP, il ne semble pas avoir de dépendance sur d’autres plugins, ainsi un warning PHP est levé et la mise à jour ne peut pas s’effectuer...
    Le contournement que j’ai utilisé consiste à exécuter le foreach uniquement lorsque le tableau est valide ;

    1. <span class="CodeRay">                             <span class="keyword">if</span>(<span class="predefined">is_array</span>(<span class="local-variable">$d</span>[<span class="string"><span class="delimiter">'</span><span class="content">necessite</span><span class="delimiter">'</span></span>][<span class="integer">0</span>])) {
    2.                                     <span class="keyword">foreach</span> (<span class="local-variable">$d</span>[<span class="string"><span class="delimiter">'</span><span class="content">necessite</span><span class="delimiter">'</span></span>][<span class="integer">0</span>] <span class="keyword">as</span> <span class="local-variable">$i</span> => <span class="local-variable">$n</span>) {
    3.                                            <span class="local-variable">$d</span>[<span class="string"><span class="delimiter">'</span><span class="content">necessite</span><span class="delimiter">'</span></span>][<span class="integer">0</span>][<span class="local-variable">$i</span>][<span class="string"><span class="delimiter">'</span><span class="content">nom</span><span class="delimiter">'</span></span>] = <span class="predefined">strtoupper</span>(<span class="local-variable">$n</span>[<span class="string"><span class="delimiter">'</span><span class="content">nom</span><span class="delimiter">'</span></span>]);
    4.                                     }
    5.                              }
    6. </span>

    Télécharger