Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (66)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (11570)

  • swscale : make handle_formats() safe to be called multiple times

    14 juillet 2013, par Michael Niedermayer
    swscale : make handle_formats() safe to be called multiple times
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/utils.c
  • Why my log printed many times using c api of ffmpeg decoder v2.8 which should be printed once when the callback return value is 1

    30 juillet 2019, par user10960024

    Documentation said when the callback functor interrupt_cb return 1, the blocking operation will be aborted. However, my program echo the log many times which should be printed only once log before it quit. How can I fix it ?

    AVFormatContext* formatContext = libffmpeg::avformat_alloc_context();
    formatContext->interrupt_callback.callback = interrupt_cb;
    formatContext->interrupt_callback.opaque = formatContext;

    int interrupt_cb(void *ctx)
    {
       if (...)
       {
           LOG(WARNING) &lt;&lt; "decoder timeout!"; // it print many times
           return 1;
       }
       return 0;
    }

    I expect the output would be printed only once.

  • combine video and audio .webm files based on wallclock times

    30 juillet 2021, par Zach

    I have a node server recording webrtc streams as separate video/audio files via ffmpeg.&#xA;I'm running ffmpeg via node's

    &#xA;

    child_process.spawn(&#x27;ffmpeg&#x27;, commandArgs);&#xA;

    &#xA;

    Unfortunately, when I try to combine video and audio files later on, I don't know when ffmpeg created the first frame of each file, resulting in out of sync faces and voices :(

    &#xA;

    Here's my command line args for piping the stream into ffmpeg

    &#xA;

     &#x27;-loglevel&#x27;,&#xA;  &#x27;debug&#x27;,&#xA;  &#x27;-reorder_queue_size&#x27;,&#xA;  &#x27;0&#x27;,&#xA;  &#x27;-protocol_whitelist&#x27;,&#xA;  &#x27;pipe,udp,rtp&#x27;,&#xA;  &#x27;-fflags&#x27;,&#xA;  &#x27;&#x2B;genpts&#x27;,&#xA;  &#x27;-f&#x27;,&#xA;  &#x27;sdp&#x27;,&#xA;  &#x27;-i&#x27;,&#xA;  &#x27;pipe:0&#x27;,&#xA;  &#x27;-map&#x27;,&#xA;  &#x27;0:v:0&#x27;,&#xA;  &#x27;-c:v&#x27;,&#xA;  &#x27;copy&#x27;,&#xA;  &#x27;-use_wallclock_as_timestamps&#x27;,&#xA;  &#x27;1&#x27;,&#xA;  &#x27;-timestamps&#x27;,&#xA;  &#x27;mono2abs&#x27;,&#xA;  &#x27;-flags&#x27;,&#xA;  &#x27;&#x2B;global_header&#x27;,&#xA;  &#x27;./recordings/video_1627600996166.webm&#x27;&#xA;

    &#xA;

    I was thinking that it might be possible to set the timestamps of packets to the linux's clock times, and tried a bunch of flags (-timestamps abs, -timestamps mono2abs, -use_wallclock_as_timestamps 1) but nothing seemed to change the result in the file. (I also have tried moving the time commands all around).

    &#xA;

    packet|codec_type=video|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=N/A|duration_time=N/A|convergence_duration=N/A|convergence_duration_time=N/A|size=14568|pos=552|flags=K_&#xA;

    &#xA;

    Time always starts at 0.

    &#xA;

    Any help figuring out how to get accurate times from my recorded audio/video .webm files so I can accurately combine them would be amazing.

    &#xA;

    Thanks so much :)

    &#xA;