If you look at the latest output, it's completely missing the input file name and the output filename is ".265". This is what points to the placeholders not expanding. It probably wouldn't affect Zarx264gui because the file open process is different and in the .bat generation it provides, it hardcodes the filename (it also doesn't pipe anything).l33tmeatwad wrote:What brings you to that conclusion? I would assume the user would be complaining about software such as zarxgui not working if that were the case. I have heard that ffmpeg only works well with AviSynth 2.6, but I don't know exactly how that would error out.Qyot27 wrote:The problem seems to be that something about the Command Prompt is broken. It's not expanding the %1 and %~n1 placeholders correctly (insert obligatory 'this is why I prefer bash' comment). That might also serve to explain why running this stuff plain wasn't working either - if the Prompt is borked, then who knows what's actually wrong.
The rundown of what happened with FFmpeg's AviSynth support:
A) FFmpeg 1.2: still uses the old VFW-based AviSynth demuxer that was written by DivX and first committed back in 2006. Has no problems with either 2.5.8 or 2.6.
B) March 21st, 2013: Rewritten AviSynth demuxer that uses the library directly (like x264 does) gets committed.
C) The git version, and later FFmpeg 2.0, both have an issue with 2.5.8 that results in a crash - no error messages, just crash - when AviSynth has to use avs_get_row_size_p and avs_get_height_p through avs_bit_blt (in other words, any kind of real video; Version() was unaffected, and you could serve audio-only scripts through 2.5.8 without problems)
D) In August, this was patched to prevent 2.5.8 from even being used. The error message explicitly tells the user 2.5.8 isn't supported and that they should upgrade to 2.6. I can't remember, but FFmpeg 2.0.1 should contain this 'fix'.
E) 10 days after that, proper 2.5.8 support was restored*. The rewritten demuxer now has no gamebreaking issues with either 2.5.8 or 2.6. This proper support is present in git (since August 17th), FFmpeg 2.0.2 and FFmpeg 2.1.
*I actually got the commit message slightly wrong in regard to AvxSynth; it wasn't affected because it always ever used its own set of headers. That it happens to use 2.6's versions of those functions was just coincidence.