Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11651)

  • avformat/mov : Handle when we have an mfra box but have not read the full sidx for...

    15 mars 2021, par Derek Buitenhuis
    avformat/mov : Handle when we have an mfra box but have not read the full sidx for a fragment
    

    Use the tfra timestamp if it is available and sidx timestamp is not.

    Fixes reading the entire file after seeking in a live-style DASH FMP4
    with an MFRA.

    This specifically fixes when use_mfra_for is set.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavformat/mov.c
  • 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#.

    &#xA;

    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.

    &#xA;

      &#xA;
    • Resolution : 1920 x 1080 (FullHD)
    • &#xA;

    • Frames per second (FPS) : 60
    • &#xA;

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

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

    • Codec : also does not matter, we just need speed and quality.
    • &#xA;

    • Maximum size of videofile : 10 GB/hour
    • &#xA;

    &#xA;

    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.

    &#xA;

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

    &#xA;

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

    &#xA;

      &#xA;
    • Codec : MPEG4, Time : 33,703
    • &#xA;

    • Codec : WMV1, Time : 45,338
    • &#xA;

    • Codec : WMV2, Time : 45,530
    • &#xA;

    • Codec : MSMPEG4v2, Time : 43,775
    • &#xA;

    • Codec : MSMPEG4v3, Time : 44,390
    • &#xA;

    • Codec : H263P, Time : 38,894
    • &#xA;

    • Codec : FLV1, Time : 39,151
    • &#xA;

    • Codec : MPEG2, Time : 35,561
    • &#xA;

    • Codec : Raw, Time : 61,456
    • &#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    There is a code sample of our test :

    &#xA;

    private static void AForge_test()&#xA;    {&#xA;        Console.WriteLine("AForge test started...");&#xA;        unsafe&#xA;        {&#xA;            Stopwatch watch = new Stopwatch();&#xA;&#xA;            Console.WriteLine("FPS: {0}, W:{1}, H:{2}, T:{3}", fps, w, h, time);&#xA;&#xA;            AForge.Video.FFMPEG.VideoCodec[] codecs = (AForge.Video.FFMPEG.VideoCodec[]) Enum.GetValues(typeof(AForge.Video.FFMPEG.VideoCodec));&#xA;&#xA;            for(int k = 0; k &lt; codecs.Length; k&#x2B;&#x2B;)&#xA;            {&#xA;              /*  if (codecs[k] != VideoCodec.MPEG4)&#xA;                    continue;*/&#xA;                try&#xA;                {&#xA;                    watch.Restart();&#xA;&#xA;                    Random r2 = new Random(200);&#xA;                    AForge.Video.FFMPEG.VideoFileWriter vw = new AForge.Video.FFMPEG.VideoFileWriter();&#xA;                    string name = String.Format("E:\\VideosHDD\\AForge_test_{0}_mid.avi", Enum.GetName(typeof(AForge.Video.FFMPEG.VideoCodec), codecs[k]));&#xA;                    vw.Open(name, w, h, fps, codecs[k], 10000 * 1000);&#xA;&#xA;                    for (int i = 0; i &lt; frames; i&#x2B;&#x2B;)&#xA;                    {&#xA;                        vw.WriteVideoFrame(bmps[i%N]);&#xA;                    }&#xA;&#xA;                    vw.Close();&#xA;                    vw.Dispose();&#xA;&#xA;                    watch.Stop();&#xA;&#xA;                    Console.WriteLine("Codec: {0}, Time: {1:F3}", Enum.GetName(typeof(AForge.Video.FFMPEG.VideoCodec), codecs[k]), watch.ElapsedMilliseconds / 1000d);&#xA;                }&#xA;                catch(Exception ex)&#xA;                {&#xA;                    Console.WriteLine("Error " &#x2B; codecs[k].ToString());&#xA;                }&#xA;&#xA;            }&#xA;            &#xA;        }&#xA;&#xA;        Console.ReadKey();&#xA;    }&#xA;

    &#xA;

    Additional :

    &#xA;

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

    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. &#xA;

    &#xA;

    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.

    &#xA;

  • avcodec/ljpegenc : Allow full range yuv420p, yuv422p, yuv444p by default

    6 avril 2021, par Andreas Rheinhardt
    avcodec/ljpegenc : Allow full range yuv420p, yuv422p, yuv444p by default
    

    The documentation for AV_PIX_FMT_YUVJ420P reads :
    "planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of
    AV_PIX_FMT_YUV420P and setting color_range"
    Yet the LJPEG encoder only accepts full scale yuv420p when strictness is
    set to unofficial or lower ; with default strictness it emits a nonsense
    error message that says that limit range YUV is unofficial. This has
    been changed to allow full range yuv420p, yuv422p and yuv444p irrespective
    of the level of strictness.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/ljpegenc.c