Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (6215)

  • Revision 2fb9b635bb : Fix denoiser chroma component initialization Use the correct frame size and str

    4 janvier 2015, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_denoiser.c



    Fix denoiser chroma component initialization

    Use the correct frame size and stride value for chroma components
    when setting the initial values. These control parameters are
    assigned when the denoiser buffer was allocated and initialized.

    Change-Id : Ia6318194c7738aff540bcbd34f77f0dac46221a1

  • C++ - Failed to stream to youtube with ffmpeg

    27 mars 2022, par Samuel Ives

    Well, I have an open source project similar to OBS but aimed at churches, the repository you can find here, however I'm stuck in the encoding part, avcodec_send_frame after a while just returns Failed to send frame - code : -11 err : Resource temporarily unavailable and never gets to the stage of receiving packets.

    


    I've tried everything including changing the output format to MP4 but the application just crashes, this time I'm challenging myself to a bigger project, I thought I had solved it by changing the codec to H.264 but I was wrong

    


    Basically I'm trying to get OpenCV images from my webcam and send them to youtube

    


    void Broadcast::writeFrame(const cv::Mat &amp;image)&#xA;{&#xA;&#xA;    const int width = image.cols;&#xA;    const int height = image.rows;&#xA;&#xA;    if(swConv == nullptr) {&#xA;        swConv = sws_getContext(width, height, AV_PIX_FMT_RGB24, codecCtx->width, codecCtx->height, codecCtx->pix_fmt, SWS_BILINEAR, nullptr, nullptr, nullptr);&#xA;        if(!swConv) {&#xA;            qCritical() &lt;&lt; "Could not create SwContext";&#xA;            return;&#xA;        }&#xA;    }&#xA;&#xA;    const int stride[4] = { static_cast<int>(image.step[0]) };&#xA;    sws_scale(swConv, &amp;image.data, stride, 0, image.rows, frame->data, frame->linesize);&#xA;    frame->pts = frame_pts&#x2B;&#x2B;;&#xA;&#xA;    int ret = avcodec_send_frame(codecCtx, frame);&#xA;    if(ret &lt; 0) {&#xA;        qWarning() &lt;&lt; "Failed to send frame - code: " &lt;&lt; ret &lt;&lt; " err: " &lt;&lt; av_err2str(ret);;&#xA;        return;&#xA;    }&#xA;&#xA;    qDebug() &lt;&lt; "AA " &lt;&lt; ret;&#xA;&#xA;    // Encode frames into packet&#xA;    while(ret > 0) {&#xA;&#xA;        qDebug() &lt;&lt; "BB " &lt;&lt; ret;&#xA;&#xA;        ret = avcodec_receive_packet(codecCtx, pkt);&#xA;        if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) {&#xA;            return;&#xA;        } else if(ret &lt; 0) {&#xA;            qCritical() &lt;&lt; "Error reciving packets: " &lt;&lt; av_err2str(ret);&#xA;            break;&#xA;        }&#xA;&#xA;        qDebug() &lt;&lt; "CC";&#xA;&#xA;        av_write_trailer(ofctx);&#xA;        //av_packet_unref(pkt);&#xA;&#xA;    }&#xA;&#xA;    qDebug() &lt;&lt; "Frames " &lt;&lt; frame_pts;&#xA;&#xA;}&#xA;</int>

    &#xA;

  • FFmpeg : Encode Rgb Frames (AvFrames) to H264

    9 juillet 2021, par NoviceAndNovice

    When I encode Rgb24 frame with H264 I get "input width is greater than than stride"...

    &#xA;

    By the way if I give raw image which is Yuv420p, ffmpeg successfully encodes it...

    &#xA;

    What I wanted to know is :

    &#xA;

    i) Do we have to give Yuv format for encoding ? Can't give rgb frame for encoding h264 ?
    &#xA;ii) If we can give rgb frame, what is the trick ?

    &#xA;