Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (97)

  • Les images

    15 mai 2013
  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5739)

  • lavf/mov : Allow reading very large files.

    28 septembre 2017, par Pablo Montilla
    lavf/mov : Allow reading very large files.
    

    The Sample count in the time-to-sample table is defined as
    32-bit unsigned integer by the QT specification.

    Fixes ticket #6700.

    • [DH] libavformat/isom.h
    • [DH] libavformat/mov.c
  • avcodec/zmbv : Check that the buffer is large enough for mvec

    15 novembre 2017, par Michael Niedermayer
    avcodec/zmbv : Check that the buffer is large enough for mvec
    

    Fixes : Timeout
    Fixes : 4143/clusterfuzz-testcase-4736864637419520

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/zmbv.c
  • Too large number of skipped frames. FFMPEG, C program

    27 novembre 2017, par gogoer

    I’m writing program on C to capture RTSP stream and write it to files.
    But after some time i get errors :

    Too large number of skipped frames xxxx > 60000

    After this files become incorrect and very small size.
    What the reason of it and how can o fix this problems ?

    a piece of code, where i capture frames and put them to buffer.

           ofmt = av_guess_format( NULL, sFileOutput, NULL );
           ofcx = avformat_alloc_context();
           ofcx->oformat = ofmt;
           int ret2=avio_open( &amp;ofcx->pb, sFileOutput, AVIO_FLAG_WRITE);
           if(ret2&lt;0){
               fprintf(stderr, "\nError occurred when opening output file: %s\n",av_err2str(ret2));
           }

           ost = avformat_new_stream( ofcx, NULL );
           avcodec_copy_context( ost->codec, iccx );

           ost->sample_aspect_ratio.num = iccx->sample_aspect_ratio.num;
           ost->sample_aspect_ratio.den = iccx->sample_aspect_ratio.den;

           ost->r_frame_rate = ist->r_frame_rate;
           ost->avg_frame_rate = ost->r_frame_rate;
           ost->time_base = av_inv_q( ost->r_frame_rate );
           ost->codec->time_base = ost->time_base;
           ost->codec->width = 1280;
           ost->codec->height = 800;

           av_init_packet( &amp;pkt );

           while ( av_read_frame( ifcx, &amp;pkt ) >= 0 &amp;&amp; start_flag==0 &amp;&amp; stop_flag==0){
               if ( pkt.stream_index == i_index ) {
                   pkt.stream_index = ost->id;
                   pkt.pts = av_rescale_q_rnd(pkt.pts, ist->time_base, ost->time_base, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX);
                   pkt.dts = av_rescale_q_rnd(pkt.dts, ist->time_base, ost->time_base, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX);
                   pkt.duration = av_rescale_q(pkt.duration, ist->time_base, ost->time_base);
                   pkt.pos = -1;
                   av_copy_packet(&amp;pkt_arr[pkg_index],&amp;pkt);
               }
               av_free_packet( &amp;pkt );
               av_init_packet( &amp;pkt );
               pkg_index++;

               if(pkg_index>=bufer_size){
                   pkg_index=pkg_index-bufer_size;
               }
           }