Recherche avancée

Médias (91)

Autres articles (32)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (7322)

  • cmdutils : Only do the windows-specific commandline parsing on _WIN32

    7 août 2013, par Diogo Franco
    cmdutils : Only do the windows-specific commandline parsing on _WIN32
    

    Fixes commandline parsing on Cygwin (on 64 bit, and on very recent
    32 bit), where the configure check does find the CommandLineToArgvW
    function (since it exists in the link libraries and in the headers),
    but whose GetCommandLineW() only returns the application’s path.
    (This is due to a cygwin internal optimization, see
    http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.)
    Arguments are only given through main’s argc/argv, and they’re already
    UTF-8.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] cmdutils.c
  • cmdutils : Only do the windows-specific commandline parsing on _WIN32

    7 août 2013, par Diogo Franco
    cmdutils : Only do the windows-specific commandline parsing on _WIN32
    

    Fixes commandline parsing on Cygwin (on 64 bit, and on very recent
    32 bit), where the configure check does find the CommandLineToArgvW
    function (since it exists in the link libraries and in the headers),
    but whose GetCommandLineW() only returns the application’s path.
    (This is due to a cygwin internal optimization, see
    http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.)
    Arguments are only given through main’s argc/argv, and they’re already
    UTF-8.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] cmdutils.c
  • Recording audio with FFMPEG works in terminal but not through exec() of PHP

    8 août 2013, par lucasalmeida92

    I use this command to RECORD audio and video from my webcam in terminal and it works !

    ffmpeg -f video4linux2 -r 25 -sameq -s 640x480 -i /dev/video0 -f alsa -i plughw:0,0 -ar 22050 -ab 128k -y webcam.flv

    But when I do it through PHP, like this :

    echo shell_exec('ffmpeg -f video4linux2 -r 25 -sameq -s 640x480 -i /dev/video0 -f alsa -i plughw:0,0 -ar 22050 -ab 128k -y webcam.flv 2>&1 &') ;

    I receive that log :

    ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Apr 2 2013 17:02:36 with gcc 4.6.3 * THIS PROGRAM IS DEPRECATED * This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [video4linux2 @ 0x23579a0] Estimating duration from bitrate, this may be inaccurate Input #0, video4linux2, from '/dev/video0' : Duration : N/A, start : 4868.729067, bitrate : 122880 kb/s Stream #0.0 : Video : rawvideo, yuyv422, 640x480, 122880 kb/s, 25 tbr, 1000k tbn, 25 tbc Home directory /var/www not ours.

    ALSA lib pcm_hw.c:1401 :(_snd_pcm_hw_open) Invalid value for card [alsa @ 0x23589e0] cannot open audio device plughw:0,0 (No such file or directory) plughw:0,0 : Input/output error

    Before I got that Mic device problem I was having problem with the Webcam device's permissions, then i did :

       sudo chmod -R 777 /dev/video0

    And the video capture was ready to be used ! But now I got this Mic device problem !

    I think it can be about permissions too, but I dont know linux very well and have no idea how to fix that !

    Thanks !


    I just found the solution ! =x

    sudo chmod -R 666 /dev/snd/*