[FFmpeg-trac] #9749(undetermined:new): ffmpeg on mkv freezes system
FFmpeg
trac at avcodec.org
Mon Apr 25 19:25:05 EEST 2022
#9749: ffmpeg on mkv freezes system
--------------------------------------+----------------------------------
Reporter: eyrieowl | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 4.4.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Summary of the bug:
I have been running into an issue where when I try to transcode an mkv
file above...some duration which I'm not quite certain about, it freezes
the whole system after it's encoded to a certain point in time. With the
input file that I'm sending information about, this seems to happen after
it's encoded about 20 min of the movie. I'm running on Linux (extra info
below); however, I've also attempted to get around the issue by running
the encode in a VMWare VM running a Windows 10 guest and ffmpeg 5...and I
saw the same behavior. I limited the guest to only two cores, and it
never had the full memory available, and the same thing happened. It
didn't just freeze the guest, it froze the entire machine.... When this
happens, the machine is entirely unresponsive. The screen is still on,
the time frozen, and no keyboard input or mouse input or remote login is
possible. I've left the machine sitting overnight and well into the next
day, nothing changes, the only remedy is to hard power off the machine.
I've also tried using taskset in the linux host to limit the CPU ffmpeg
can use, and that had the same result as well.
My speculation is that something ffmpeg is doing is maybe hitting a bug in
the CPU? I don't know. It does seem to be something about the mkv
package...I've encoded many mp4 files without an issue. But I've encoded
a couple mkv which both had the same outcome. I'll include information
for both. I think I can't provide the original files, though, for legal
reasons, but also size. The first file is 41GB. I'm happy to do whatever
steps you want to gather more information, though.
I also tried using Handbrake, with the goal of having it pick a different
set of options. That also failed.
How to reproduce:
{{{
% ffmpeg -i THE\ GODFATHER_t00.mkv -map 0 -c:s copy TheGodfather.mkv
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9749>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list