View Full Version : How to use 64Bit x264 with avs2yuv
Twinkling
25th October 2009, 13:11
according to LoRd_MuldeR's post:
C:\Downloads\x264win64_mingw>avs2yuv.exe input.avs -raw - | x264_x64.exe --crf 22 --threads 6 --progress --output c:\out_x64.mkv -
and
ExecWait("cmd.exe /c \"avs2yuv.exe input.avs -raw - | x264_x64.exe --crf 22 --threads 6 --progress --output c:\out_x64.mkv -\"");
I want to run 64-bit x264.exe in that way,but the problem is,how to use the commandline
program --profile high --level 4.1 --preset fast --pass 2 --bitrate 4985 --stats ".stats" --thread-input --deblock -2:-1 --bframes 3 --b-adapt 2 --direct auto --b-bias 0 --scenecut 40 --ref 5 --vbv-bufsize 50000 --vbv-maxrate 50000 --rc-lookahead 40 --no-mbtree --aq-mode 1 --aq-strength 1.0 --merange 16 --me umh --subme 7 --partitions all --trellis 1 --psy-rd 1.0:0 --output "output" "input"
with the config...
can anybody give me an eg?^^
Atak_Snajpera
25th October 2009, 13:15
I want to run 16-bit x264.exe in that way,but the problem is,how to use the commandline
WOW! 16-bit x264.exe LOL!
LoRd_MuldeR
25th October 2009, 13:21
Uhm, even good old Win9x could run 32-Bit binaries. What OS would need a 16-Bit binary? Also I'm not sure x264 can be compiled for 16-Bit :confused:
Did Pre-NT Windows (e.g. Win9x) support pipes at all ??? :D
Twinkling
25th October 2009, 13:28
oh,sorry about that....64 Bit....T T not 16 Bit
Atak_Snajpera
25th October 2009, 13:32
You better change title.
Twinkling
25th October 2009, 13:34
You better change title.
thanks for advising:)
Twinkling
25th October 2009, 13:39
Uhm, even good old Win9x could run 32-Bit binaries. What OS would need a 16-Bit binary? Also I'm not sure x264 can be compiled for 16-Bit :confused:
Did Pre-NT Windows (e.g. Win9x) support pipes at all ??? :D
it's all my fault,i just want to run 64bit x264
it is said that 64bit can speed-up 20%-30%
no reason miss it:)
Atak_Snajpera
25th October 2009, 13:48
it is said that 64bit can speed-up 20%-30%
Bullshit! You will get about 4% faster speed. Ripbot264 uses x64 by default if your system is 64bit.
Twinkling
25th October 2009, 13:56
Bullshit! You will get about 4% faster speed. Ripbot264 uses x64 by default if your system is 64bit.
i have used Ripbot264,it is 64bit x264
i download the lastest version from 264 nl
but i can't use 2-pass,
i choose 2-pass,but it is still 1pass
what's more,i can't find output file after encoding,no output?
i don't know which step was wrong....
so i want to try LoRd_MuldeR 's way
Atak_Snajpera
25th October 2009, 14:04
so i want to try LoRd_MuldeR 's way
I just copied LoRd_MuldeR 's idea. No need to waste time for stupid 4%.
but i can't use 2-pass,
i choose 2-pass,but it is still 1pass
what's more,i can't find output file after encoding,no output?
i don't know which step was wrong....
Check Job1_log.txt in logs folder.
Twinkling
25th October 2009, 14:19
so i found this....
D:\>"D:\Setup\RipBot\tools\bepipe\bepipe.exe" --script "import(^D:\temp\RipBot264temp\job1\job1.avs^)" | "D:\Setup\RipBot\Tools\enc_aacPlus\enc_aacPlus.exe" - "D:\temp\RipBot264temp\audio.aac" --lc --cbr 131072
***************************************
BePipe by dimzon
***************************************
Script used:
# BEGIN
import("D:\temp\RipBot264temp\job1\job1.avs")
# END
Scanning for Audio Stream...
ERROR: Can't find audio stream!
********************************************************************
* AACPlus v2 Encoder (using Winamp 5.2 enc_aacplus.dll)
* Source timestamp Mon May 15 17:24:26 2006
* Build May 15 2006, 17:24:35
********************************************************************
* NOTE! enc_aacplus.dll must be into executable directory
* get it from Winamp 5.2 plugins directory
* tested on Winamp 5.2 Release Feb 23 2006 Full (Not Pro) version)
********************************************************************
Input file must be WAV PCM!
D:\>"D:\Setup\RipBot\tools\avs2yuv\pipebuf.exe" "D:\Setup\RipBot\tools\avs2yuv\avs2yuv.exe" "D:\temp\RipBot264temp\job1\job1.avs" -raw - : "D:\Setup\RipBot\tools\x264\x264_x64.exe" --pass 1 --bitrate 4895 --stats "D:\temp\RipBot264temp\job1\job1.stats" --fps 30000/1001 --min-keyint 30 --keyint 300 --frames 5709 --sar 1:1 --level 4.1 --aud --nal-hrd --vbv-bufsize 25000 --vbv-maxrate 25000 --filter -2,-1 --ref 5 --bframes 3 --b-adapt 1 --b-pyramid --direct auto --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output "D:\temp\RipBot264temp\video.264" - 1920x1088 : 2
D:\Setup\RipBot\tools\x264\x264_x64.exe: unknown option -- nal-hrd
D:\temp\RipBot264temp\job1\job1.avs: 1280x720, 10000000/333667 fps, 5709 frames
Output error: wrote only 1158631 of 1382400 bytes
D:\>"D:\Setup\RipBot\tools\avs2yuv\pipebuf.exe" "D:\Setup\RipBot\tools\avs2yuv\avs2yuv.exe" "D:\temp\RipBot264temp\job1\job1.avs" -raw - : "D:\Setup\RipBot\tools\x264\x264_x64.exe" --pass 2 --bitrate 4895 --stats "D:\temp\RipBot264temp\job1\job1.stats" --fps 30000/1001 --min-keyint 30 --keyint 300 --frames 5709 --sar 1:1 --level 4.1 --aud --nal-hrd --vbv-bufsize 25000 --vbv-maxrate 25000 --filter -2,-1 --ref 5 --bframes 3 --b-adapt 1 --b-pyramid --direct auto --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output "D:\temp\RipBot264temp\video.264" - 1920x1088 : 2
D:\Setup\RipBot\tools\x264\x264_x64.exe: unknown option -- nal-hrd
D:\temp\RipBot264temp\job1\job1.avs: 1280x720, 10000000/333667 fps, 5709 frames
Output error: wrote only 1158631 of 1382400 bytes
D:\>"D:\Setup\RipBot\tools\mp4box\mp4box.exe" -tmp "D:\temp\RipBot264temp" -add "D:\temp\RipBot264temp\video.264":name="091009 Music_Bank F(x) Lachata" -fps 29.97 -new "C:\Users\TK\Desktop\对比\091009 Music_Bank F(x) Lachata.mp4"
Cannot find H264 start code
Error importing D:\temp\RipBot264temp\video.264:name=091009 Music_Bank F(x) Lachata: BitStream Not Compliant
-------------------------
Elapsed Time: 00h:00m:03s
ah,one more thing
if i don't want convert audio format,how i can get the delay of the audio track and demux out the audio track,in order to mux with encoded video
i like ac-3
Atak_Snajpera
25th October 2009, 14:24
D:\Setup\RipBot\tools\x264\x264_x64.exe: unknown option -- nal-hrd
This is your fault. Who told you to replace original x264_x64.exe from ripbot264 package ???
Twinkling
25th October 2009, 14:35
This is your fault. Who told you to replace original x264_x64.exe from ripbot264 package ???
i got it
how can i use the lastest x264.exe
i always replace the x264.exe to update megui...so i thought...
Atak_Snajpera
25th October 2009, 14:38
http://komisar.gin.by/
Twinkling
25th October 2009, 14:52
http://komisar.gin.by/
which version and category should i download?
i really don't know much about this:confused:
LoRd_MuldeR
25th October 2009, 14:55
it's all my fault,i just want to run 64bit x264
That makes much more sense :D
it is said that 64bit can speed-up 20%-30%
I think that was for Linux, not for Windows. The 64-Bit Windows ABI is kind of bizarre :p
so i want to try LoRd_MuldeR 's way
If you want a very simple way to use 64-Bit x264 with 32-Bit Avisynth on Windows, you can try my little tool here:
http://forum.doom9.org/showthread.php?t=144140
The download includes everything you'll need. Also automated 2-Pass is available ;)
Atak_Snajpera
25th October 2009, 14:56
which version and category should i download?
i really don't know much about this
kGIT 1301kGIT.core2.x86_64
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.