Recherche avancée

Médias (91)

Autres articles (63)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (14223)

  • FFMPEG C++ API audio/video sync, video is longer [closed]

    11 mai 2023, par Gábor Gombor

    I create a video from frames in C++ with a given FPS and supply it to FFMPEG API. I record from an Unreal engine viewport and feed FFMPEG with the images. In this interval I have also an audio track in FLAC which I want sync with the video. When the music ends, I close the video and merge them, but the final video has sync problems, the video is a little bit longer than the audio, so I will have an increasing delay. For example I record 0:55 secs, the audio is ok=same length, but the video from frames will be 0:56 secs.

    


    I think the following code is problematic :

    


    bool MyVideoExporter::writeFrame(OutputStream* oStream, AVFrame* frame, int& framePTS)
{
    auto* packet = oStream->pkt->pkt;
    auto* codecContext = oStream->enc->codecContext;

    frame->pts = framePTS;
    frame->pkt_dts = frame->pts;

    auto ret = avcodec_send_frame(codecContext, frame);
    if (ret >= 0) {
        auto retVal = 0;
        while (retVal >= 0) {
            retVal = avcodec_receive_packet(codecContext, packet);
            if (retVal == AVERROR(EAGAIN) || retVal == AVERROR_EOF) break;
            else if (retVal < 0) {
                return false;
            }

            // rescale to audio, usually 1/44100
            av_packet_rescale_ts(packet, m_audiotimestamp, oStream->st->time_base);
            // rescale to FPS, usually 1/30 or 1/60
            av_packet_rescale_ts(packet, codecContext->time_base, oStream->st->time_base);

            packet->stream_index = oStream->st->index;

            retVal = av_interleaved_write_frame(m_avFormatContext.avFormatContext, packet);
            if (retVal < 0) {
                return false;
            }

            framePTS++;
        }

        return retVal == AVERROR_EOF;
    }

    return false;
}



    


    Any idea what is wrong ?

    


    I tried change the order of av_packet_rescale_ts lines or move the frame increase code to another places, but getting far worse results.

    


  • Anomalie #4685 (Nouveau) : Problèmes de css

    7 mars 2021, par Franck D

    Hello :)

    SPIP 3.3.0-dev GIT [master : f86fd052]
    Laragon :
    PHP 8.0.2 VS16 x64 Non Thread Safe https://windows.php.net/download/
    Apache 2.4.46 Win64 avec mod_fcgid-2.3.10-win64-VS16 https://www.apachelounge.com/download/
    Mysql 8.0.23 (mysql-8.0.23-winx64.zip) https://dev.mysql.com/downloads/mysql/
    phpMyAdmin 5.0.4 https://www.phpmyadmin.net

    Si je vais dans .../ecrire/ ?exec=messages puis après avoir fait une nouvelle annonce, je décide de la voir, j’arrive donc dedans, et là, il y a de gros problèmes de css (voir copie d’écran)
    Le petit calendrier à droite (en spip 3.2, c’est la date du jour et l’on peux voir l’événement du jour dedans), les boutons qui ne sont pas à la bonne places.

    En haut, il y a deux boutons "Répondre à ce message" et "supprimer ce message" c’était pareil en spip 3.2 mais le texte n’est pas pertinent, car au départ, il y a le choix entre :
    "Envoyer une nouvelle annonce", "Écrire un nouveau pense bête" "envoyer un nouveau message" donc, le texte devrait être en raccord avec ce que l’auteur créer.

  • Merge commit ’277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2’

    24 novembre 2014, par Michael Niedermayer
    Merge commit ’277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2’
    

    * commit ’277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2’ :
    lavu : move internal define to the only places where it is used

    Conflicts :
    libavcodec/h264_cabac.c
    libavutil/internal.h

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

    • [DH] libavcodec/h263.h
    • [DH] libavcodec/h264_cabac.c
    • [DH] libavutil/internal.h