Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (71)

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

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (8513)

  • Is there a way to force ffmpeg produce an I frame while encoding a mjpeg stream to h264

    2 novembre 2020, par SolskGaer

    I am transcoding a mjpeg stream to a h264 one, and I hope the stream can be played anytime I put it to a player, as far as I know, I need an I-frame the time I connect to it to play the stream properly, is it possible ? By the way, I invoke the ffmpeg binary using golang so I have full control of its input.

    


  • How to force an input frame rate on libav for mjpeg

    20 février 2023, par Christoph

    I am using libav to parsing a MJPEG Stream to get the packet data for resending it over an websocket, now I am facing the issue that ffmpeg use only 25 FPS. I know the Stream has 60FPS for 100%

    


    These are the values after open and read the stream Informations :

    


    avg_frame_rate = 0, r_frame_rate = 25/1, time_base = 1/25

    


    I tried to set all of them to a setting for 60FPS, but this looks has no effect.
I have set time_base to 1/60 and also frame rates to 60 but none of them are making any difference.

    


    Because its an MJPEG Stream libav needs to guess the framerate, but I don't know why setting time_base or framerate does not have any effect.

    


    Maybe someone could help me how I could force 60 FPS for parsing an MJEPG Stream, this would be great.

    


    Thank u

    


    This is just an Illustration of my code

    


    #include &#xA;#include &#xA;#include &#xA;#include &#xA;#include <libavutil></libavutil>avutil.h>&#xA;#include <libavcodec></libavcodec>avcodec.h>&#xA;#include <libavformat></libavformat>avformat.h>&#xA;&#xA;int main(int argc, char *argv[]) {&#xA;    AVFormatContext *fmt_ctx = NULL;&#xA;    AVCodecContext *codec_ctx = NULL;&#xA;    AVCodec *codec = NULL;&#xA;    AVPacket pkt;&#xA;&#xA;    if (argc &lt; 2) {&#xA;        fprintf(stderr, "Usage: %s \n", argv[0]);&#xA;        exit(1);&#xA;    }&#xA;&#xA;    av_register_all();&#xA;&#xA;    if (avformat_open_input(&amp;fmt_ctx, argv[1], NULL, NULL) &lt; 0) {&#xA;        fprintf(stderr, "Could not open stream &#x27;%s&#x27;\n", argv[1]);&#xA;        exit(1);&#xA;    }&#xA;&#xA;    if (avformat_find_stream_info(fmt_ctx, NULL) &lt; 0) {&#xA;        fprintf(stderr, "Could not find stream information\n");&#xA;        exit(1);&#xA;    }&#xA;&#xA;    int video_stream_index = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, &amp;codec, 0);&#xA;&#xA;    if (video_stream_index &lt; 0) {&#xA;        fprintf(stderr, "Could not find video stream\n");&#xA;        exit(1);&#xA;    }&#xA;&#xA;    AVStream *video_stream = fmt_ctx->streams[video_stream_index];&#xA;    stream->time_base = (AVRational) { 1, 60};&#xA;    stream->avg_frame_rate = (AVRational) { 60, 1 };&#xA;    stream->r_frame_rate = (AVRational) { 60, 1 };&#xA;&#xA;    av_init_packet(&amp;pkt);&#xA;&#xA;    while (av_read_frame(fmt_ctx, &amp;pkt) >= 0) {&#xA;        if (pkt.stream_index == video_stream_index) {&#xA;            // Sending it to an websocket ....&#xA;        }&#xA;        av_packet_unref(&amp;pkt);&#xA;    }&#xA;&#xA;    avformat_close_input(&amp;fmt_ctx);&#xA;    avformat_free_context(fmt_ctx);&#xA;&#xA;    return 0;&#xA;}&#xA;

    &#xA;

  • Revision 0a386b9234 : Revert "Force ARNR filtering to be centered on the ARF frame" This reverts comm

    28 avril 2014, par Adrian Grange

    Changed Paths :
     Modify /test/borders_test.cc


     Modify /test/cpu_speed_test.cc


     Modify /vp9/encoder/vp9_encoder.h


     Modify /vp9/encoder/vp9_temporal_filter.c


     Modify /vp9/vp9_cx_iface.c


     Modify /vpx/vp8cx.h


     Modify /vpxenc.c



    Revert "Force ARNR filtering to be centered on the ARF frame"

    This reverts commit 59e733ca81b707780901340686ecd7419077eb54.

    Hold off removing arnr_type to give users the opportunity
    to change their script files to handle its deprecation. A
    follow-up patch will mark the control for setting arnr_type
    as deprecated and it will be removed completely in a later
    revision of the code.

    Change-Id : I8b817c744e144d3714234a4cd4309816d0c7e3e8