Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (13)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (3756)

  • hqx : Store shareable data in main decoder context

    9 avril 2015, par Vittorio Giovara
    hqx : Store shareable data in main decoder context
    

    In preparation for multithreaded decoding.

    • [DBH] libavcodec/hqx.c
    • [DBH] libavcodec/hqx.h
  • hqx : Store shareable data in main decoder context

    9 avril 2015, par Vittorio Giovara
    hqx : Store shareable data in main decoder context
    

    In preparation for multithreaded decoding.

    • [DH] libavcodec/hqx.c
    • [DH] libavcodec/hqx.h
  • Not able to change H264 profile to High from Main using FFMPEG API

    7 juin 2015, par AsG

    I am using QtFFMPEG wrapper(https://code.google.com/p/qtffmpegwrapper/) with Qt 5.4 and MSCV 2012. I want to encode a mp4 video from image files at 25 fps and high profile.
    I used the createFile() and encodeImage() functions from here

    I am using the below parameters :

    pCodecCtx=pVideoStream->codec;
    pCodecCtx->codec_id = pOutputFormat->video_codec;
    pCodecCtx->codec_type = ffmpeg::AVMEDIA_TYPE_VIDEO;
    pCodecCtx->profile=FF_PROFILE_H264_HIGH;
    pCodecCtx->bit_rate = Bitrate;
    pCodecCtx->width = getWidth();
    pCodecCtx->height = getHeight();
    pCodecCtx->time_base.den = fps;
    pCodecCtx->time_base.num = 1;
    pCodecCtx->gop_size = 10;
    pCodecCtx->pix_fmt = ffmpeg::PIX_FMT_YUV420P;
    pCodecCtx->qmin = 10;
    pCodecCtx->qmax = 51;

    The FFMPEG variables are :

    License: %s
    GPL version 3 or later
    AVCodec version %d
    3476480
    AVFormat configuration: %s
    --disable-static --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

    Now I currently get a video with below properties :

    ID                             : 1
    Format                         : AVC
    Format/Info                    : Advanced Video Codec
    Format profile                 : Main@L3.2
    Format settings, CABAC         : No
    Format settings, ReFrames      : 1 frame
    Format settings, GOP           : M=1, N=10
    Codec ID                       : avc1
    Codec ID/Info                  : Advanced Video Coding
    Duration                       : 4s 320ms

    I want the profile to be "High" and the CABAC to be yes with 3 ReFrames. How do I achieve that ? I tried setting the profile, coder_type and max_b_frames but did not help. At times the generated file did not even play. Can anyone help please. Thanks.

    I also tried using the av_opt_set() way but could not find that function. Only function I have is av_opt_set_dict(), am I missing something - outdated FFMPEG or missing #include.

    Tried this too, didnt help-

      ffmpeg::AVDictionary *opt = NULL;
      int iRes = av_dict_set(&opt, "profile", "high", 0);
      av_opt_set_dict(pFormatCtx->priv_data, &opt);
      av_opt_set_dict(pFormatCtx, &opt);

    Please help.

    EDIT :
    I got a high quality mp4 by changing the qmin and qmax values and then reencoding the big sized output via command line. I will try to upgrade the FFMPEG as suggested by Ronald below. Please consider the question closed for now.