[FFmpeg-trac] #429(undetermined:open): ffmpeg is killed by kernel (out of Memmry)

FFmpeg trac at avcodec.org
Mon Sep 5 01:13:35 CEST 2011


#429: ffmpeg is killed by kernel (out of Memmry)
-------------------------------------+-------------------------------------
             Reporter:  mus          |                    Owner:  michael
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  memory x264  |               Resolution:
  killed kernel                      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mus):

 I just did some more testing. After I did a fresh compile from Git, I saw
 that there are some ongoing changes regarding the -new* and -map options
 (thank god, I actually switched to libav because the syntax for avconv is
 much better). I couldn't quite figure out how the -map option works now,
 so I used an older build from the official Arch Linux repos (compiled on
 2011-07-24) for testing.

 Anyway, it seems like this is caused by - and here comes the surprise -
 the subtitles.

 All the files that have this problem have 3 subtitles. If I do the
 following, I can actually watch the memory getting eaten up in "top"
 within minutes and ffmpeg getting killed:

 ffmpeg -i input.mkv -scodec copy -vcodec copy -an output.mkv -scodec copy
 -newsubtitle -scodec copy -newsubtitle

 If I use the following instead (not copying the third subtitle), memory
 consumption stays at about 4% and everything works fine:

 ffmpeg -i input.mkv -scodec copy -vcodec copy -an output.mkv -scodec copy
 -newsubtitle

 When I ripped these movies with MakeMKV I always told MakeMKV to rip 4
 subtitles:

 English
 English (forced)
 German
 German (forced)

 The subs causing this problem is the German forced. MakeMKV probably
 didn't rip the English forced subs because they were empty.

 I'm gonna upload the ffmpeg output and some more info tomorrow.

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


More information about the FFmpeg-trac mailing list