[FFmpeg-trac] #5764(undetermined:new): ffmpeg deadlock with first pass x264 encode with >=slower and bitrate set

FFmpeg trac at avcodec.org
Wed Aug 10 18:57:05 EEST 2016


#5764: ffmpeg deadlock with first pass x264 encode with >=slower and bitrate set
-------------------------------------+-------------------------------------
             Reporter:  MonoS        |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: ffmpeg deadlock trying to encode the first pass of a
 2pass encode with the preset >= than slower and the bitrate set to about
 about 9102k [i haven't tried other bitrates]

 When trying to encode the test file i've attached [but it seems to happens
 with all the file that i've tried], ffmpeg block at random frames count,
 no CPU time is spent on the process and the console doesn't output
 anything.
 Is more an heisenbug than a normal bug, it's a matter of luck to reproduce
 and don't reproduce with different versions, settings and os.
 The bug doesn't seems to occurs on version before windows 8, i've tried to
 reproduce this bug with success on a win 8.1 and win server 2012 R2, on
 windows 7 both on VM and not the problem does not occurs.

 The first Zeranoe's version to have this bug is the 50747d6, the version
 before [3f5b7a2] doesn't seems to have this problem, the problem still
 occurs with the latest git compiled by them [369ed11].

 The only way to close it is via hard exit [ctrl+c 3 times], other ways
 doesn't seems to works.

 I've tried to make a bisect of the bug but with my build environment the
 problem occurs even on the working version [3f5b7a2]

 How to reproduce:
 {{{
 % ffmpeg -i input -c:v libx264 -preset slower -b:v 9102k -pass 1
 -passlogfile test_deadlock.stats -f null NUL
 ffmpeg version 50747d6 to 369ed11
 built by Zeranoe
 }}}

 Test file: https://www.datafilehost.com/d/11af1c16

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


More information about the FFmpeg-trac mailing list