Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (60)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • Is -vfilter not available on Debian 5 ?

    3 octobre 2011, par Kor

    I'm getting problems trying to make my website (done in PHP) work online.
    At a specific time, I need to upload a video and convert it, also scaling its dimensions. I use a call like this one :

    ffmpeg -y -i '/path/to/video.mp4' -f flv -ab 56 -ar 22050 -r 20 -vfilter "scale=704:-1" '/path/to/new/video.flv'

    It works offline on my computer (Ubuntu 10.10), but it doesn't do the same online (Debian Lenny 5.0). The response I get from the server is :

    [Mon Oct 03 15:48:56 2011] [error] [client 81.184.6.124] /servers/path/to/ffmpeg: unrecognized option '-vfilter'

    I have also tried with '-vf', but it just doesn't work at all. So my question is, am I doing it wrong, or is it that Debian unables video filters for some reason ?

    I give you some info about this server :

    Debian 5.0
    PHP: 5.2.6
    FFmpeg r11872+debian_0.svn20080206-18+lenny1
    libavutil   3212800
    libavcodec  3355136
    libavformat 3409664
    libavdevice 3407872

    EDIT : Oh my, I just saw it. No libavfilter installed. I'll tell you what their support tells me in a couple hours.

  • How to optimize video to animated GIF conversion using PHP + shell commands

    15 mars 2012, par user1070798

    I have a web application that converts any video into an animated GIF. The app runs in PHP and the following steps are executed through php's shell_exec :

    1. Scale video to smaller dimensions, if they are large (ffmpeg -i $in -s 200x150 -an $out)
    2. Use ffmpeg to extract 1 jpeg every x seconds (ffmpeg -i $in -ss $ss -vframes 1 $out)
    3. Convert jpegs to animated GIF using imagick (convert -delay $delay -loop 0 $dir/* $out)

      aside - the reason I don't use the ffmpeg gif89a output is because the quality sucks.

    I want to be able to except any major image format, but the most common will probably be .flv (flash) and .avi/.mpg.

    My application runs fine, but I am a perfectionist and it needs to be faster for scalability.

    My web server has 16 cores and I would like to utilize them as much as possible, but .flv multi-threading appears to not be supported by ffmpeg, while .avi and some others are supported. Also, ffmpeg doesn't support multi-threading when outputting to jpegs.

    Does anyone know of any other programs that support multi-threading for .flv and others ? Are there any more efficient methods to create an animated GIF from video, while maintaining relatively decent quality (aka not the 100-color palette that ffmpeg supports) ?

    Also, if anyone knows which codecs might perform best for stages 1 and 2, particularly with flv, I'd love to know. I've done hours of testing, but there are just so many options I haven't come to any solid conclusions.

    ***Update : My online app is working well so far animated gif generator. I would still love to make it faster though, so if anyone has run into similar circumstances... let me know !

  • PHP FFmpeg conversion issues for mp4 files

    20 avril 2013, par Rouge

    I want to get the images out of a mp4 file by using ffmpeg-php.

    I have

    $str_command= '/usr/bin/ffmpeg -i /test/ts.mp4 -r 1 -ss 00:00:10 -t 00:00:01 -s 300x300 -f image2 /test/images/';
    shell_exec($str_command);

    However, I got an error message saying

    Buffering several frames is not supported. Please consume all available frames before adding a new one.

    I have spent hours on web but couldn't find the answer for this. Can anyone help me about this ? Thanks so much !