Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (68)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8560)

  • Streaming ALSA to rtsp stream using ffmpeg

    12 février 2019, par Demosthenes

    I would like to stream audio captured using an ALSA microphone with ffmpeg. I can capture the video to a file, what I want is ffmpeg to start an rtsp server which can be accessed by (multiple) clients in my local network. But I can’t even make it work with one client so far.

    What I tried so far :

    ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0  -t 10 test.wav

    This is working perfectly. File is saved and can be played back. So input is alright.

    ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0  -f rtsp rtsp_transport tcp rtsp://localhost:8090/live.sdp

    Trying this dry will result in an error it cannot connect to the server. Which is odd, I want to tell ffmpeg to start a server. So I’m starting one using

    ffserver ffserver.conf

    with a config file containing

    Port 8090
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog -
    NoDaemon
    <feed>
    </feed>

    This starts a server, or so it would seem. Now, trying the ffmpeg command from above again, I get

    [tcp @ 0x11d2490] Connection to tcp://localhost:8090?timeout=0 failed (Connection refused), trying next address
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing inputStream mapping:
     Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
       Last message repeated 1 times

    So I thought, maybe I should state an output codec, so :

    ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -codec:a libmp3lame -q:a 2  -f rtsp rtsp_transport tcp rtsp://localhost:8090/live.sdp

    which gives pretty much the same error, just with a different codec :

    [tcp @ 0x24d8630] Connection to tcp://localhost:8090?timeout=0 failed (Connection refused), trying next address
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing inputStream mapping:
     Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
       Last message repeated 1 times

    Any hints to what I am missing ?

  • How can I use a pointer to a pointer in c# ?

    24 juin 2013, par user91986

    I am using C# in Visual Studio 2012 to call a function that is included in a set of external libraries that my project requires. The function requires a double pointer to be passed in but I'm not sure of the exact syntax. Single pointers work great for me. I am using the unsafe keyword.

    AVFormatContext _file = new AVFormatContext();

    fixed (AVFormatContext* p_file = &amp;_file)
    {
      avformat_alloc_output_context2(&amp;p_file,null,null,filename);
    }

    VS is complaining about the "&p_file" syntax with the error of "Cannot take the address of a read-only local variable".

    Any help would be much appreciated !

  • code that reads a video file encodes into Mpeg4

    19 février 2017, par H.NW

    I am looking for a code that reads a video file, let’s say a raw video, encodes into Mpeg4 with ability to select a I-frame, B-frame and P-frame, sends them to an IP address.