Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (43)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • De près ou de loin...

    29 avril 2011, par

    Ils ne le savent pas forcément mais sont indispensables
    MediaSPIP est un logiciel open-source, il se base sur d’autres logiciels, et d’autres logiciels lui sont également nécessaires pour fonctionner ... Les personnes ici listées ne savent pas forcément qu’elles ont un rôle important dans le développement, elles ont apporté leur connaissances dans le cadre de la création d’une partie de ces éléments nécessaires ou ont écrit des articles permettant de comprendre certaines choses... il semble indispensable (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (4518)

  • Text backdrop by ass formatting

    14 septembre 2024, par Armen Sanoyan

    I want to add box behind a word using ass subtitles formatting. The box should have border radius. the ass file later will be used by ffmpeg.

    


    I have tried the BorderStyle=3 form stack ansers 1, 2 both of them do not provide a way to get rounded boxes. Also the BorderStyle=4 didn't work for me. In comments of last stack answer I found a possible reason that my libraries can be old, but anyway it doesn't seem that BorderStyle=4 will solve my problem of border radius. There is another way to achieve rounded box link to answer. I didn't figure it out how to install all the libs he explained there. Also the later answer seems to me over complicated. Is there an other way to make the borders of box rounded without suffering and pain ? I also tried drawing the box with Drawing commands like

    


    {\p1}m 0 0 s 100 0 100 100 0 100 c{\p0}


    


    But it still doesn't seem to be the best way to achieve rounded borders.

    


  • Absolute timestamp as MP4 start time

    14 juin 2016, par galbarm

    I’d like to store the exact start time a video was recorded on, inside its mp4 container.
    I need a millisecond accuracy (i.e. year,month,day,hour,sec,milli).
    Such an accuracy requires 8 bytes.

    The only standard way I found to store a video creation time is to use the mvhd/tkhd/mdhd boxes creation_time field.
    But according to the base media file format spec, the field only gives a granularity of seconds :

    creation_time is an integer that declares the creation time of this
    track (in seconds since midnight, Jan. 1, 1904, in UTC time)

    In version 0 the field size was 4 bytes, while in version 1 it was increased to 8 bytes. But the description remained unchanged so it can still only reflect a timestamp in up to second granularity. (for maintaining backward compatibility maybe ?)

    So finally, is there a standard way to store a single absolute timestamp with millisecond accuracy in a mp4 container ?
    If the only way to do it, is to store it as a custom metadata, is there an agreed common way to do it according to ?

  • How to stream cv2.VideoWriter frames to and RTSP server

    10 juin 2022, par chasez0r

    Environment : Docker, Ubuntu 20.04, OpenCV 3.5.4, FFmpeg 4.2.4

    


    Im currently reading the output of a cv2.VideoCapture session using the CV_FFMPEG backend and successfully writing that back out in real time to a file using cv2.VideoWriter. The reason I am doing this is to drawing bounding boxes on the input and saving it to a new output.

    


    The problem is I am doing this in a headless environment (Docker container). And I’d like to view what's being written to cv2.VideoWriter in realtime.

    


    I know there are ways to pass my display through using XQuartz for example so I could use cv2.imshow. But what I really want to do is write those frames to an RTSP Server. So not only my host can "watch" but also other hosts could watch too.

    


    After the video is released I can easily stream the video to my RTSP Server using this command.

    


    ffmpeg -re -stream_loop -1 -i output.mp4 -c copy -f rtsp rtsp://rtsp_server_host:8554/stream

    


    Is there anyway to pipe the frames as they come in to the above command ? Can cv2.VideoWriter itself write frames to an RTSP Server ?

    


    Any ideas would be much appreciated ! Thank you.