Recherche avancée

Médias (91)

Autres articles (32)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • 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" ;

Sur d’autres sites (3826)

  • Revision 63c5bf2b9c : Fix Tsan errors This patch fixed 2 reported Tsan errors while running VP9 real-

    15 avril 2015, par Yunqing Wang

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_encodeframe.h


     Modify /vp9/encoder/vp9_encoder.c


     Modify /vp9/encoder/vp9_pickmode.c



    Fix Tsan errors

    This patch fixed 2 reported Tsan errors while running VP9 real-time
    encoder.

    Change-Id : Ib0278fe802852862c3ce87c4a500e544d7089f67

  • ffmpeg Windows stream desktop real time to web

    14 avril 2019, par ilapasle

    Hello i want to stream my Windows desktop in realtime with ffmpeg

    for capture desktop i use this code :

    ffmpeg.exe -f gdigrab -framerate 60 -i desktop output.mkv

    it’s work

    Now i not want to record video of my desktop but stream my desktop and view this in web browser.
    i need to export stream video in m3u8 file

    i have use this code :

    ffmpeg.exe -f gdigrab -framerate 60 -i desktop -c:v libx264 -crf 18 -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -hls_time 10 -hls_wrap 6 output.m3u8

    in my current dir i have 6 ts file and output.m3u8 but i can not open output.m3u8 file, the file is empty why ?

    i want to read this file in web browser like this code :

       



    <div>
    <video autoplay="true" controls="controls" width="640" height="480">
    <source src="output.m3u8" type="application/x-mpegURL"></source>
    Your browser does not support HTML5 streaming!
    </video>
    </div>

    thanks for advance for your help

  • ffmpeg real-time buffer too full or near too full frame dropped, I even tried increasing rtbufsize. What could be going wrong ?

    21 mai 2024, par Ali Azlan

    We have a software where we capture the stream from the camera connected to the laptop or device using ffmpeg python,

    &#xA;

                     ffmpeg&#xA;                .input(video, s=&#x27;640x480&#x27;, **self.args) //tried with rtbufsize=1000M (enough I suupose/ also sometimes the error does not occur even on default rtbufsize which is around 3MB)&#xA;                .output(&#x27;pipe:&#x27;, format=&#x27;rawvideo&#x27;, pix_fmt=&#x27;rgb24&#x27;)&#xA;                .overwrite_output()&#xA;                .run_async(pipe_stdout=True) &#xA;

    &#xA;

    majority of the times when I start the software like the software is still initiating we receive the following error, I have also received this error when the software has initiated fully and completely and it is running from a long time like after 12hrs or more.

    &#xA;

    &#xA;

    Error : [dshow @ 000002248916e240] real-time buffer [Integrated&#xA;Camera] [video input] too full or near too full (80% of size : 3041280&#xA;[rtbufsize parameter]) ! frame dropped !&#xA;Last message repeated 1 times [dshow @ 000002248916e240] real-time buffer [Integrated Camera] [video input] too full or near too full&#xA;(101% of size : 3041280 [rtbufsize parameter]) ! frame dropped !

    &#xA;

    &#xA;

    What are the things we possibly might be doing wrong ?

    &#xA;

    Edit 1 :

    &#xA;

    below is the code to consume the frame captured in the video using ffmpeg

    &#xA;

        def frame_reader(self):&#xA;    while True:&#xA;        in_bytes = self.process.stdout.read(self.width * self.height * 3)&#xA;        if not in_bytes:&#xA;            break&#xA;        try:&#xA;            in_frame = (&#xA;                np&#xA;                    .frombuffer(in_bytes, np.uint8)&#xA;                    .reshape([self.height, self.width, 3])&#xA;            )&#xA;            frame = cv2.resize(in_frame, (640, 480))&#xA;            frame = cv2.cvtColor(frame, cv2.COLOR_RGB2BGR)&#xA;        except Exception as e:&#xA;            logger.error(e, exc_info=True)&#xA;            in_frame = (&#xA;                np&#xA;                    .frombuffer(in_bytes, np.uint8)&#xA;            )&#xA;&#xA;        if not self.q.empty():&#xA;            try:&#xA;                self.q.get_nowait()&#xA;            except queue.Empty:&#xA;                pass&#xA;        self.q.put(frame)&#xA;

    &#xA;