Recherche avancée

Médias (91)

Autres articles (28)

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

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (4546)

  • examples/hw_decode : Use hw-config information to find pixfmt

    28 novembre 2017, par Mark Thompson
    examples/hw_decode : Use hw-config information to find pixfmt
    

    This removes all remaining device-type specificity.

    • [DH] doc/examples/hw_decode.c
  • ffmpeg - works through terminal, but not online

    13 mars 2014, par stinkysGTI

    I have installed ffmpeg onto the server using the terminal. All I need it for is to generate a thumbnail when someone uploads a video. I tested the command in Terminal, and it works great. However, when I post it to the site, nothing happens. No errors and no thumbnails are generated.

    Does anybody know why this is ? I read something about the server is running as a different user than what I log in with. I don't really understand that though, and there was no information on how to gain the proper permissions or switch to a user that has the permissions already. All I found was how to show the current user and list all users through SSH.

    When I try and do anything in Terminal using usermod, I get the following error :

    -bash: usermod: command not found

    So can I modify permissions for a user, or change the user that it's using somehow ?

  • 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/*