Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (59)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (8385)

  • ffmpeg low fps and high latency

    1er août 2018, par chrifdexter97

    i want to broadcast my webcam using ffmpeg to an rtmp nodejs server. i had a couple of issues : the fps is locked between 8-15 frame/s plus a high latency while playing the stream using ffplay.
    this is the server code :

    const { NodeMediaServer } = require('node-media-server');

    const config = {
    rtmp: {
    port: 1935,
    chunk_size: 60000,
    gop_cache: true,
    ping: 60,
    ping_timeout: 30
    },
    http: {
    port: 8000,
    allow_origin: '*'
    }
    };

    var nms = new NodeMediaServer(config)
    nms.run();

    the command line to start the webcam broadcast :

    ffmpeg -re -i /dev/video0 -c:v libx264 -preset superfast -tune zerolatency -f flv rtmp://localhost/live/STREAM_NAME

    the command line on the receiver end :

     ffplay http://localhost:8000/live/STREAM_NAME.flv

    the server process uses 0.7 % cpu and 2.8 % mem
    ffmpeg process uses 10-11 % cpu and 3.4 % mem

  • How to read raw audio data using FFmpeg ?

    6 juin 2020, par Yousef Alaqra

    I'm trying to use this command to get the audio stream using UDP :

    



    ffmpeg -i udp://192.168.1.1:6980 -acodec copy


    



    I got an error when I execute it, which says :

    



    [udp @ 00000157a76b9a40] bind failed: Error number -10048 occurred
udp://192.168.1.1:6980: I/O error


    



    What's the meaning of this error ?

    



    Update :

    



    I was able to read raw audio data using FFmpeg and output into a wave file, using the following command :

    



    ffmpeg -f u16be -ar 44100 -ac 2 -i 'udp://127.0.0.1:1223' output.wav


    



    The problem now, Sine there is surrounding metadata in the network packets being received, it needs to be stripped out or it will result in noise.

    



    In C# I used Skip() to trim the first 28 bytes of the received packet, how would I achieve this using FFmpeg ?

    



    Update :

    



    I was able to read the raw bytes from UDP packets using by executing child process in node js :

    



    var http = require("http");
var port = 8888;
var host = "localhost";
var children = require("child_process");

http
  .createServer(function (req, res) {
    //ffmpeg -f s16le -ar 48000 -ac 2 -i 'udp://192.168.1.230:65535' -b:a 128k -f webm -
    var ffm = children.spawn(
      "ffmpeg",
      "-f s16le -ar 48000 -ac 2 -i udp://192.168.1.230:65535 -b:a 128k -f webm -".split(
        " "
      )
    );

    res.writeHead(200, { "Content-Type": "audio/webm" });
    ffm.stdout.on("data", (data) => {
      console.log(data);
      res.write(data);
    });
  })
  .listen(port, host);

console.log("Server running at http://" + host + ":" + port + "/");


    



    As you can see in the code sample above, I'm trying to pipe the output of the child process into the response, so I would be able to hear the audio in the browser.

    



    I'm receiving the data, after executing the child process, but the browser unable to play audio for some reason that I need to figure it out.

    



    Do you have an idea of what am I missing ?

    


  • Macports, ffpmeg, mpv on High Sierra [on hold]

    21 novembre 2017, par chris

    Has anyone seen this error on macports ?

    I’ve already installed Xcode and agreed license.

    Checked the logs and appears there’s an issue with audiotoolbox :

    :info:configure ERROR: audiotoolbox requested but not found

    Best, Chris

    Chris-MacBookAir:apps chrisbridges$ sudo port install mpv
    Password:
    --->  Computing dependencies for mpv
    The following dependencies will be installed:
    ffmpeg
    libcddb
    libcdio
    libcdio-paranoia
    libdvdcss
    libdvdnav
    libdvdread
    lua52
    popt
    rubberband
    youtube-dl
    Continue? [Y/n]: Y
    --->  Configuring ffmpeg
    Error: Failed to configure ffmpeg: configure failure: command execution failed
    Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details.
    Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    Error: Processing of port mpv failed
    Chris-MacBookAir:apps chrisbridges$