Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (109)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (15425)

  • using ffmpeg.jar with android (in android studio)

    7 mai 2016, par Dany Y

    I’m trying to use FFmpegFrameRecorder in android. I tried all the possible configurations and still having java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avutil on runtime.

    I already added the files :

     - ffmpeg.jar
     - ffmpeg-android-arm.jar
     - javacpp.jar
     - javacv.jar
     - opencv-android-arm.jar
     - opencv.jar

    I tried from the javacv-presets and javacvbin

    I tried to extract opencv.jar and ffmpeg.jar and copy the .so files in the jnlibs and in jnlibs/armvebi

    Any idea what should be done ?

  • Difficulty getting the expected output for .avi conversions to .mp4 using FFMPEG [closed]

    25 avril 2024, par Ericel

    I am trying to write a video converting script that converts an input video file to .mp4 output. I am using ffmpeg libx264 encoder. Unfortunately, when I convert from .avi to .mp4, the output video is not smooth, a little skippy. Here is how I set up the encoder code :

    


    AVCodecContext *Video::setupVideoEncoder(const AVCodec *encoder, AVStream *inVideoStream, AVFormatContext *outFormatCtx)&#xA;{&#xA;    AVCodecContext *codecCtx = avcodec_alloc_context3(encoder);&#xA;    if (!codecCtx)&#xA;    {&#xA;        std::cerr &lt;&lt; "Failed to allocate the video codec context." &lt;&lt; std::endl;&#xA;        return nullptr;&#xA;    }&#xA;&#xA;    if (avcodec_parameters_to_context(codecCtx, inVideoStream->codecpar) &lt; 0)&#xA;    {&#xA;        std::cerr &lt;&lt; "Failed to copy codec parameters to encoder context." &lt;&lt; std::endl;&#xA;        avcodec_free_context(&amp;codecCtx);&#xA;        return nullptr;&#xA;    }&#xA;&#xA;    // Correctly assign pixel format based on encoder support&#xA;    if (!check_pix_fmt(encoder, inVideoStream->codecpar->format))&#xA;    {&#xA;        codecCtx->pix_fmt = encoder->pix_fmts[0];&#xA;    }&#xA;    else&#xA;    {&#xA;        codecCtx->pix_fmt = static_cast<avpixelformat>(inVideoStream->codecpar->format);&#xA;    }&#xA;    codecCtx->width = inVideoStream->codecpar->width;&#xA;    codecCtx->height = inVideoStream->codecpar->height;&#xA;    codecCtx->bit_rate = 2000000; // 2 Mbps&#xA;    codecCtx->gop_size = 12;&#xA;    codecCtx->max_b_frames = 3;&#xA;&#xA;    // Setting frame rate and time base using guessed values&#xA;    AVRational framerate = av_guess_frame_rate(outFormatCtx, inVideoStream, nullptr);&#xA;    codecCtx->framerate = framerate;&#xA;    codecCtx->time_base = av_inv_q(framerate);&#xA;&#xA;    AVDictionary *opts = nullptr;&#xA;    av_dict_set(&amp;opts, "x264-params", "keyint=25:min-keyint=25:no-scenecut=1", 0);&#xA;&#xA;    if (outFormatCtx->oformat->flags &amp; AVFMT_GLOBALHEADER)&#xA;    {&#xA;        codecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;&#xA;    }&#xA;&#xA;    if (avcodec_open2(codecCtx, encoder, &amp;opts) &lt; 0)&#xA;    {&#xA;        std::cerr &lt;&lt; "Failed to open the video encoder." &lt;&lt; std::endl;&#xA;        avcodec_free_context(&amp;codecCtx);&#xA;        av_dict_free(&amp;opts);&#xA;        return nullptr;&#xA;    }&#xA;&#xA;    av_dict_free(&amp;opts);&#xA;    return codecCtx;&#xA;} &#xA;</avpixelformat>

    &#xA;

    I can only thing the configurations here are the problem, because if I converted a .mov to .mp4, I get the expected output.

    &#xA;

  • avcodec/mpeg12enc : Basic support for encoding non even QPs for -non_linear_quant 1

    18 septembre 2015, par Michael Niedermayer
    avcodec/mpeg12enc : Basic support for encoding non even QPs for -non_linear_quant 1
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mpeg12enc.c
    • [DH] libavcodec/mpegvideo.c
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/x86/mpegvideo.c