Recherche avancée

Médias (91)

Autres articles (71)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (10711)

  • How to draw text in center in center with ffmpeg [duplicate]

    12 juin 2019, par Florijan Allaraj

    This question already has an answer here :

    I am creating video with ffmpeg. How to center text ? Also, my text have new lines.
    Here is my code :

    $json = json_decode($array[$j][$i]->text, true);
                   $remove_BSN = str_replace('\\', "\'\\'", addslashes($json['text']));
                   //max possible number of percents in text. Suppose 200
                   $max_count = 200;
                   $add_slashes_for_percent = str_replace("%","\\\\\\\\\\\\%",$remove_BSN, $max_count);
                   // print_r($add_slashes_for_percent);
                   $command_string .= ' && ffmpeg -y -i generated' . $unix_time . '.mp4 -filter_complex "drawtext="fontfile=/home/livescreen_fonts/'
                                       . str_replace(' ', '', $json["font_family"]). '.ttf:' . '"' . "text=" . "'" . $add_slashes_for_percent . "'". ": fontcolor=white: fontsize=" . $json['font_size'] . ":" . $layout_string
                                       . ":" . "fontcolor_expr=" . $json['font_color'] . "%{eif\\\\\\\\: clip(255*(1*between(t\\\\, $DS + $FID\\\\, $DE - $FOD) + "
                                       . "((t - $DS)/$FID)*between(t\\\\, $DS\\\\, $DS + $FID) + (-(t - $DE)/$FOD)"
                                       . "*between(t\\\\, $DE - $FOD\\\\, $DE) )\\\\, 0\\\\, 255) \\\\\\\\: x\\\\\\\\: 2 }:"
                                       . "enable='between(t," . ($this->parseStartTime($array[$j][$i]->start_time) - $substracted_delay) . ","
                                       . ($this->parseStartTime($array[$j][$i]->start_time) + $array[$j][$i]->duration + $added_delay) . ")'"
                                       . '"' . " -codec:a copy temp" . $unix_time . ".mp4 2>&1";

    and here is th

    {"text":"promozione del 50 per 100 su tutta la \nmerce disponibile magazzino ","font_color":"#0000ff","font_size":25.6,"font_family":"carbon"}
  • 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.

  • Revision 7354eeba75d427a173bc4e71fd8ca830e02264cb : PG-like is not like MySQL-like (M. Moy) git-svn-id : ...

    25 août 2010, par Committo,Ergo:sum — Log

    PG-like is not like MySQL-like (M. Moy) git-svn-id : svn ://trac.rezo.net/spip/branches/spip-2.1@15973 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d