Recherche avancée

Médias (91)

Autres articles (22)

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

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (4153)

  • Stream mp4 file to multicast using ffmpeg ?

    17 décembre 2018, par Stuart

    I have a mp4 video with no sound that I want to stream to a multicast address on a loop, I can connect to the stream group to play but it’s just empty when I play in VLC but the timer in VLC changes as if something is playing.

    ffmpeg -re -stream_loop -1 -i testvideo.mp4 -s 640x480 -vcodec copy -f mpegts udp://238.100.100.1:1234

    I’ve also noticed that the size doesn’t seem to work either ?

    Any help would be great. Thanks

  • sdp : Add an option for sending RTCP packets to the source of the last packets

    13 août 2013, par Martin Storsjö
    sdp : Add an option for sending RTCP packets to the source of the last packets
    

    An SDP description normally only contains the target IP address
    and port for the packets. This means that we don’t really have
    any clue where to send the RTCP RR packets - previously they’re
    sent to the destination IP written in the SDP (at the same port),
    which rarely is the actual peer. And if the source for the packets
    is on a different port than the destination, it’s never correct.

    With a new option, we can choose to send the packets to the
    address that the latest packet on each socket arrived from.
    — -
    Some may even argue that this should be the default - perhaps,
    but I’d rather keep it optional at first. Additionally, I’m not
    sure if sending RTCP RR directly back to the source is
    desireable for e.g. multicast.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtsp.c
    • [DBH] libavformat/rtsp.h
  • FFMPEG - Streaming multiple video files to RTMP server [closed]

    17 janvier 2021, par JackCisco

    I am using Ubuntu 20.0.4

    &#xA;&#xA;

    What I want to achieve is using FFMPEG to stream many video files of different codecs and resolutions to my RTMP server one after the other. These files can be for example avi, mp4, mkv. All with seamless playback.

    &#xA;&#xA;

    So far I've managed to optimise the playback of a single video using the following command :

    &#xA;&#xA;

    ffmpeg -re -i video.mp4 -r 30 -preset medium -force_key_frames &#x27;expr:gte(t,n_forced*4)&#x27; -g 120 -keyint_min 120 -acodec aac -vcodec libx264 -b:v 1M -b:a 192k -f flv rtmp://address/live/live&#xA;

    &#xA;&#xA;

    Succeeding with that I then proceeded to attempt to use concat to read a list of files from a .txt file and play them one after the other, which looks like this :

    &#xA;&#xA;

    file &#x27;/pathtovideo/video1.mp4&#x27;&#xA;file &#x27;/pathtovideo/video2.avi&#x27;&#xA;file &#x27;/pathtovideo/video3.mkv&#x27;&#xA;

    &#xA;&#xA;

    What I've ended up with below works well for the first file played, but there's a nice bit of pausing and freezing during playback before I start to see the next video, which has out of sync audio and video :

    &#xA;&#xA;

    ffmpeg -re -safe 0 -f h264 -f concat -segment_time_metadata 1 -i "videos.txt" -vf select=concatdec_select -af aselect=concatdec_select,aresample=async=1 -r 30 -preset medium -tune animation -force_key_frames &#x27;expr:gte(t,n_forced*4)&#x27; -g 120 -keyint_min 120 -acodec aac -vcodec libx264 -b:v 1M -b:a 192k -f flv rtmp://address/live/live&#xA;

    &#xA;&#xA;

    When the new video file starts, I notice the output of FFMPEG stops increasing the frames processed for about 5 seconds.

    &#xA;&#xA;

    Essentially the outcome is a poor transition between videos and lots of playback freezing on any proceeding video after the first.

    &#xA;&#xA;

    I'm a bit lost as to what to do to improve this, so any help is appreciated.

    &#xA;