Recherche avancée

Médias (91)

Autres articles (39)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (7562)

  • Anomalie #2307 : md5_boutons_plugins()

    21 juillet 2014, par marcimat ☺☮☯♫

    Et les traces pour voir plus clairement les 2 créations du même define (_UPDATED_boutons_plugins) :

    Premier passage (constante non définie)

    array (size=5)
      0 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 636
          ’function’ => string ’plugin_ongletbouton’ (length=19)
      1 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 530
          ’function’ => string ’plugins_precompile_xxxtions’ (length=27)
      2 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 431
          ’function’ => string ’ecrire_plugin_actifs’ (length=20)
      3 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc_version.php’ (length=58)
          ’line’ => int 391
          ’function’ => string ’actualise_plugins_actifs’ (length=24)
      4 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/index.php’ (length=52)
          ’line’ => int 21
          ’function’ => string ’include’ (length=7)
    

    Second passage (constante déjà définie)

    array (size=5)
      0 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 636
          ’function’ => string ’plugin_ongletbouton’ (length=19)
      1 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 530
          ’function’ => string ’plugins_precompile_xxxtions’ (length=27)
      2 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 431
          ’function’ => string ’ecrire_plugin_actifs’ (length=20)
      3 => 
        array (size=4)
          ’file’ => string ’[...]spip/plugins-dist/svp/exec/admin_plugin.php’ (length=74)
          ’line’ => int 52
          ’function’ => string ’actualise_plugins_actifs’ (length=24)
      4 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/index.php’ (length=52)
          ’line’ => int 151
          ’function’ => string ’exec_admin_plugin_dist’ (length=22)
  • FFMPEG doesn't convert from m4v files

    8 février 2014, par MattD

    I am trying to transcode an m4v file from iTunes so I can play it on Windows or XBox. I am running ffmpeg from Windows. Is there some -vcodec I need to specify or something I need to install ? Here's the command I'm running and the error I'm getting.

    Edit : Complete output

    ffmpeg version N-60393-g9707b53 Copyright (c) 2000-2014 the FFmpeg developers
     built on Feb  6 2014 22:07:13 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 63.101 / 52. 63.101
     libavcodec     55. 49.101 / 55. 49.101
     libavformat    55. 30.100 / 55. 30.100
     libavdevice    55.  7.100 / 55.  7.100
     libavfilter     4.  1.102 /  4.  1.102
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000268f620] stream 0, timescale not set
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000268f620] Stream #3: not enough frames to estimate rate; consider increasing probesize
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000268f620] Stream #4: not enough frames to estimate rate; consider increasing probesize
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000268f620] Could not find codec parameters for stream 1 (Video: none (drmi / 0x696D7264), 960x718, 3957 kb/s): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000268f620] Could not find codec parameters for stream 2 (Audio: none (drms / 0x736D7264), 48000 Hz, 5.1(side), 384 kb/s): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000268f620] Could not find codec parameters for stream 3 (Subtitle: none (p608 / 0x38303670), 1280x718, 0 kb/s): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Y:02 The Empty Hearse (HD).m4v':
     Metadata:
       major_brand     : M4V
       minor_version   : 0
       compatible_brands: M4V mp42isom
       creation_time   : 2014-01-13 18:51:33
       title           : [...]
       artist          : [...]
       album           : [...]
       genre           : Drama
       track           : 2/8
       disc            : 1/1
       date            : 2014-01-19T08:00:00Z
       description     : [...]
       hd_video        : 1
       network         : PBS
       show            : Sherlock
       episode_id      : 1
       season_number   : 3
       episode_sort    : 2
       media_type      : 10
       synopsis        : [...]
     Duration: 01:26:28.70, start: 0.000000, bitrate: 4505 kb/s
       Stream #0:0(eng): Audio: aac (drms / 0x736D7264), 48000 Hz, stereo, fltp, 156 kb/s (default)
       Metadata:
         creation_time   : 2014-01-13 18:51:33
         handler_name    : Apple Sound Media Handler
       Stream #0:1(eng): Video: none (drmi / 0x696D7264), 960x718, 3957 kb/s, SAR 4:3 DAR 640:359, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
       Metadata:
         creation_time   : 2014-01-13 18:51:33
         handler_name    : Apple Video Media Handler
       Stream #0:2(eng): Audio: none (drms / 0x736D7264), 48000 Hz, 5.1(side), 384 kb/s
       Metadata:
         creation_time   : 2014-01-13 18:51:33
         handler_name    : Apple Sound Media Handler
       Stream #0:3(eng): Subtitle: none (p608 / 0x38303670), 1280x718, 0 kb/s (default)
       Metadata:
         creation_time   : 2014-01-13 18:51:33
         handler_name    : Apple Closed Caption Media Handler
       Stream #0:4: Video: mjpeg, yuvj444p(pc), 640x640 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    File 'Sherlock.wmv' already exists. Overwrite ? [y/N] [buffer @ 0000000005fc5760] Unable to parse option value "-1" as pixel format
       Last message repeated 1 times
    [buffer @ 0000000005fc5760] Error setting option pix_fmt to value -1.
    [graph 0 input from stream 0:1 @ 00000000027d7da0] Error applying options to the filter.
    Error opening filters!
  • Anomalie #3245 (Nouveau) : Formulaire editer_liens affiché inutilement dans certains cas

    24 juillet 2014, par tcharlss (*´_ゝ`)

    Reproduire le comportement

    Pour observer le problème, je propose d’utiliser les mots-clés, qui se servent du formulaire « editer_liens ». Donc :

    • 1) Avoir au préalable des articles avec des mots-clés, et d’autres sans.
    • 2) Désactiver l’ajout de mots-clés aux articles pour tous les groupes de mots-clé.

    Résultat :

    • Les articles possédant des mots-clés comportent toujours le formulaire. Là, ça me semble normal.
    • Les articles ne possédant pas de mot-clé affichent eux aussi le formulaire. Là, ça me paraît erroné : il devrait être caché. Il n’a aucune utilité, et on a "désactivé" l’utilisation des mots-clés pour les articles, ça veut dire qu’on en veut pas.

    Continuons.

    • 3) Retirer tous les mots-clés liés aux articles.

    Résultat :

    • Maintenant, le formulaire n’est plus affiché, car plus aucun article ne possède de mot clé : on retrouve le comportement normal.

    Problème

    Le problème vient d’un test effectué dans charger : http://core.spip.org/projects/spip/repository/entry/spip/prive/formulaires/editer_liens.php#L94

    Le raisonnement actuel est le suivant : quand le formulaire n’est pas éditable, il est caché s’il n’existe aucun lien pour le type d’objet.
    Ou pour reprendre l’exemple des mots, plus parlant : le formulaire est caché s’il n’existe aucun mot lié à un article (n’importe quel article).
    Or je pense qu’il devrait être caché s’il n’existe aucun mot lié à l’article en cours.

    Donc, en remplaçant :

    objet_trouver_liens(array($objet_lien=>’*’),array(($objet_lien==$objet_source ?$objet :$objet_source)=>’*’))


    par :

    objet_trouver_liens(array($objet_lien=>’*’),array(($objet_lien==$objet_source ?$objet :$objet_source)=>$id_objet))

    On retrouve le comportement qui me semble "normal".