Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (38)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

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

Sur d’autres sites (6407)

  • ffmpeg : Turning images/audio into video with ffmpeg

    7 mai 2018, par melanie93

    I am using ffmpeg to turn a sequence of images (img001.png, img002.png, and so on) into a video (output.mp4) using the following command :

    ffmpeg -r 1/5 -i img%03d.png  -r 25 -qscale:v 2 -shortest -codec:a copy output.mp4

    The result is a video that displays every input image for five (5) seconds.

    1. Is it possible to have ffmpeg parse the filename paths and timings from a file ? I tried the slideshow tutorial on the official ffmpeg website but the output displayed only the last image, briefly, at the end of the video.
    2. Is it possible to bundle audio files with those settings ?

    For example :

    file 'image001.png'
    file 'sound001.wav'
    duration 5
    file 'image002.png'
    file 'sound002.wav'
    duration 2
    file 'image003.png'
    file 'sound003.wav'
    duration 3

    Image001 is displayed for five(5) seconds while sound001 is being played back and so on.

  • matroskadec : introduce resync function.

    28 mai 2013, par Sean McGovern
    matroskadec : introduce resync function.
    

    This allows handling matroska files with errors.
    Fixes test4.mkv and test7.mkv from the official Matroska test suite,
    and by extension Bugzilla #62.

    Based on a patch by Reimar Doffinger <Reimar.Doeffinger@gmx.de>

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] libavformat/matroskadec.c
  • How to duplicate frames if appsrc is pushing too slow to keep frame rate up ?

    18 juillet 2023, par Jan

    I am using Java with GStreamer wrapped by OpenCV. The application does the following :

    &#xA;

      &#xA;
    1. One GStreamer pipeline, that receives frames from an IP Camera (RTSP stream with 30fps) and outputs OpenCV Mats&#xA;"rtspsrc location=rtsp://localhost:8554/looping-sample latency=500 protocols=udp buffer-mode=auto ! rtph264depay ! h264parse ! avdec_h264 max-threads=2 ! videoconvert ! video/x-raw,format=BGR ! appsink max-buffers=0 drop=true sync=false"

      &#xA;

    2. &#xA;

    3. On those Mats, deep learning models infer and draw stuff on it (This might be slow, like 100ms or sth)

      &#xA;

    4. &#xA;

    5. Another GStreamer pipeline wrapped by OpenCV at the 30fps (extracted by the RTSP stream), that receives those Mats and publishes an RTMP stream for a MediaServer&#xA;"appsrc ! videoconvert ! nvh264enc bitrate=3000 ! h264parse ! flvmux ! rtmpsink location=test"

      &#xA;

    6. &#xA;

    &#xA;

    Now, the problem is, that the OpenCV VideoWriter is configured to be 30fps but the appsrc is only pushing at e.g. 7fps, so the RTMP stream will not be classified as valid by the MediaServer.&#xA;Previously, I used OpenCV and FFFMPEG and the default VideoWriter just duplicated the last frame to keep up the pre-defined framerate, so the stream is laggy but works.

    &#xA;

    How can I achieve this with a GStreamer pipeline ?

    &#xA;

    TLDR : The OpenCV VideoWriter is configured to be 30fps but appsrc is only pushing with 7-10fps, how can I adaptively duplicate frames to keep the 30fps in the RTMP stream sink ?

    &#xA;

    I tried stuff like adding "appsrc ! videorate ..." to the pipeline, so that videorate keeps up the framerate, but that did not work

    &#xA;