Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (97)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (12446)

  • Discord bot leaving voice channel immediately after joining

    17 janvier 2018, par Forb

    I am building a bot for my discord server to play the audio YouTube videos as I haven’t found a reliable bot online.

    The bot connects to my voice channel after I type the !play url command but immediately leaves even if the URL is valid.

    My code is below :

    [Command("play", RunMode = RunMode.Async)]
    public async Task play(string url) {
       IVoiceChannel channel = (Context.User as IVoiceState).VoiceChannel;
       IAudioClient client = await channel.ConnectAsync();

       var output = CreateStream(url).StandardOutput.BaseStream;
       var stream = client.CreatePCMStream(AudioApplication.Music, 128 * 1024);
       output.CopyToAsync(stream);
       stream.FlushAsync().ConfigureAwait(false);
    }

    private Process CreateStream(string url) {
       Process currentsong = new Process();

       currentsong.StartInfo = new ProcessStartInfo {
           FileName = "cmd.exe",
           Arguments = $"/C youtube-dl -o - {url} | ffmpeg -i pipe:0 -ac 2 -f s16le -ar 48000 pipe:1",
           UseShellExecute = false,
           RedirectStandardOutput = true,
           CreateNoWindow = true
       };

       currentsong.Start();
       return currentsong;
    }

    I have tried using just ffmpeg with a file on my PC which was hard coded in, but I had the same result and the bot left the voice channel as soon as it connected.

    I did verify that both ffmpeg and youtube-dl were working by running the commands in a cmd window and they both ran fine.

  • RTP streaming with FFMPEG [closed]

    24 octobre 2012, par Aniket Awati

    I am trying to use rtp streaming using ffmpeg. I am taking input from pulseaudio and creating an rtp stream.
    i.e.
    ffmpeg -re -f pulse -ac 2 -i SOURCE -ac 2 -acodec libmp3lame -re -f rtp rtp ://192.168.1.4:70000

    this is the sdp output that I get.

    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 192.168.1.4
    a=tool:libavformat 54.20.100^M
    m=audio 7000 RTP/AVP 14^M

    Now when I play this SDP from the same machine it runs.
    But when I try to play it from other machines in the lan, it doesn't run.
    For eg. using mplayer I get - Can't get stream info - error.

    What is going wrong here ?

    Or should I be using some other server for streaming ?

  • Best way to split multi channel audio file in Swift [on hold]

    8 mars 2016, par amkaufman

    I’m currently working on an iOS project in which I need to be able to split a multi-channel .AAC file. I’m still fairly new to iOS development and Swift and am not sure if the frameworks that I have seen will be able to do this.

    So far I have looked into AVFoundation and FFmpeg, but I’m still not sure if they would be able to do this.

    After looking into AudioKit’s documentation I am still a bit lost on how to actually split the file into its separate channels. Where exactly should I be looking ?