Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

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

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

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (7877)

  • 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 :

      '-crf 22','-c:v libx264','-f mp4','-movflags','faststart+frag_keyframe'

    I've also tried :

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

    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
                           'Content-Type':'video/mp4',
                           'Content-Length':stat.size,
                           'Content-Range':'bytes '+start+'-'+end+'/'+stat.size,
                           'Transfer-Encoding':'chunked'
                       });
  • 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,

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