Recherche avancée

Médias (91)

Autres articles (96)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4827)

  • #/bin/sh in one line

    27 juillet 2012, par GoodGuyGreg

    I'm working on some Haskell project using FFmpeg. I need to batch create from a media folder with MP4 files and create screenshots from all of them. I got the code and am using it on a terminal in Unix. It works, but how do I make it in one line to be executed in system "xxxx" in Haskell ?

    If not using several system"xx"...

    #/bin/sh
    for i in $(ls *.mp4)
    do
       ffmpeg -i $i -vframes 7 -y -ss 10 -s 150x150 -an -sameq -f image2 -r 1/5  $i%1d.jpg
    done

    I tried :

    import System.Cmd
    function = do{system "#/bin/sh";
    system "for i in $(ls *.mp4)";
    system "do";
    system "ffmpeg -i $i -vframes 7 -y -ss 10 -s 150x150 -an -sameq -f image2 -r 1/5  $i%1d.jpg";
    system "done";}

    but it gives a error :

    -vframes: No such file or directory
    /bin/sh: Syntax error: "done" unexpected
  • ffmpeg record audio from Xvfb on Centos

    25 mai 2017, par boygiandi

    I’m trying to record audio from Xvfb. And I have some problems :

    1. What’s the different between alsa and pulse. I get confuse
    2. Server Centos have no soud card :

    arecord -l

    arecord : device_list:268 : no soundcards found...

    1. I may have many Xvfb process, how to record video and audio from specific Xvfb process. I checked this https://trac.ffmpeg.org/wiki/Capture/ALSA#Recordaudiofromanapplication but still don’t understand how it works.

    ffmpeg -f alsa -ac 2 -i hw:0,0 -acodec pcm_s16le output.wav

    I seen many command like this, but I don’t know how to get hw:0,0 ( id of sound card ? )

    Please help. Thanks

  • Executing ffmpeg from Python

    24 mars 2016, par shardulc

    I’m trying to run ffmpeg on all the WAV files in a directory to convert them to mp3. This command works fine when I run it from the command-line, on my Fedora Linux machine :

    /usr/bin/ffmpeg -i "Name With Spaces.wav" Name_With_Spaces.mp3

    where Name With Spaces.wav is a file in the current directory. However, in Python 3.2 running in the same directory :

    import os
    files = os.listdir()
    os.execl('/usr/bin/ffmpeg', '-i \"' + files[0] + '\"', files[0][:-4].replace(' ', '_') + '.mp3')

    gives me the error (from ffmpeg) : At least one input file must be specified. I don’t see why this isn’t working, because '-i \"' + files[0] + '\"' evaluates to -i "Name With Spaces.wav" and files[0][:-4].replace(' ', '_') + '.mp3' evaluates to Name_With_Spaces.mp3.

    I’ve tried escaping spaces, using different quotation marks, using the full path (like /home/.../music/Name\ With\ Spaces.wav), and actually replacing the arguments with the real text, but nothing works. How can I get this to work ?