Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (82)

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

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (9615)

  • Retrieving RTP/RTSP Absolute Timestamps

    6 septembre 2019, par Fr0sty

    This is an update to my previous post. I am able to get the RTP timestamps by using ffmpeg and opencv currently, however, I am trying to actually get the timestamp at which the frame was captured. I did a work around to try find the time at which the frame was captured (code is in python).

    seconds_before_frame = cap.getRTPTimeStampSeconds()
    fractionofseconds_before_frame = cap.getRTPTimeStampFraction()
    ret, frame = cap.read()
    seconds_after_frame = cap.getRTPTimeStampSeconds()
    fractionofseconds_after_frame = cap.getRTPTimeStampFraction()

    By doing this I found that the time captured was off by 0.02359296 seconds and sometimes 0.2359296 seconds, that’s a lot more than I had expected.

    I found some work arounds with trying to get the timestamp of the frame by using AVFormatContext which I didn’t really understand through the priv_data.

    AVPacket* packet;
    av_read_frame(formatCtx, packet);
    RTSPState* rtspState = formatCtx->priv_data;
    RTPDemuxContext *rtpdemux = rtspState->rtsp_streams[packet->stream_index]->transport_priv;

    as well as

    RTSPState *state = _formatCtx->priv_data;
    RTSPStream *stream = state->rtsp_streams[0];
    RTPDemuxContext *demux = stream->transport_priv;
    demux→timestamp

    I’d like to ask how can we call AVFormatContext from C++ side, is it through av_read_frame ? Is it possible to use python bindings or VideoCapture already wraps ffmpeg so there is no need to use av_read_frame but just call VideoCapture ?

  • Merge commit ’64a31b2854c589e4f27cd68ebe3bcceb915704e5’

    22 mars 2017, par Clément Bœsch
    Merge commit ’64a31b2854c589e4f27cd68ebe3bcceb915704e5’
    

    * commit ’64a31b2854c589e4f27cd68ebe3bcceb915704e5’ :
    pthread_frame : use atomics for PerThreadContext.state

    This commit is a noop, see 749262693247808e2db5a2eb29a11ad3cfec211c

    Merged-by : Clément Bœsch <u@pkh.me>

  • Retrieving RTP/RTSP Absolute Timestamps through FFmpeg using Opencv

    6 septembre 2019, par Fr0sty

    This is an update to my previous post. I am able to get the RTP timestamps by using ffmpeg and opencv currently, however, I am trying to actually get the timestamp at which the frame was captured. I did a work around to try find the time at which the frame was captured (code is in python).

    seconds_before_frame = cap.getRTPTimeStampSeconds()
    fractionofseconds_before_frame = cap.getRTPTimeStampFraction()
    ret, frame = cap.read()
    seconds_after_frame = cap.getRTPTimeStampSeconds()
    fractionofseconds_after_frame = cap.getRTPTimeStampFraction()

    By doing this I found that the time captured was off by 0.02359296 seconds and sometimes 0.2359296 seconds, that’s a lot more than I had expected.

    I found some work arounds with trying to get the timestamp of the frame by using AVFormatContext which I didn’t really understand through the priv_data.

    AVPacket* packet;
    av_read_frame(formatCtx, packet);
    RTSPState* rtspState = formatCtx->priv_data;
    RTPDemuxContext *rtpdemux = rtspState->rtsp_streams[packet->stream_index]->transport_priv;

    as well as

    RTSPState *state = _formatCtx->priv_data;
    RTSPStream *stream = state->rtsp_streams[0];
    RTPDemuxContext *demux = stream->transport_priv;
    demux→timestamp

    I’d like to ask how can we call AVFormatContext from C++ side, is it through av_read_frame ? Is it possible to use python bindings or VideoCapture already wraps ffmpeg so there is no need to use av_read_frame but just call VideoCapture ?