Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (53)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

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

  • How to use youtube-dl to record live stream in parts

    23 juillet 2021, par Vikral

    Just wondering if that's possible or not to break an m3u8 live stream recording every hour and restart the recording again.

    &#xA;

    I don't want to press Ctrl-C every hour to stop the recording and restart it again to get a playable downloaded file. Instead, I want to automate this.

    &#xA;

    Does anyone know if that is possible ?

    &#xA;

  • FFMPEG - How to stream multiple videos with subtitles on YouTube [closed]

    9 janvier 2024, par V C

    Right now i'm using this but subs are not showing is there a way to enable them

    &#xA;

    ffmpeg -re -f concat -i list.txt -c copy -f flv ytlink&#xA;

    &#xA;

    I'm looking to stream .mp4 with .srt but if there is a way to enable the sub track on a .mkv that would also be helpful

    &#xA;