Recherche avancée

Médias (0)

Mot : - Tags -/xml-rpc

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

Autres articles (66)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (9388)

  • bethsoftvid : Set video packet duration instead of accumulating pts.

    19 janvier 2012, par Justin Ruggles

    bethsoftvid : Set video packet duration instead of accumulating pts.

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