[FFmpeg-user] Unable to re-open output file for the second pass (faststart)
Eugene Gekhter
egekhter at pixcel.com
Sun Jun 22 20:00:41 CEST 2014
Hi guys,
I'm encoding videos with ffmpeg from a PHP script.
Half the videos I check are corrupted, and the common thread is Unable to
re-open /transcodes/output_file.mp4 output file for the second pass
(faststart)
Since I delete the source videos at the end of the script, I've added
sleep(5) right after the end of my ffmpeg command execution to try and
mitigate the problem, but 5 seconds doesn't seem to be a catch all solution.
Any ideas on how to avoid the above message besides not deleting the source
files immediately?
Thank you,
*Eugene Gekhter*
More information about the ffmpeg-user
mailing list