Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (93)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10335)

  • Using videoshow (npm module) with ffmpeg to conver audio+image into video

    31 mai 2017, par delesslin

    I’m trying to use the videoshow utility to combine a short audio clip with an image on my ubuntu system. I installed ffmpeg globally while in the root directory using :

    sudo apt-get install ffmpeg

    I then installed videoshow inside the project folder using :

    sudo npm install videoshow

    The project folder contains 3 files plus the node_modules folder : an image (wolf.jpg), an audio clip (wolf.mp3), and a js file (audio.js). I derived audio.js from an example script on the videoshow github page. Here is my script :

       var videoshow = require('videoshow')

    var images = [
     "wolf.jpg"
    ]

    var videoOptions = {
     fps: 25,
     loop: 5, // seconds
     transition: true,
     transitionDuration: 1, // seconds
     videoBitrate: 1024,
     videoCodec: 'libx264',
     size: '640x?',
     audioBitrate: '128k',
     audioChannels: 2,
     format: 'mp4',
     pixelFormat: 'yuv420p'
    }

    videoshow(images, videoOptions)
     .audio('wolf.mp3')
     .save('wolf.mp4')
     .on('start', function (command) {
       console.log('ffmpeg process started:', command)
     })
     .on('error', function (err, stdout, stderr) {
       console.error('Error:', err)
       console.error('ffmpeg stderr:', stderr)
     })
     .on('end', function (output) {
       console.error('Video created in:', output)
     })

    In the terminal, inside the project folder I then call :

    node audio.js

    The terminal is silent for a moment followed by :

       ffmpeg process started: ffmpeg -i /tmp/videoshow-db63732f-7376-4663-a7bc-c061091e579a -y -filter_complex concat=n=1:v=1:a=0 wolf.mp4
    ffmpeg process started: ffmpeg -i /tmp/videoshow-1f8851b4-c297-4070-a249-3624970dbb85 -i wolf.mp3 -y -b:a 128k -ac 2 -r 25 -b:v 1024k -vcodec libx264 -filter:v scale=w=640:h=trunc(ow/a/2)*2 -f mp4 -map 0:0 -map 1:0 -t 5 -af afade=t=in:ss=0:st=0:d=3 -af afade=t=out:st=2:d=3 -pix_fmt yuv420p wolf.mp4
    Error: [Error: ffmpeg exited with code 1: ]
    ffmpeg stderr: undefined

    I’m not sure why this isn’t working, but any/all assistance would be deeply appreciated...

    Hawu’h (thanks),
    Roo

  • Fail to restream with nginx-rtmp-module

    19 mai 2017, par Victor Ponomarenko

    I’m unable to start restream using command exec. Also I tried exec_pull.
    It didn’t help. My target is to restream rtmp://ktv.s4c.link/live/livestream url to my local nginx, to rtmp://localhost:1935/hls.
    /tmp/logs/ffmpeg.log is empty.
    I guess that exec not even called, but why ?

       rtmp {

       server {
       listen 1935;
       chunk_size 4096;

       application live {
           allow play all;
           live on;
           record off;
           #pull rtmp://ktv.s4c.link/live/livestream;
           exec ffmpeg -i rtmp://localhost:1935/live -f flv rtmp://localhost:1935/hls 2>>/tmp/logs/ffmpeg.log;
       }

           application hls {
           allow play all;
           live on;
           record off;
       }

       }

    I’m using nginx-1.12.0.
    I followed by this tutorial, watched this

  • Evolution #3819 : Pouvoir demander un module PHP dans paquet.xml

    7 février 2017

    Hum ça ça n’ennuie plus de backporter par contre.

    Par ailleurs ce n’est pas compliqué à intégrer. Ci-joint un patch rapide.

    J’ai testé en mettant dans z-core :
    - <necessite nom="php:curl"></necessite> OK
    - <necessite nom="php:CURL"></necessite> OK
    - <necessite nom="php:curly"></necessite> Pas OK (normal)

    Dans ce dernier cas, l’erreur affichée est :

    • Impossible d’activer le plugin ../plugins/zone/z-core
      • Nécessite le plugin PHP:CURLY

    Par contre, si on met juste ’php’ il indique bien :

    • Le plugin Z-core dépend de PHP [8.0 ;]

    Donc il faudrait ajouter une chaine de langue pour les extensions PHP aussi je suppose.