Recherche avancée

Médias (91)

Autres articles (56)

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

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

Sur d’autres sites (7708)

  • Example of streaming YouTube audio using FFMPEG

    15 avril 2020, par Dupe

    I would like to use FFMPEG to stream YouTube audio to another source

    



    using (var ffmpeg = CreateProcess(track.GetUrl()))
using (var stream = client.CreatePCMStream())
{
    try { await ffmpeg.StandardOutput.BaseStream.CopyToAsync(stream); }
    finally { await stream.FlushAsync(); }
}


    



    Where CreateProcess() looks like this :

    



    private Process CreateProcess(string url)
{
    return Process.Start(new ProcessStartInfo
    {
        FileName = "ffmpeg.exe",
        Arguments = $"-hide_banner -loglevel panic -i \"{url}\" -ac 2 -f s16le -ar 48000 pipe:1",
        UseShellExecute = false,
        RedirectStandardOutput = true
    });
}


    



      

    • url represents the YouTube video URL.
    • 


    • client represents a Discord audio client, to which I want to copy the stream to.
    • 


    • I am using Discord.Net (latest stable).
    • 


    



    The arguments do not seem to be correct as there is no playback and no such exception is returned.

    


  • Streaming to YouTube from DJI-SDK [on hold]

    31 janvier 2018, par d0n13

    I’m trying to figure out how to take the camera frames in the DJI-SDK and push them to some form of encode so that I can create a live stream for YouTube.

    Has anybody got this working ? I understand most people use FFmpeg for streaming but my understanding is basic enough on how that project works.

    I’d love if somebody could share some resources on how we could go about getting this to work. I’ve seen the question on the web but I’ve found nothing that comes close to getting a solution for this.

    I need it for a project and there is a commercial solution available but it’s expensive and I can’t afford it and I’d be happy enough to code this if I can understand how to go about it and maybe get some help.

    I’d be happy enough to make an open source version of this is anyone can help.

    Thanks guys, hope we can make this...
    Donie

  • Live stream prerecorded video to YouTube using FFMPEG with 4500 kbps bitrate

    9 avril 2023, par Rsan

    I tried various ways to make a live streaming script with a bit rate according to YouTube's recommendation of 4500 Kbps bit rate.
The code :

    


    ffmpeg -re -stream_loop -1 -i live1.mp4 -c copy -preset veryfast -b:v 7000k -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv -flvflags no_duration_filesize rtmp://a.rtmp.youtube.com/live2/(streamkey)

    


    and in my current code, there is an error when live : Use a keyframe frequency of four seconds or less. Currently, keyframes are sent infrequently which can cause buffering. The current keyframe frequency is 5.0 seconds. Please note that errors in the transfer process can cause the size of the GOP (group of images) to be incorrect.

    


    How to fix my code ?

    


    I've tried several ways, but the bit rate is still high, and the error is in YouTube Studio