Recherche avancée

Médias (91)

Autres articles (28)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (5443)

  • Getting troubles when I generate rtsp stream as an output with ffmpeg from static images as an input

    10 août 2013, par Ilya Yevlampiev

    I'm trying to start the rtsp stream via feeding ffmpeg with static images and feeding ffserver with ffmpeg output.

    The first problem appears from the ffserver.config :

    Port 12345
    RTSPPort 8544
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog /var/log/ffserver-access.log
     <feed>
    File /tmp/videofeed.ffm
    FileMaxSize 3M
    #Launch ffmpeg -s 640x480 -f video4linux2 -i /dev/video0
    #Launch ffmpeg http://localhost:8090/videofeed.ffm
    Launch ffmpeg -loop 1 -f image2 -r 20 -b 9600 -i Janalif.jpg -t 30 http://127.0.0.1:8090/videofeed.ffm -report
    ACL allow 127.0.0.1
     </feed>
     <stream>
    Format rtsp
    #rtsp://localhost:5454/test1-rtsp.mpg
    Feed videofeed.ffm
    #webcam.ffm
    Format flv
    VideoCodec flv
    VideoFrameRate 30
    VideoBufferSize 80000
    VideoBitRate 200
    VideoQMin 1
    VideoQMax 5
    VideoSize 640x480
    PreRoll 1
    NoAudio
     </stream>
     <stream>
    Format status
     </stream>

    Please ignore codecs etc in stream part. The problem appears for RTSPPort, after starting the server nmap shows no binding to 8544, only 12345 port is used.

    8090/tcp  open  unknown
    12345/tcp open  netbus

    I can download mpeg stream through http from http://localhost:12345/test1-rtsp.mpg. How can I setup 8544 port working ?

    and another question is about Launch part of the stream. Am I right, that ffserver executes the content of Launch line ? If so, how can i configure ffserver to wait the stream in some particular port, but start streaming at the moment I desire ?

    P.S. The solution looks like Säkkijärven polkka, hoowever the idea behind this construct is to provide the controlled rtsp stream to emulate the camera output. In future I plan to substitute the command line for ffmpeg with some java bindings for it to produce the program-controlled images to the camera input to test the computer vision, that's why I need a way to launch ffmpeg independently on ffserver.

  • How to get the video duration using FFMPEG in C# asp.net

    23 août 2013, par Hamad

    I want to get the video file duration in string using C#. I searched the internet and all i get is :

    ffmpeg -i inputfile.avi

    And every1 say that parse the output for duration.

    Here is my code which is

    string filargs = "-y -i " + inputavi + " -ar 22050 " + outputflv;
       Process proc;
       proc = new Process();
       proc.StartInfo.FileName = spath;
       proc.StartInfo.Arguments = filargs;
       proc.StartInfo.UseShellExecute = false;
       proc.StartInfo.CreateNoWindow = false;
       proc.StartInfo.RedirectStandardOutput = false;
       try
       {
           proc.Start();

       }
       catch (Exception ex)
       {
           Response.Write(ex.Message);
       }

       try
       {
           proc.WaitForExit(50 * 1000);
       }
       catch (Exception ex)
       { }
       finally
       {
           proc.Close();
       }

    Now please tell me how can i save the output string and parse it for the video duration.

    Thanks and regards,

  • Convert static file to h264 stream with FFmpeg [on hold]

    28 août 2013, par Vprnl

    I'm building a NodeJS application that converts a static videofile to a streamable video which is being sent to a client (iPad or browser) on the fly (using the fluent-ffmpeg module).

    Everything is set and all I need now is to configure ffmpeg correctly. But I'm having a lot of problems with ffmpeg.

    With my current settings, I hear audio right away, but the picture starts a couple of seconds later. Then, my 30 second test file has been compressed to 3 seconds of high speed imagery.

    How can I configure my ffmpeg so it will stream the mp4 correctly (in one pass through of course). It seems it is streaming raw h264, if that is the case how can I force the mp4 container. I thought I was doing that by using '-f mp4'

    my correct settings are :

      &#39;-crf 22&#39;,&#39;-c:v libx264&#39;,&#39;-f mp4&#39;,&#39;-movflags&#39;,&#39;faststart+frag_keyframe&#39;

    I've also tried :

    &#39;-r 30&#39;,&#39;-crf 30&#39;,&#39;-analyzeduration 0&#39;,&#39;-probesize 1000&#39;,&#39;-rc_lookahead 0&#39;,&#39;-fflags nobuffer&#39;,&#39;-g 75&#39;,&#39;-ss 0&#39;,&#39;-threads 0&#39;,&#39;-vcodec libx264&#39;,&#39;-qcomp 0.6&#39;,&#39;-qmin 10&#39;,&#39;-qmax 51&#39;,&#39;-qdiff 4&#39;,&#39;-b:v 400k&#39;,&#39;-maxrate 400k&#39;,&#39;-bufsize 800k&#39;,&#39;-acodec mp3&#39;,&#39;-ab 192k&#39;,&#39;-ar 44100&#39;,&#39;-tune zerolatency&#39;,&#39;-f mp4&#39;,&#39;-movflags&#39;,&#39;faststart+frag_keyframe&#39;

    As you can see by the amount of options I've tried, I'm getting pretty desperate. I'm basically just running around in the dark.

    I don't think it matters much but these are my request headers :

                       res.writeHead(200, { // NOTE: a partial http response
                           &#39;Content-Type&#39;:&#39;video/mp4&#39;,
                           &#39;Content-Length&#39;:stat.size,
                           &#39;Content-Range&#39;:&#39;bytes &#39;+start+&#39;-&#39;+end+&#39;/&#39;+stat.size,
                           &#39;Transfer-Encoding&#39;:&#39;chunked&#39;
                       });