Recherche avancée

Médias (91)

Autres articles (33)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

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

  • FFMPEG - Watermark video with same quality and filesize

    29 mars 2012, par ddlshack

    I have some videos, and I'd like to watermark them with a transparent PNG. Here's what I've tried :

    ffmpeg -i 9.flv -vf "movie=logo.png [watermark];[in][watermark] overlay=10:10 [out]" 9_w.flv

    However, bitrate or quality is not preserved. Preferably I'd like ffmpeg to re-encode the file with exactly the same settings as the original file (same codecs, bitrate). If thats not easily possible, I'd like to encode with a specific codec, but preserving 'quality', however that is measured.

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

  • 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