Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (112)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (5412)

  • ffmpeg +libx264 iPhone -> 'avcodec_encode_video' return always 0 . please advice

    2 janvier 2014, par isaiah

                     av_register_all();

            AVCodec *codec ;
            AVCodecContext *c= NULL ;
            int  out_size, size, outbuf_size ;
            //FILE *f ;
            uint8_t *outbuf ;
    

    printf("Video encoding\n") ;

    /* find the mpeg video encoder */
    codec =avcodec_find_encoder(CODEC_ID_H264) ;//avcodec_find_encoder_by_name("libx264") ; //avcodec_find_encoder(CODEC_ID_H264) ;//CODEC_ID_H264) ;
    NSLog(@"codec = %i",codec) ;
    if (!codec)
    fprintf(stderr, "codec not found\n") ;
    exit(1) ;

    c= avcodec_alloc_context() ;

    /* put sample parameters */
    c->bit_rate = 400000 ;
    c->bit_rate_tolerance = 10 ;
    c->me_method = 2 ;
    /* resolution must be a multiple of two */
    c->width = 352 ;//width ;//352 ;
    c->height = 288 ;//height ;//288 ;
    /* frames per second */
    c->time_base= (AVRational)1,25 ;
    c->gop_size = 10 ; /* emit one intra frame every ten frames */
    //c->max_b_frames=1 ;
    c->pix_fmt = PIX_FMT_YUV420P ;

    c ->me_range = 16 ;
    c ->max_qdiff = 4 ;
    c ->qmin = 10 ;
    c ->qmax = 51 ;
    c ->qcompress = 0.6f ;

    'avcodec_encode_video' is always 0 .

    I guess that because 'non-strictly-monotonic PTS' warning, do you konw same situation ?

  • iPhone - A problem with decoding H264 using ffmpeg

    25 mars 2012, par HAPPY_TIGER

    I am working with ffmpeg to decode H264 stream from server.

    I referenced DecoderWrapper from http://github.com/dropcam/dropcam_for_iphone.

    I compiled it successfully, but I don't know how use it.

    Here are the function that has problem.

    - (id)initWithCodec:(enum VideoCodecType)codecType
            colorSpace:(enum VideoColorSpace)colorSpace
                 width:(int)width
                height:(int)height
           privateData:(NSData*)privateData {
       if(self = [super init]) {

           codec = avcodec_find_decoder(CODEC_ID_H264);
           codecCtx = avcodec_alloc_context();

           // Note: for H.264 RTSP streams, the width and height are usually not specified (width and height are 0).  
           // These fields will become filled in once the first frame is decoded and the SPS is processed.
           codecCtx->width = width;
           codecCtx->height = height;

           codecCtx->extradata = av_malloc([privateData length]);
           codecCtx->extradata_size = [privateData length];
           [privateData getBytes:codecCtx->extradata length:codecCtx->extradata_size];
           codecCtx->pix_fmt = PIX_FMT_YUV420P;
    #ifdef SHOW_DEBUG_MV
           codecCtx->debug_mv = 0xFF;
    #endif

           srcFrame = avcodec_alloc_frame();
           dstFrame = avcodec_alloc_frame();

           int res = avcodec_open(codecCtx, codec);
           if (res < 0)
           {
               NSLog(@"Failed to initialize decoder");
           }
       }

       return self;    
    }

    What is the privateData parameter of this function ? I don't know how to set the parameter...

    Now avcodec_decode_video2 returns -1 ;

    The framedata is coming successfully.

    How solve this problem.

    Thanks a lot.

  • how to increase bitrates of video which has been created through FFMPEG library in PHP ? [closed]

    1er octobre 2020, par Raindrops Info-tech

    Its an android application, where we are capturing image through mobile along with audio which then on server side, by using FFMPEG library we used to club them and making them MP4 Video.

    


    So as can see as a final result we are getting mp4 video having bitrates of less than 144 kbps so whenever we are trying to upload this video on twitter or LinkedIn, they guys are refused to create preview because of the smaller bitrate.

    


    Do we have any solution on how to increase Bit rates, actually we have one image along with 60 seconds audio only ? We had explored certain ways but fails to do so.

    


    Looking forward to your kind response.