Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (39)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5525)

  • Sub-pixel rendering with imagettftext()

    8 mars 2016, par user1661677

    I’m creating an image sequence, and encoding it to a video using PHP, GD library and ffmpeg. You’ll see I’m animating the two text layers inversely of each other, on the X axis. And with some simple operators $i/2 and $i/3, I’m trying to make their movement slower in the final animation.

    The problem I’m having is that when the video is rendered out, each layer’s text is only moving ever second, and third frame, respectively. This causes the animation to be a bit ’jerky’ and just not as smooth as Adobe After Effects with it’s ability to support sub-pixel rendering of elements.

    Is there any way to get imagettftext(), or some other method of drawing on images to support sub-pixel rendering ?

    Thank you.

    for ($i = 1; $i <= 125; $i++) {

       // Text on Image
       $front = imagecreatefromjpeg('front.jpg');
       $white = imagecolorallocate($front, 255, 255, 255);
       $text = 'some text';
       $text2 = 'some other text';
       $font = '/var/www/html/test/OpenSans-Bold.ttf';

       // Add text
       imagettftext($front, 60, 0, 1340-($i/2), 720, $white, $font, $text);
       imagettftext($front, 35, 0, 1240+($i/3), 800, $white, $font, $text2);

       // Write image to file
       imagejpeg($front, "images/".$i.".jpg", 100);
    }
  • Don't work some keys of coding in FFmpeg

    17 décembre 2015, par Plush
    <?
       // $videoPath — path to the video file
       // $newVideoPath — path of the resultant video file

       exec('/usr/bin/ffmpeg -i ' . $videoPath . ' -vcodec libx264 -profile high -level 3.1 -s 1280x720 -sar 1:1 -aspect 16:9 -b:v 3800K -dct8x8 1 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -refs 5 -fast-pskip 0 -subq 9 -me_method full -me_range 32 -mbd rd -flags +mv4+qpel -g 40 -keyint_min 4 -bf 2 -direct-pred 1 -b_strategy 2 -b-pyramid 1 -weightb 1 -weightp 2 -coder 1 -qmin 0 -qdiff 1 -acodec libfaac -ac 2 -ar 48000 -ab 192K ' . $newVideoPath);

    I defined keys which don’t work :
    - dct8x8 1 - partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 (coding of video doesn’t work)
    - me_method full (the video file is coded, but it isn’t started in a player)
    FFmpeg version : 1.2.6

    How to involve an adaptive method of transformations 8x8 in an I-shot and to set a method of an assessment of the movement of full pixel as full ?

  • Piwik analytics database : migrating from MySQL to MariaDB

    11 novembre 2015, par Piwik Core Team — Meta

    This short blog post is an announcement regarding the Piwik technology stack.

    Piwik compatible with MySQL and MariaDB

    Since our first public release Piwik uses the open source database server MySQL to store the analytics data.

    Piwik is also compatible with MariaDB. MariaDB is an enhanced, drop-in replacement for MySQL.

    Upgrading to MariaDB

    Many users from our community as well as Piwik Scalability Experts have confirmed that using MariaDB for Piwik has several advantages. MariaDB has in some cases significantly improved query performance and reliability of Piwik. Because MariaDB 5.5 is a complete drop-in-replacement for MySQL 5.5, upgrading can be as easy as running apt-get install mariadb-server (or equivalent for your platform). Existing third party techologies such as TokuDB (FAQ) and Galera are fully compatible with MariaDB.

    Learn more about upgrading to MariaDB : Upgrading from MySQL to MariaDB

    In the future, Piwik will stay compatible with both MySQL and MariaDB.