Recherche avancée

Médias (91)

Autres articles (21)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (5193)

  • AWS ffmpeg-lambda-layer and concat protocol (Node.js)

    25 février 2021, par portik

    I am trying to concatenate two .mp3 files using ffmpeg lambda-layer. I have what I think is the correct command, but I struggle to represent it in code so that it is formatted correctly for the lambda layer. Here is a piece of code that I am struggling to get right :

    


    spawnSync(
  '/opt/ffmpeg/ffmpeg',
  [
    '-i',
    '"concat:/tmp/pt1.mp3|/tmp/pt2.mp3"',
    '-acodec',
    'copy',
    `/tmp/${fileName}`
  ],
  { stdio: 'inherit' }
)


    


    The error I'm getting : "concat:/tmp/pt1.mp3|/tmp/pt2.mp3": No such file or directory.

    


    I tried to list files in /tmp/ folder - both files listed in the input are there, not sure why lambda layer can't find them.

    


    Similar question : https://lists.ffmpeg.org/pipermail/ffmpeg-user/2019-December/046299.html. Ffmpeg concatenate protocol documentation : https://trac.ffmpeg.org/wiki/Concatenate#protocol.

    


    Thanks in advance !

    


  • ffmpeg command to GStreamer pipeline for srtp stream

    1er avril 2021, par Muhammet Ilendemli

    I would like to convert this working ffmpeg command to a GStreamer pipeline but I couldn't manage to get it working. Tried using srtpenc toset the key to a hex representation of the buffer and udpsink with the target host and port set.

    



    The command I currently have :

    



    ffmpeg -re -i &lt;<rtspurl>> -map 0:0 -vcodec h264_omx -pix_fmt yuv420p \&#xA;  -r 30 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 300k \&#xA;  -bufsize 300k -payload_type 99 -ssrc &lt;<ssrc>> \&#xA;  -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 \&#xA;  -srtp_out_params &lt;<base64key>> srtp://&lt;<targetip>>:&lt;<targetport>>?rtcpport=&lt;<targetport>>&amp;localrtcpport=&lt;<targetport>>&amp;pkt_size=1378&#xA;</targetport></targetport></targetport></targetip></base64key></ssrc></rtspurl>

    &#xA;&#xA;

    Some references :

    &#xA;&#xA;

    &#xA;

  • Recording video in C#

    30 décembre 2022, par pfedotovsky

    I have to do the following : record video from a camera using C#. The camera I use produces video frames (the frame rate is not fixed) and I have to somehow put all the frames together and create a video file. Also I need to use different codecs, such as AVI or MPEG-4 (these codecs are required, others are optional).

    &#xA;

    The main problem I faced was how to create a video in which the frame rate is not fixed. I have a stream of frames. For example, I can receive the first frame after 1 ms, then after 20 ms, then 36 ms and so on. If I create video with 25 frames/second the result will be wrong because it means that frames are added after 40 ms.

    &#xA;

    I tried to use Aforge.Video library. It has a method which adds a frame according to a timespan. But this method has problems with setting the bitrate. The bitrate value I pass to the method is simply ignored (About an FFmpeg bitrate and framerate issue).

    &#xA;

    Is there some C# library which I can use to do video recording ? I have to support AVI and MPEG-4, and also the possibility to set the bitrate and last but not least - record video with a variable framerate.

    &#xA;

    I can't connect to the camera directly. All I have is a stream of frames and I need to convert this stream to video at run time.

    &#xA;

    A library I'm looking for should satisfy the following properties. It has to contain a method (or some way how to do the same) to add the next frame with a timestamp, just like in Aforge.Video.FFMPEG :

    &#xA;

    public void WriteVideoFrame(Bitmap frame, TimeSpan timestamp)&#xA;

    &#xA;

    And it should be possible to choose different codecs (at least AVI and MPEG-4) and also to set bitrate.&#xA;Are there some alternatives to Aforge.Video.FFMPEG ? Because Aforge doesn't work properly. The bitrate value is ignored, and also some codecs are not supported (MPEG-2 for example).

    &#xA;

    About the codec license. If I use an open source library, should I worry about the codec license ?

    &#xA;