ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Questions involving a Windows version of FFmpeg.
Post Reply
stib
Posts: 5
Joined: Wed Dec 03, 2014 7:49 am

ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Post by stib »

In the last couple of versions I've been having an issue where ffmpeg will randomly freeze mid-encode. There is no crash or error message, it just stops encoding and never finishes. It does this at a random point in the encode, and it doesn't do it repeatably; if I kill one encode and then repeat the same command it will usually complete successfully. It also seems to happen regardless of the command I'm using. so it will happen if I do:

Code: Select all

ffmpeg -i input.avi output.mp4
and also using a different codec with a different input and output format:

Code: Select all

ffmpeg -i '.\alpha test.mov'  -c:v prores_ks -profile:v 4 -quant_mat 4 -pix_fmt yuva444p10le -alpha_bits 8 'prorestest.mov'
This is on Windows7 x64 with ffmpeg version N-82759-g1f5630a (updated 5/12/2016).

So in short it's the worst kind of bug: entirely non-repeatable. Has anyone else had this happen?

llogan
Posts: 332
Joined: Fri Mar 14, 2014 3:29 am

Re: ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Post by llogan »

Is it reproducible on multiple machines?

Degru
Posts: 2
Joined: Sat Dec 10, 2016 5:47 am

Re: ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Post by Degru »

I am having this same issue, latest version, Win10 x64

User avatar
Zeranoe
Site Admin
Posts: 705
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Post by Zeranoe »

To anyone experiencing this issue, please provide the full uncut command and command output.

Please use:

Code: Select all

ffmpeg -loglevel verbose -i ...
Degru wrote:I am having this same issue, latest version, Win10 x64
You could open a bug report and post a stack trace.

Degru
Posts: 2
Joined: Sat Dec 10, 2016 5:47 am

Re: ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Post by Degru »

How do I go about putting this in a script? The issue is extremely intermittent, happening only 1 in 300 encodes or so. I need it to go into a file that gets overwritten every time until it freezes up, because it takes a LONG time to reproduce this.

User avatar
Zeranoe
Site Admin
Posts: 705
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: ffmpeg randomly freezes - vers. version N-82759-g1f5630a

Post by Zeranoe »

This could be related to http://ffmpeg.org/pipermail/ffmpeg-user ... 07861.html

I believe this issue was due to a bug in winpthreads.

Post Reply