Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (85)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9868)

  • avformat/mpegtsenc : fix incorrect PCR selection with multiple programs

    2 août 2019, par Marton Balint
    avformat/mpegtsenc : fix incorrect PCR selection with multiple programs
    

    The MPEG-TS muxer had a serious bug related to the use of multiple programs :
    in that case, the PCR pid selection was incomplete for all services except one.
    This patch solves this problem and selects a stream to become PCR for each
    service, preferably the video stream.

    This patch also moves pcr calculation attributes to MpegTSWriteStream from
    MpegTSService. PCR is a per-stream and not per-service thing, so it was
    misleading to refer to it as something that is per-service.

    Also remove *service from MpegTSWriteStream because a stream can belong to
    multiple services so it was misleading to select one for each stream.

    You can check the result with this example command :

    ./ffmpeg -loglevel verbose -y -f lavfi -i \
    "testsrc=s=64x64:d=10,split=2[out0][tmp1] ;[tmp1]vflip[out1] ;sine=d=10,asetnsamples=1152[out2]" \
    -flags +bitexact -fflags +bitexact -sws_flags +accurate_rnd+bitexact \
    -codec:v libx264 -codec:a mp2 -pix_fmt yuv420p \
    -map '0:v:0' \
    -map '0:v:1' \
    -map '0:a:0' \
    -program st=0:st=2 -program st=1:st=2 -program st=2 -program st=0 -f mpegts out.ts

    You should now see this :

    [mpegts @ 0x37505c0] service 1 using PCR in pid=256
    [mpegts @ 0x37505c0] service 2 using PCR in pid=257
    [mpegts @ 0x37505c0] service 3 using PCR in pid=258
    [mpegts @ 0x37505c0] service 4 using PCR in pid=256

    Fixes ticket #8039.

    v2 : a video is stream is preferred if there are no programs, just like before
    the patch.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/mpegtsenc.c
  • How to read raw audio data using FFmpeg ?

    6 juin 2020, par Yousef Alaqra

    I'm trying to use this command to get the audio stream using UDP :

    &#xA;&#xA;

    ffmpeg -i udp://192.168.1.1:6980 -acodec copy&#xA;

    &#xA;&#xA;

    I got an error when I execute it, which says :

    &#xA;&#xA;

    [udp @ 00000157a76b9a40] bind failed: Error number -10048 occurred&#xA;udp://192.168.1.1:6980: I/O error&#xA;

    &#xA;&#xA;

    What's the meaning of this error ?

    &#xA;&#xA;

    Update :

    &#xA;&#xA;

    I was able to read raw audio data using FFmpeg and output into a wave file, using the following command :

    &#xA;&#xA;

    ffmpeg -f u16be -ar 44100 -ac 2 -i &#x27;udp://127.0.0.1:1223&#x27; output.wav&#xA;

    &#xA;&#xA;

    The problem now, Sine there is surrounding metadata in the network packets being received, it needs to be stripped out or it will result in noise.

    &#xA;&#xA;

    In C# I used Skip() to trim the first 28 bytes of the received packet, how would I achieve this using FFmpeg ?

    &#xA;&#xA;

    Update :

    &#xA;&#xA;

    I was able to read the raw bytes from UDP packets using by executing child process in node js :

    &#xA;&#xA;

    var http = require("http");&#xA;var port = 8888;&#xA;var host = "localhost";&#xA;var children = require("child_process");&#xA;&#xA;http&#xA;  .createServer(function (req, res) {&#xA;    //ffmpeg -f s16le -ar 48000 -ac 2 -i &#x27;udp://192.168.1.230:65535&#x27; -b:a 128k -f webm -&#xA;    var ffm = children.spawn(&#xA;      "ffmpeg",&#xA;      "-f s16le -ar 48000 -ac 2 -i udp://192.168.1.230:65535 -b:a 128k -f webm -".split(&#xA;        " "&#xA;      )&#xA;    );&#xA;&#xA;    res.writeHead(200, { "Content-Type": "audio/webm" });&#xA;    ffm.stdout.on("data", (data) => {&#xA;      console.log(data);&#xA;      res.write(data);&#xA;    });&#xA;  })&#xA;  .listen(port, host);&#xA;&#xA;console.log("Server running at http://" &#x2B; host &#x2B; ":" &#x2B; port &#x2B; "/");&#xA;

    &#xA;&#xA;

    As you can see in the code sample above, I'm trying to pipe the output of the child process into the response, so I would be able to hear the audio in the browser.

    &#xA;&#xA;

    I'm receiving the data, after executing the child process, but the browser unable to play audio for some reason that I need to figure it out.

    &#xA;&#xA;

    Do you have an idea of what am I missing ?

    &#xA;

  • Extract motion vectors from x265 (HVEC) encoded video with ffmepg/libavcodec ?

    16 novembre 2017, par John Allard

    I know that one can extract the motion vectors from an h264 encoded via by first setting the flag

    av_dict_set(&amp;opts, "flags2", "+export_mvs", 0);

    then you can query the side-data for the motion vectors by doing this

    sd = av_frame_get_side_data(frame, AV_FRAME_DATA_MOTION_VECTORS);

    When I looked online to see if you can do something similar with HVEC encoded videos, I wasn’t able to find any information. All I found was this by the definition of "AV_FRAME_DATA_MOTION_VECTORS"

    Motion vectors exported by some codecs (on demand through the
    export_mvs flag set in the libavcodec AVCodecContext flags2 option).

    The data is the AVMotionVector struct defined in
    libavutil/motion_vector.h.

    but there was no information on exactly which codecs export this motion vector information. How would I go about finding this out ?