[FFmpeg-trac] #596(undetermined:new): ffmpeg killed while encoding

FFmpeg trac at avcodec.org
Sat Oct 29 17:29:22 CEST 2011


#596: ffmpeg killed while encoding
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  benoit_friry                       |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  0.8.5        |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by benoit_friry):

 Run command:
 {{{
 $ ./ffmpeg_g -i ~/tmp/test.avi -an  -vcodec libx264 -preset slow -profile
 high -crf 25  -f mp4 ~/tmp/test.h264.mp4
 }}}
 which ended by:
 {{{
 [libx264 @ 0x34b5860] frame=11886 QP=29.57 NAL=2 Slice:B Poc:96  I:29
 P:1243 SKIP:272  size=8734 bytes
 [mjpeg @ 0x34a3bc0] marker=d8 avail_size_in_buf=105714
 [mjpeg @ 0x34a3bc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x34a3bc0] marker=fe avail_size_in_buf=105712
 [mjpeg @ 0x34a3bc0] mjpeg comment: 'Lavc52.72.2'
 [mjpeg @ 0x34a3bc0] marker parser used 14 bytes (112 bits)
 [mjpeg @ 0x34a3bc0] marker=db avail_size_in_buf=105696
 [mjpeg @ 0x34a3bc0] index=0
 [mjpeg @ 0x34a3bc0] qscale[0]: 2
 [mjpeg @ 0x34a3bc0] marker parser used 67 bytes (536 bits)
 [mjpeg @ 0x34a3bc0] marker=c4 avail_size_in_buf=105627
 [mjpeg @ 0x34a3bc0] class=0 index=0 nb_codes=12
 [mjpeg @ 0x34a3bc0] class=0 index=1 nb_codes=12
 [mjpeg @ 0x34a3bc0] class=1 index=0 nb_codes=251
 [mjpeg @ 0x34a3bc0] class=1 index=1 nb_codes=251
 [mjpeg @ 0x34a3bc0] marker parser used 418 bytes (3344 bits)
 [mjpeg @ 0x34a3bc0] marker=c0 avail_size_in_buf=105207
 [mjpeg @ 0x34a3bc0] sof0: picture: 720x576
 [mjpeg @ 0x34a3bc0] component 0 2:2 id: 0 quant:0
 [mjpeg @ 0x34a3bc0] component 1 1:1 id: 1 quant:0
 [mjpeg @ 0x34a3bc0] component 2 1:1 id: 2 quant:0
 [mjpeg @ 0x34a3bc0] pix fmt id 22111100
 [mjpeg @ 0x34a3bc0] marker parser used 17 bytes (136 bits)
 [mjpeg @ 0x34a3bc0] escaping removed 2132 bytes
 [mjpeg @ 0x34a3bc0] marker=da avail_size_in_buf=105188
 [mjpeg @ 0x34a3bc0] component: 0
 [mjpeg @ 0x34a3bc0] component: 1
 [mjpeg @ 0x34a3bc0] component: 2
 [mjpeg @ 0x34a3bc0] sequential DCT  p:0 >>:0 ilv:63 bits:8 skip:0  comp:3
 [mjpeg @ 0x34a3bc0] marker parser used 103055 bytes (824439 bits)
 [mjpeg @ 0x34a3bc0] marker=d9 avail_size_in_buf=0
 [mjpeg @ 0x34a3bc0] mjpeg decode frame unused 0 bytes
 zsh: killed     ./ffmpeg_g -i ~/tmp/test.avi -an -vcodec libx264 -preset
 slow -profile high
 }}}

 Meanwhile, i watched for memory consumption:
 {{{
 $ while true; do ps -o cp,cputime,%mem,rss,sz,vsz -p 6983 >>
 ~/tmp/ffmpeg_g_ps.log; sleep 1 ; done
 }}}
 The log is
 {{{
 CP     TIME %MEM   RSS    SZ    VSZ
   3 00:00:00  4.3 89904 31373 125492
   7 00:00:01  4.3 90172 31373 125492
  11 00:00:02  4.8 99080 33216 132864
  15 00:00:03  5.0 102988 34450 137800
  18 00:00:04  5.1 105512 34450 137800
  23 00:00:05  5.2 107976 35052 140208
  26 00:00:05  5.2 108064 35052 140208
  29 00:00:06  5.2 108064 35052 140208
  33 00:00:07  5.2 108064 35052 140208
  37 00:00:08  5.2 108084 35052 140208
 [...]
 850 00:56:27  5.3 110128 35151 140604
 850 00:56:28  5.3 110128 35151 140604
 850 00:56:29  5.3 110128 35151 140604
 850 00:56:30  5.3 110128 35151 140604
 850 00:56:31  5.3 110128 35151 140604
 850 00:56:32  5.3 110128 35151 140604
 851 00:56:33  5.3 110128 35151 140604
 851 00:56:33  5.3 110128 35151 140604
 851 00:56:34  5.3 110128 35151 140604
 851 00:56:35  5.3 110128 35151 140604
 851 00:56:36  5.3 110132 35151 140604
 851 00:56:37  5.3 110132 35151 140604
 851 00:56:38  5.3 110132 35151 140604
 851 00:56:39  5.3 110132 35151 140604
 851 00:56:40  5.3 110132 35151 140604
 850 00:56:41  5.3 110132 35151 140604
 851 00:56:42  5.3 110132 35151 140604
 851 00:56:43  5.3 110132 35151 140604
 }}}

 After 00:56:43 process was died.

 Full log attached, but nothing particular in it.

 Should I try to run valgrind?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/596#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list