Recherche avancée

Médias (91)

Autres articles (62)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8098)

  • Anomalie #3412 (Nouveau) : Préfixe de table non substitué lors de l’utilisation de lien vers un do...

    19 mars 2015, par Pascal Verrier

    Bonjour,

    Sur un SPIP neuf 3.0.17, sans aucun plugin, installé sous SQLite avec un préfixe de table particulier (ici "monprefixe" à la place de "spip"),
    après enregistrement d’une première rubrique et d’un premier article contenant un document (photo), le tout d’identifiants n°1,
    après insertion dans le corps de l’article du lien [->doc1] j’obtiens lors de l’enregistrement de l’article :
    Erreur SQL HY000 / 1<br />no such table: spip_documents<br />SELECT mime_type FROM monprefixe_types_documents WHERE extension IN (SELECT extension FROM spip_documents where id_document =1)

    En fait, le préfixe particulier a bien été substitué pour spip_types_documents mais pas pour spip_documents dans la sous-requête.

    Après examen du code, je constate dans /ecrire/inc/lien.php LL171-172 et /plugins-dist/textwheel/inc/lien.php LL419-420 :
       AND $mime = sql_getfetsel('mime_type', 'spip_types_documents',<br />            "extension IN (SELECT extension FROM spip_documents where id_document =".intval($id).")",<br />

    Je ne pense pas que la substitution de préfixe puisse fonctionner dans cette utilisation directe en sous-requête (?) d’où probablement cette erreur SQL.

  • Catalyst Open Source Academy

    16 janvier 2015, par Matthieu Aubry — Community

    The Open Source Academy is an initiative designed to provide training and work experience for young New Zealand technologists. Catalyst organises the Academy to show young technologists how to participate in open source communities and to fully explore their passion for IT through freely available open source tools.

    It has been running annually since 2011. We are proud that Piwik project could participate in the Academy again this year !

    What students got done

    It’s amazing what a few young students can get done in four days of participating in an open source project like Piwik ! They were able to quickly get started with Piwik, and continued to make useful contributions to the Piwik analytics platform.

    New Darkness theme

    Liam has created a new dark theme for Piwik called Darkness.

    Darkness theme

    To create the theme, Liam had to improve Piwik core stylesheets and created this pull request : Reuse the LESS variable for white color across all stylesheets.

    Accessibility improvements

    We were lucky to spend time with Julius, a Catalyst employee who is blind. He showed us in great detail how difficult and time consuming it can be for a blind user to use Piwik. For example we noticed how complicated it was for Julius to navigate the menus, to get to the main content, and to use the calendar and the Website selector. During this presentation we also noticed that Piwik was not yet usable with the keyboard.

    As a result of this session with Julius we got to work with the students to improve accessibility in Piwik.

    Accessibility session on Piwik

    (photo source)

    List of accessibility improvements

    All these pull requests were created by the students and have been successfully merged into Piwik :

    To learn more about accessibility in Piwik check out this issue on our tracker.

    Summary

    Working with young students was fun and interesting. We were excited to see how much they got done in such a short time !

    At Piwik and Piwik PRO we are committed to building the best open analytics platform, and we will continue to support students who want to take part in the Piwik adventure.

    Be well,

  • Read metadata with FFMPEG

    18 février 2015, par Martin Delille

    I’m looking for a way to print a video or audio file metadata using FFMPEG.

    I tried the following command :

    ffmpeg -i DirtyLove.mov

    And got the following result :

    ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers
     built on Feb 16 2015 18:01:39 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --disable-indev=qtkit --enable-vda
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 13.100 / 56. 13.100
     libavformat    56. 15.102 / 56. 15.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  2.103 /  5.  2.103
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Guessed Channel Layout for  Input Stream #0.2 : stereo
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../DirtyLove/DirtyLove.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2007-09-27 11:23:38
     Duration: 00:01:57.16, start: 0.000000, bitrate: 17918 kb/s
       Stream #0:0(eng): Video: mjpeg (jpeg / 0x6765706A), yuvj422p(pc, bt470bg/unknown/unknown), 720x576 [SAR 72:72 DAR 5:4], 14839 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2007-09-27 11:23:38
         handler_name    : Gestionnaire d�alias Apple
         encoder         : Photo - JPEG
         timecode        : 10:04:01:11
       Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
       Metadata:
         creation_time   : 2007-09-27 11:23:38
         handler_name    : Gestionnaire d�alias Apple
       Stream #0:2(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
       Metadata:
         creation_time   : 2007-09-27 11:23:38
         handler_name    : Gestionnaire d�alias Apple
       Stream #0:3(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2007-09-27 11:29:22
         handler_name    : Gestionnaire d�alias Apple
         timecode        : 10:04:01:11
    At least one output file must be specified

    There should be a timecode that I can’t see.

    Any ideas ?