Bug in the x264 2-Pass Multi-Pass CRF script

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

Post Reply
johnny808
Amateur
Amateur
Posts: 15
Joined: Sun Nov 23, 2014 4:52 am

Bug in the x264 2-Pass Multi-Pass CRF script

Post by johnny808 » Thu Dec 18, 2014 6:05 pm

I'm on the latest Mediacoder x64 0.8.33.5680.

When I select x264 2-Pass Multi-Pass CRF, I get an error 14 for the second pass. Upon closer inspection of the script:

Code: Select all

x264_opencl --no-progress --preset faster --keyint 250 --min-keyint 25 --no-dct-decimate --non-deterministic --opencl --psy-rd 1:0 --crf 18 --sar 1:1 --threads 12   --stats "$(PassLogFile)" --pass 1 -o "$(DestFile)" -
x264_opencl --no-progress --preset faster --keyint 250 --min-keyint 25 --no-dct-decimate --non-deterministic --opencl --psy-rd 1:0 --bitrate $(VideoBitrate) --qcomp 0.9 --sar 1:1 --threads 12   --stats "$(PassLogFile)" --pass 2 -o "$(DestFile)" -
You can see that the script for pass1 wrongly ends with:

Code: Select all

--pass 1 -o "$(DestFile)" -
The correct ending for pass1 should have been

Code: Select all

 --pass 1 -o NUL -
Only pass 2 should write to the destination file.

johnny808
Amateur
Amateur
Posts: 15
Joined: Sun Nov 23, 2014 4:52 am

Re: Bug in the x264 2-Pass Multi-Pass CRF script

Post by johnny808 » Thu Jan 08, 2015 7:26 am

Is everything okay with Stanley?

Today is 7 Jan 2015 and I haven't seen Stanley put out a single post since 15 nov 2014. He's the driving force behind it all.
With the limited knowledge I have, I was still able to point out an obvious bug above, but haven't heard anything back.

saikat007saha
Beginner
Beginner
Posts: 3
Joined: Sat Dec 05, 2015 12:20 am

Re: Bug in the x264 2-Pass Multi-Pass CRF script

Post by saikat007saha » Sat Dec 05, 2015 1:05 am

johnny808 wrote:I'm on the latest Mediacoder x64 0.8.33.5680.

When I select x264 2-Pass Multi-Pass CRF, I get an error 14 for the second pass. Upon closer inspection of the script:

Code: Select all

x264_opencl --no-progress --preset faster --keyint 250 --min-keyint 25 --no-dct-decimate --non-deterministic --opencl --psy-rd 1:0 --crf 18 --sar 1:1 --threads 12   --stats "$(PassLogFile)" --pass 1 -o "$(DestFile)" -
x264_opencl --no-progress --preset faster --keyint 250 --min-keyint 25 --no-dct-decimate --non-deterministic --opencl --psy-rd 1:0 --bitrate $(VideoBitrate) --qcomp 0.9 --sar 1:1 --threads 12   --stats "$(PassLogFile)" --pass 2 -o "$(DestFile)" -
You can see that the script for pass1 wrongly ends with:

Code: Select all

--pass 1 -o "$(DestFile)" -
The correct ending for pass1 should have been

Code: Select all

 --pass 1 -o NUL -
Only pass 2 should write to the destination file.
I have the same thoughts.

I posted in the bug section.

I think the last part should not contain the $bitrate thing also
as it should take the bitrate from the log file of the first pass.

Post Reply