Recherche avancée

Médias (91)

Autres articles (42)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (7670)

  • split the video in several part using ffmpeg

    2 février 2012, par Himiko

    I want to write a small program with help of ffmpeg. I want to process a video by cut the video into several parts, left part, right part...etc.
    How can I do it using ffmpeg ? By the way, are there any documentation explain the API of the ffmpeg ?

  • Video converted to FLV using FFMPEG gets 0 size

    11 novembre 2011, par Sudhir

    I'm trying to convert avi file to flv format using FFMPEG on server, but its giving me problems. On conversion, the file is converted to flv format but no data (0 kb size file). Tried debugging the code but could not. The FFMPEG is installed in CentOS, in path /usr/bin/ffmpeg, and i'm using following command for conversion :

    $srcFile = "/home/mydomain/public_html/demo/test/sample.avi" ;
    $destFile = "/home/mydomain/public_html/demo/test/sample_again.flv" ;
    

    $ffmpegPath = "/usr/bin/ffmpeg" ;
    $flvtool2Path = "/usr/local/bin/flvtool2" ;

    $command = $ffmpegPath . " -y -i " . $srcFile . " -ar 32000 -ab 32000 -f flv -s 320x240 ".
    $destFile . " | " . $flvtool2Path . " -U stdin " . $destFile ;

    exec($command, $output) ;
    print_r($output) ;

    I tried doing :

    exec("which ffmpeg") ;
    

    And it gave me the path /usr/bin/ffmpeg, but get following error when i execute the code :

    Array ( 
    [0] => ERROR : undefined method `timestamp' for nil:NilClass 
    [1] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flv/stream.rb:285:in `lasttimestamp' 
    [2] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flv/stream.rb:274:in `duration' 
    [3] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:181:in `add_meta_data_tag' 
    [4] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:137:in `update' 
    [5] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `send' 
    [6] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `execute !' 
    [7] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `each' 
    [8] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `execute !' 
    [9] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:206:in `process_files' 
    [10] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:44:in `execute !' 
    [11] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2.rb:168:in `execute !' 
    [12] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2.rb:228 
    [13] => ERROR : /usr/local/bin/flvtool2:2:in `require' 
    [14] => ERROR : /usr/local/bin/flvtool2:2 
    ) 
    

    What could be the problem. Is this the problem of Flvtool2, if yes then what is it. Please suggest something

  • Ffmpeg Video Codec

    30 janvier 2012, par cilmaz

    I split video like this :

    ffmpeg -ss 00:15:00 -t 00:15:00 -i life.mp4 -acodec copy -vcodec copy life-2.mp4

    After the process i want to play splitted file on flash player (JW Player), it doesnt starts. It waits to download all af video and then start. But the source video (life.mp4) starts playing immediately. Why ?