Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (47)

  • 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

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6861)

  • FFMPEG rtmp live stream with android fps is too low

    27 novembre 2015, par 蔡明原

    I’m interesting live stream from android to youtube.
    I have compile ffmpeg and write jni to live stream with android.
    but the fps is too low, it always has 3 5 fps, the user view is not good.
    how can i do to change the fps.
    this is my jni code with ffmpeg init.

    AVCodecContext *video_codec_ctx = video_stream->codec;
     video_codec_ctx->codec_id = video_codec->id;
     video_codec_ctx->codec_type = AVMEDIA_TYPE_VIDEO;
     video_codec_ctx->level = 31;

     video_codec_ctx->width = width;
     video_codec_ctx->height = height;
     video_codec_ctx->pix_fmt = PIX_FMT_YUV420P;

     video_codec_ctx->rc_max_rate = 0;
     video_codec_ctx->rc_buffer_size = 0;
     video_codec_ctx->gop_size = 30;
     video_codec_ctx->max_b_frames = 0;
     video_codec_ctx->slices = 8;  
     video_codec_ctx->b_frame_strategy = 1;
     video_codec_ctx->coder_type = 0;
     video_codec_ctx->me_cmp = 1;
     video_codec_ctx->me_range = 16;
     video_codec_ctx->qmin = 10;
     video_codec_ctx->qmax = 51;
     video_codec_ctx->keyint_min = 25;
     video_codec_ctx->refs= 3;  
     video_codec_ctx->trellis = 0;
     video_codec_ctx->scenechange_threshold = 40;
     video_codec_ctx->flags |= CODEC_FLAG_LOOP_FILTER;
     video_codec_ctx->me_method = ME_HEX;
     video_codec_ctx->me_subpel_quality = 6;
     video_codec_ctx->i_quant_factor = 0.71;
     video_codec_ctx->qcompress = 0.6;
     video_codec_ctx->max_qdiff = 4;
     video_codec_ctx->time_base.den = 30;
     video_codec_ctx->time_base.num = 1;
     video_codec_ctx->bit_rate = 5200*1000;
     video_codec_ctx->bit_rate_tolerance = 0;
     video_codec_ctx->flags2 |= 0x00000100;

     fmt_context->bit_rate = 6000*1000;

     av_opt_set(video_codec_ctx, "partitions", "i8x8,i4x4,p8x8,b8x8", 0);

     av_opt_set_int(video_codec_ctx, "direct-pred", 1, 0);
     av_opt_set_int(video_codec_ctx, "rc-lookahead", 0, 0);
     av_opt_set_int(video_codec_ctx, "fast-pskip", 1, 0);
     av_opt_set_int(video_codec_ctx, "mixed-refs", 1, 0);
     av_opt_set_int(video_codec_ctx, "8x8dct", 0, 0);
     av_opt_set_int(video_codec_ctx, "weightb", 0, 0);

     if(fmt_context->oformat->flags & AVFMT_GLOBALHEADER)
         video_codec_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;

     LOGI("Opening video codec");
     AVDictionary *vopts = NULL;
     av_dict_set(&vopts, "profile", "main", 0);
     //av_dict_set(&vopts, "vprofile", "main", 0);
     av_dict_set(&vopts, "rc-lookahead", 0, 0);
     av_dict_set(&vopts, "tune", "film", 0);  
     av_dict_set(&vopts, "preset", "ultrafast", 0);  
     av_opt_set(video_codec_ctx->priv_data,"tune","film",0);
     av_opt_set(video_codec_ctx->priv_data,"preset","ultrafast",0);
     av_opt_set(video_codec_ctx->priv_data,"tune","film",0);
     int open_res = avcodec_open2(video_codec_ctx, video_codec, &vopts);
  • libutvideo : Unbreak

    3 février 2016, par Derek Buitenhuis
    libutvideo : Unbreak
    

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavcodec/libutvideoenc.cpp
  • Merge commit ’2862b63783b5556f7f3fb2d097629bc6879f833a’

    3 février 2016, par Derek Buitenhuis
    Merge commit ’2862b63783b5556f7f3fb2d097629bc6879f833a’
    

    * commit ’2862b63783b5556f7f3fb2d097629bc6879f833a’ :
    lavc : Move prediction_method to codec private options

    Merged-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/huffyuvenc.c
    • [DH] libavcodec/j2kenc.c
    • [DH] libavcodec/jpeglsenc.c
    • [DH] libavcodec/libutvideo.h
    • [DH] libavcodec/libutvideoenc.cpp
    • [DH] libavcodec/ljpegenc.c
    • [DH] libavcodec/mjpegenc.c
    • [DH] libavcodec/mjpegenc_common.c
    • [DH] libavcodec/mjpegenc_common.h
    • [DH] libavcodec/mpegvideo.h
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/options_table.h
    • [DH] libavcodec/pngenc.c
    • [DH] libavcodec/snow.h
    • [DH] libavcodec/snowenc.c
    • [DH] libavcodec/utvideo.c
    • [DH] libavcodec/utvideo.h
    • [DH] libavcodec/utvideoenc.c
    • [DH] tests/fate/utvideo.mak