Recherche avancée

Médias (91)

Autres articles (84)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5939)

  • Loading ffmpeg-php module fails

    21 août 2013, par i.h4d35

    I've been trying this for a couple of days now. I am trying to install ffmpeg-php on my CentOS server.

    • OS : CentOS 6
    • PHP : 5.5
    • ffmpeg : 1.2.1
    • ffmpeg-php : 0.6.0

    The ffmpeg installation went on without a hitch and I am able to convert files back and forth via the CLI.

    While installing ffmpeg-php, I encountered errors while making (after configuring) due to time.h references which was corrected by renaming the files creating with an extension .loT to .lo (as rightly pointed out here)

    Once this was done, the make process went on smoothly and the make install went through without a hitch. However, after specifying the extension=ffmpeg.so in the php.ini file and after restarting Apache, the module doesn't load or show up in phpinfo().

    The Apache error log shows only "PHP Warning : PHP Startup : Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0" and nothing else.

    make test also shows the same error and FAILS the associated tests. I've checked here which wasn't very helpful. Also, I read somewhere that it may be the issue with permissions but the permissions for the ffmpeg.so file is 755.

    Any help is appreciated.

    Thanks in advance.

  • error of streaming video using fluent-ffmpeg node.js module

    23 mai 2013, par user824624

    I am running the fluent-ffmpeg sample to stream the video, which works well. Now in contract show the video in flashe version based flowplayer, I am now using html5 version flowplayer, but it said the video file not found.

    app.get('/video2/abc', function(req, res) {

     console.log('/video/:filename');
     res.contentType('mp4');
     var pathToMovie = 'public/flowplayer/470x250.mp4' ;
     var proc = new ffmpeg({ source: pathToMovie, nolog: true })
       .writeToStream(res, function(retcode, error){
         if(error) console.error('error',error);
         else console.log('file has been converted succesfully');
       });
    });

    here is my html template.

       
           
           <code class="echappe-js">&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js&quot;&gt; &lt;/script&gt;

    &lt;script src=&quot;http://releases.flowplayer.org/5.4.0/flowplayer.min.js&quot;&gt;&lt;/script&gt;

    &lt;script&gt;<br />
      // global configuration (optional)<br />
      flowplayer.conf = {<br />
         rtmp: &quot;rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st&quot;,<br />
         swf: &quot;http://releases.flowplayer.org/5.4.0/flowplayer.swf&quot;<br />
      };<br />
    <br />
      // force flash with query - only for testing, do not use this switch in production!<br />
      if (/flash/.test(location.search)) flowplayer.conf.engine = &quot;flash&quot;;<br />
    <br />
      // install player manually<br />
      $(function() {<br />
         $(&quot;.player&quot;).flowplayer({<br />
            // reverse fraction of video aspect ratio<br />
            // video dimensions: 470px / 250px<br />
            ratio: 25/47<br />
         });<br />
      });<br />
    &lt;/script&gt;
  • FFmpeg add a text to last image only

    29 mai 2018, par BentCoder

    I managed to create a video from set of non-sequential images and attached an audio to it. Also I added a "Copyright" text on top right hand corner so that the text appears throughout the video. However, I would like that text to appear only on the last image. How should I change my code below to address this ?

    ffmpeg \
    -thread_queue_size 512 -f image2 -pattern_type glob -framerate 1/3 \
    -i '*.jpg' \
    -i 'audio.mp3' \
    -c:a aac -c:v libx264 \
    -vf scale=640:480, format=yuv420p, drawtext="text='Copyright':fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5:x=w-tw-5:y=5" \
    -preset medium \
    video.mp4