Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (29)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5079)

  • Recording of Full HD 60 FPS videos in C#

    17 mars 2021, par Alexander Naumov

    My application works with a high-speed camera. I am trying to record a videofile using C#.

    


    The task is pretty "simple" : to record the video from the camera. We need to record medium (higher-better) quality videos to save as many details as possible.

    


      

    • Resolution : 1920 x 1080 (FullHD)
    • 


    • Frames per second (FPS) : 60
    • 


    • Bitrate : I've started from 10000*1000 (but now I don't know)
    • 


    • Mediacontainer : MP4, AVI (does not really matter, we just need to
solve our task)
    • 


    • Codec : also does not matter, we just need speed and quality.
    • 


    • Maximum size of videofile : 10 GB/hour
    • 


    


    Framerate of the camera can be changed during the recording by the camera itself (not by user), so it's necessary to have something like timestamps for every frame or anything else.

    


    The problem is not fast enough recording.
Example : using AForge libs, generated pictures ("white" noise), duration of test videos is 20 seconds.

    


    Duration of video creating using different codecs (provided by AForge) :

    


      

    • Codec : MPEG4, Time : 33,703
    • 


    • Codec : WMV1, Time : 45,338
    • 


    • Codec : WMV2, Time : 45,530
    • 


    • Codec : MSMPEG4v2, Time : 43,775
    • 


    • Codec : MSMPEG4v3, Time : 44,390
    • 


    • Codec : H263P, Time : 38,894
    • 


    • Codec : FLV1, Time : 39,151
    • 


    • Codec : MPEG2, Time : 35,561
    • 


    • Codec : Raw, Time : 61,456
    • 


    


    Another libs we've tried is not satisfied us.
Accord.FFMPEG is slow because of strange inner exceptions.
EmguCV.FFMPEG has no timestamps, therefore it creates corrupted video.

    


    Recording the video to the SSD drive did not give us any visible acceleration.

    


    Google search gives no clear examples or modern solutions to solve this task. That's the main reason to write here.

    


    There is a code sample of our test :

    


    private static void AForge_test()
    {
        Console.WriteLine("AForge test started...");
        unsafe
        {
            Stopwatch watch = new Stopwatch();

            Console.WriteLine("FPS: {0}, W:{1}, H:{2}, T:{3}", fps, w, h, time);

            AForge.Video.FFMPEG.VideoCodec[] codecs = (AForge.Video.FFMPEG.VideoCodec[]) Enum.GetValues(typeof(AForge.Video.FFMPEG.VideoCodec));

            for(int k = 0; k < codecs.Length; k++)
            {
              /*  if (codecs[k] != VideoCodec.MPEG4)
                    continue;*/
                try
                {
                    watch.Restart();

                    Random r2 = new Random(200);
                    AForge.Video.FFMPEG.VideoFileWriter vw = new AForge.Video.FFMPEG.VideoFileWriter();
                    string name = String.Format("E:\\VideosHDD\\AForge_test_{0}_mid.avi", Enum.GetName(typeof(AForge.Video.FFMPEG.VideoCodec), codecs[k]));
                    vw.Open(name, w, h, fps, codecs[k], 10000 * 1000);

                    for (int i = 0; i < frames; i++)
                    {
                        vw.WriteVideoFrame(bmps[i%N]);
                    }

                    vw.Close();
                    vw.Dispose();

                    watch.Stop();

                    Console.WriteLine("Codec: {0}, Time: {1:F3}", Enum.GetName(typeof(AForge.Video.FFMPEG.VideoCodec), codecs[k]), watch.ElapsedMilliseconds / 1000d);
                }
                catch(Exception ex)
                {
                    Console.WriteLine("Error " + codecs[k].ToString());
                }

            }
            
        }

        Console.ReadKey();
    }


    


    Additional :

    


      

    1. We are ready to use not-for-free solutions, but free is preferable.
    2. 


    3. One of the supposed reasons for low recording speed : (x86) building of applications. I tried so hard to find x64 Aforge building but failed in this. We really don't know is there any influence of application architecture on recording speed.
    4. 


    


    I am ensured that I don't know all the background of video recording and another "little" thing, so I would be very pleased to solutions with clear explanations.

    


  • Serving live stream by using ffmpeg via rtmp protocol

    28 janvier 2019, par Yusufu

    I have been trying to serve my rtmp stream to web, struggling with videojs
    I am able to serve my static video or live stream from android screen by using ffmpeg via this command :

    ffmpeg -i video7.mp4 -c:v libx264 -g 25 -preset fast -b:v 4096k -c:a libfdk_aac -ar 44100 -f flv rtmp://127.0.0.1/media_server/video.flv

    So can connect it via ffplay. This part works like a charm.

    ffplay  rtmp://127.0.0.1/media_server/video.flv

    But couldnt watch in web. My html file here. Copied from videojs offical example

    1. question : Being able to watch via ffplay on rtmp means my nginx rtmp module works well ?
    2. I have been serving httml via http-server and rtmp on rtmp ://127.0.0.1 without port caused problem ?

    3. Any other videoplayer advice ? I have already tried hls it works but in my case creating m3u8 manifest file not desired because I am streaming live video from mobile screen record so creating new ts files nut not updated m3u8 file not for me I guess ?

    4. What else I can try as a protocol ? instead of rtmp

    I can share about my screenrecord and ffmpeg commands to help me or you. Thanks

  • ffmpeg : RTP missed many packets

    29 juin 2020, par Yves

    I have an mp4 file named test.mp4, and I'm using VLC player as an RTSP server to convert the file test.mp4 to the RTSP stream and send it to the client.

    


    Here is how I configure my VLC to become a RTSP server : https://www.youtube.com/watch?v=kfCKSIrIGlY

    


    Then I login remotely my Linux machine, which is the client to receive the RTSP stream. To do so, I execute the below command on my Linux machine :

    


    ffmpeg -i rtsp://192.168.120.157:5544/stream -c copy -f segment -segment_time 100 out_%d.mp4


    


    After executing the command, I got two mp4 files. It seems that everything works as expected, except that I got many warnings :

    


    [rtsp @ 0x5a48580] max delay reached. need to consume packet=N/A speed=1.02x
[rtsp @ 0x5a48580] RTP: missed 40 packets
[rtsp @ 0x5a48580] max delay reached. need to consume packet=N/A speed=1.02x
[rtsp @ 0x5a48580] RTP: missed 6 packets
[rtsp @ 0x5a48580] max delay reached. need to consume packet
[rtsp @ 0x5a48580] RTP: missed 3 packets
[rtsp @ 0x5a48580] max delay reached. need to consume packet=N/A speed=1.02x
[rtsp @ 0x5a48580] RTP: missed 45 packets
[rtsp @ 0x5a48580] max delay reached. need to consume packet
[rtsp @ 0x5a48580] RTP: missed 5 packets
[rtsp @ 0x5a48580] max delay reached. need to consume packet=N/A speed=1.02x
[rtsp @ 0x5a48580] RTP: missed 22 packets
[rtsp @ 0x5a48580] max delay reached. need to consume packet
...
...


    


    Is this normal ? How can I solve these warnings ?