Klagar
12th November 2010, 16:01
Hi !
I've made some research but couldn't Google anything really useful, though a similar issue has been adressed once on Doom10...
I am testing for encoding speed in FFmpeg, comparing source formats, destination formats, and some command line paramaters. So far, so good, I am slowly finding what best suits my needs.
But now I'm experiencing a problem : I start two simultaneous 2-pass encodings (as I don't have this problem with 1-passes), and the first pass goes all well, but when it's time for either process to start the second pass, I get error messages, including :
[libx264 @ 01c57930] failed to rename "x264_2pass.log.temp" to "x264_2pass.log"
[libx264 @ 01c57930] failed to rename "x264_2pass.log.mbtree.temp" to "x264_2pass.log.mbtree"
[libx264 @ 01c61a90] ratecontrol_init: can't open stats file
and
[libx264 @ 01c57920] statistics are damaged at line 2877, parser out=0
My semi-educated guess would be that there's some kind of conflict between .log files, but I use -passlogfile and am positively sure said file is differently named for each process.
It never happens when I do many simultaneous 1-pass encodings, nor when I do one 2-pass encoding at a time. And I am reluctant to blame it on memory, since the formulas I use for 1-passes seem much more demanding. Then again, I might be wrong...
So either my guess is wrong, or this issue adresses yet another file I just don't know about. Can anyone help me understand what's happening ?
Regards and thanks a lot !
I've made some research but couldn't Google anything really useful, though a similar issue has been adressed once on Doom10...
I am testing for encoding speed in FFmpeg, comparing source formats, destination formats, and some command line paramaters. So far, so good, I am slowly finding what best suits my needs.
But now I'm experiencing a problem : I start two simultaneous 2-pass encodings (as I don't have this problem with 1-passes), and the first pass goes all well, but when it's time for either process to start the second pass, I get error messages, including :
[libx264 @ 01c57930] failed to rename "x264_2pass.log.temp" to "x264_2pass.log"
[libx264 @ 01c57930] failed to rename "x264_2pass.log.mbtree.temp" to "x264_2pass.log.mbtree"
[libx264 @ 01c61a90] ratecontrol_init: can't open stats file
and
[libx264 @ 01c57920] statistics are damaged at line 2877, parser out=0
My semi-educated guess would be that there's some kind of conflict between .log files, but I use -passlogfile and am positively sure said file is differently named for each process.
It never happens when I do many simultaneous 1-pass encodings, nor when I do one 2-pass encoding at a time. And I am reluctant to blame it on memory, since the formulas I use for 1-passes seem much more demanding. Then again, I might be wrong...
So either my guess is wrong, or this issue adresses yet another file I just don't know about. Can anyone help me understand what's happening ?
Regards and thanks a lot !