Recherche avancée

Médias (91)

Autres articles (31)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (4103)

  • Revision 842454d2aa : Make process_denoise_mode_change function cond-compiled. This function is calle

    3 septembre 2014, par Marco

    Changed Paths :
     Modify /vp8/encoder/onyx_if.c



    Make process_denoise_mode_change function cond-compiled.

    This function is called only when temporal denoising is enabled.

    Change-Id : I25a036e3d628edd34410d6e6fe1f9e68a90a8e56

  • 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.
I'm running ffmpeg via node's

    


    child_process.spawn('ffmpeg', commandArgs);


    


    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 :(

    


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

    


     '-loglevel',
  'debug',
  '-reorder_queue_size',
  '0',
  '-protocol_whitelist',
  'pipe,udp,rtp',
  '-fflags',
  '+genpts',
  '-f',
  'sdp',
  '-i',
  'pipe:0',
  '-map',
  '0:v:0',
  '-c:v',
  'copy',
  '-use_wallclock_as_timestamps',
  '1',
  '-timestamps',
  'mono2abs',
  '-flags',
  '+global_header',
  './recordings/video_1627600996166.webm'


    


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

    


    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_


    


    Time always starts at 0.

    


    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.

    


    Thanks so much :)

    


  • 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) << "decoder timeout!"; // it print many times
           return 1;
       }
       return 0;
    }

    I expect the output would be printed only once.