Recherche avancée

Médias (91)

Autres articles (79)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10560)

  • get UTC time of every video frame using ffmepg

    22 septembre 2015, par MathxH Chen

    I just read a RTSP stream from my IP Camera using FFMPEG. I need to display UTC time of every frame and video frame synchronously. The player GUI I created by Qt.

    At very first, I just use libVLC to implement my requirement. Then, I just found out that LibVLC cannot get UTC timestamp of every frame(https://forum.videolan.org/viewtopic.php?f=4&t=128403), So I was out to move from libvlc to ffmepg. I code a Demo read RTSP using ffmpeg library and print the presentation time of every frame . but I find the presentation time is relative , It start from zero up to end. How I can convert the time to UTC ? RTP Packet’s timestamp is relative, It only need RTCP sender report’s absolute timestamp to calculate the UTC. How can I get the UTC time of every frame using FFMPEG ??

    In FFPMEG every frame has own pts in struct AVFrame, the pts just copied from AVPacket, the struct AVStream has time_base this field, UTC time is equal to time_base*pts ?

    my code snippet as follows :

    //SDL End----------------------
    while(av_read_frame(pFormatCtx, packet)>=0){


       if(packet->stream_index==videoindex){
           ret = avcodec_decode_video2(pCodecCtx, pFrame, &got_picture, packet);
           if(ret < 0){
               printf("Decode Error.\n");
               return -1;
           }

           int64_t utc = packet->pts * av_q2d(pStream->time_base);
           printf("UTC is :%I64d\n", utc);

    What’s Wrong ?

  • Anomalie #3765 (Fermé) : Bug spip 3.1 urls arborescentes | Jointures

    2 avril 2016, par Karen Bouscarle

    Bonjour,

    J’ai constaté que lorsqu’on sélectionne la réécriture des urls avec "urls arborescentes" (et seulement cette méthode-ci), on ne peut plus afficher ni les documents joints (quand ils ne sont pas intégrés dans le texte via un raccourci spip) ni les miniatures des images passées en portfolio.

    Après l’avoir constaté sur un site en production, je l’ai testé en local et en distant sur un SPIP natif sans squelette, ni plugin, ni réglages particuliers autres que les nécessaires.

    Je n’ai malheureusement pas les connaissances nécessaires pour contribuer, et c’est b_b qui a compris l’origine du problème, à savoir un problème avec la balise base href dans le head, puis m’a invitée à ouvrir un ticket ici. Ici notre échange : http://forum.spip.net/fr_263992.html#forum264143

    Voilà, novice ici, j’espère que j’ai fait comme il fallait, pas osé monter la priorité au dessus de "haut", c’est déjà peut-être exagéré :-) ?
    Merci à tous pour votre super et généreux boulot.

  • ffmpeg record pulseaudio has some crackles

    8 janvier 2021, par boygiandi

    I'm trying to record audio from pulseaudio (on Centos 7), using ffmpeg. But the audio is not smooth, it has some crackles, noise after few seconds
Please check this video link : https://www.facebook.com/watch/live/?v=692754594726722&ref=watch_permalink

    


    The ffmpeg command looks like this

    


    ffmpeg -fflags +igndts -framerate 30 -s 1920x1130 -draw_mouse 0 -f x11grab -i :1085.0+nomouse -f pulse -i sinkgstvDViJbLFIaUBLdTxTeLtr.monitor -c:v libx264 -filter:v crop=1920:1080:0:50 -g 60 -r 30 -bufsize 2M -b:v 7M -vbsf h264_mp4toannexb -pix_fmt yuv420p -strict experimental -preset ultrafast -c:a aac -async 1 -vsync 1 -b:a 128k -bsf:a aac_adtstoasc -metadata comment=gstvDViJbLFIaUBLdTxTeLtr -f flv "rtmps://live-api-s.facebook.com:443/rtmp/4248189238527878?s_bl=1&s_psm=1&s_sc=4248189291861206&s_sw=0&s_vt=api-s&a=Abx_pMiM4_ccqBcS"


    


    I found this article but it didn't fix my problem https://forum.level1techs.com/t/improving-linux-audio-updated/134511 .
Please help