[FFmpeg-trac] #1157(undetermined:new): Circular buffer overrun with 4+ ffmpeg instances.

FFmpeg trac at avcodec.org
Sun Apr 1 13:39:22 CEST 2012


#1157: Circular buffer overrun with 4+ ffmpeg instances.
--------------------------------------+----------------------------------
             Reporter:  Involar       |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  0.10.2
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Hello, im trying to launch multiple transcoding instances on an i7 2600k.
 Now with 3 instaces everything is fine, but after 4th I get crashes with
 this error. CPU is at no more than 30% at the moment of crash. Memory
 ussage is about 500mb/4G. Here is the output.

 ffmpeg -i udp://@239.1.1.2:5000 -pass 1 -crf 5 -vcodec libx264 -preset
 ultrafast -g 20 -b 500k -bt 10k -acodec libfaac -ab 128k -ar 48000 -ac 2
 -f mpegts udp://192.168.1.136:5004 -v warning -bufsize 10000 -vframes 10
 [mpeg2video @ 0x249da20] mpeg_decode_postinit() failure
     Last message repeated 5 times
 [mpegts @ 0x24733a0] max_analyze_duration 5000000 reached at 5016000
 [mpegts @ 0x24733a0] Estimating duration from bitrate, this may be
 inaccurate
 Please use -b:a or -b:v, -b is ambiguous
 [udp @ 0x24738e0] Circular buffer overrun. To avoid, increase fifo_size
 URL option. To survive in such case, use overrun_nonfatal option
 [mpegts @ 0x24733a0] PES packet size mismatch
 [mpeg2video @ 0x249da20] ac-tex damaged at 31 4
 [mpeg2video @ 0x249da20] Warning MVs not available
 [mp2 @ 0x24a3be0] incomplete frame
 Error while decoding stream #0:1.

 Now I get it that my fifo buffer is too small to handle 4 instances. Can
 you please advise where can I change the initial value ?

 Thanks in advance

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1157>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list