Closed lin-xianming closed 3 months ago
The logs show ffmpeg was killed after 30s:
2024-04-03 19:12:51 DEBUG: Extracting frame for file: <file>, offset: 258.408408408408 2024-04-03 19:12:51 DEBUG: FF.ImageGet.Started, <file>, 258.408408408408, <file> 2024-04-03 19:12:51 ffmpeg -hide_banner -nostdin -accurate_seek -r 59.94 -i "<file>" -ss 258.408408408408 -frames:v 1 -f image2 -vf settb=AVTB,setpts=PTS-STARTPTS <file> 2024-04-03 19:12:51 DEBUG: FF.ExecStatus.Started, -hide_banner -nostdin -accurate_seek -r 59.94 -i "<file>" -ss 258.408408408408 -frames:v 1 -f image2 -vf settb=AVTB,setpts=PTS-STARTPTS <file> 2024-04-03 19:13:21 DEBUG: FF.ExecStatus: External program not exited, trying to close it 2024-04-03 19:13:21 DEBUG: FF.ExecStatus: External program closing failed. Killing it 2024-04-03 19:13:21 DEBUG: FF.ExecStatus.Finished. stdout: , stderr: Timed out(-2) 2024-04-03 19:13:21 DEBUG: FF.ImageGet.Finished, -2, Timed out
I don't know why it takes so long but if I run the ffmpeg command manually it does finish after a few minutes.
You can create FFMetrics.conf and increase the timeout.
The logs show ffmpeg was killed after 30s:
I don't know why it takes so long but if I run the ffmpeg command manually it does finish after a few minutes.