Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (42)

Sur d’autres sites (7387)

  • bethsoftvid : set packet key frame flag for audio and I-frame video packets.

    19 janvier 2012, par Justin Ruggles

    bethsoftvid : set packet key frame flag for audio and I-frame video packets.

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

  • ffmpg : generate very small size video out of pictures

    15 février 2012, par jfas

    Using JPEG pictures, I'd like to generate a video with the smallest possible size. In the ffmpeg doc, it says one can use a 1 fps frame rate. Is it possible to go below that to have a even smaller video file size (like 1 new picture displayed every 2-3secs ?)