avs2xvid.bat with Lux presets
Author |
Message |
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Lux Delux wrote: Aha! Good news! Could it be removing the other presets or perhaps modifying/adding the LUX-CT stuff elguaxo? I've no idea but we need to fix it so Vae can start using the presets
I'm looking into it!
|
Sun Jun 24, 2007 5:22 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
comptest seems to work.
trying several out now.
_________________ Got milk?
|
Sun Jun 24, 2007 5:29 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Looking in number of threads, can I savely asume I need to change the next lines:
Code: set NUMTHRD=!ERRORLEVEL! rem set NUMTHRD=1 rem set NUMTHRD=%NUMBER_OF_PROCESSORS% into Code: rem set NUMTHRD=!ERRORLEVEL! rem set NUMTHRD=1 set NUMTHRD=%NUMBER_OF_PROCESSORS%
And set system var 'NUMBER_OF_PROCESSORS' on 2 or 4?
_________________ Got milk?
|
Sun Jun 24, 2007 5:38 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
I've no idea But I thought the new version automagically detects number of processors and shit?
|
Sun Jun 24, 2007 5:41 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
It does but it doesn't select number of procs.
Doing a LUX-70 now. It had selected level 85.
_________________ Got milk?
|
Sun Jun 24, 2007 5:43 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
I guess you should ask in the official doom9 thread, or maybe elguaxo knows.
Vae Victis wrote: Doing a LUX-70 now. It had selected level 85.
You mean the comptest was 85% ? Cause the level it would select is for the official presets not mine
|
Sun Jun 24, 2007 5:47 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Oh yeah, trying this all day now.
Your kung fu better be strong in this one or I'll have to order some bullies to mollest you.
_________________ Got milk?
|
Sun Jun 24, 2007 5:47 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Lux Delux wrote: I guess you should ask in the official doom9 thread, or maybe elguaxo knows. Vae Victis wrote: Doing a LUX-70 now. It had selected level 85. You mean the comptest was 85% ? Cause the level it would select is for the official presets not mine
I looked up 85 in your table. it said I should use LUX-70?
_________________ Got milk?
|
Sun Jun 24, 2007 5:49 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Ah okay then
I'm not too sure about that range yet, that's with J2CD. But perhaps even that is enough for heini but with b-frames 2/1.62/0. My comp is slow like washed out shit so my testing is too slow.
We'll see, your computer is fast
|
Sun Jun 24, 2007 5:52 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Yeah encoding fp at 24+fps atm.
_________________ Got milk?
|
Sun Jun 24, 2007 5:53 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Holy baloney
|
Sun Jun 24, 2007 5:54 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Vae Victis wrote: It does but it doesn't select number of procs.
Mine looks like this:
Code: set NUMTHRD=!ERRORLEVEL! rem set NUMTHRD=1 set NUMTHRD=%NUMBER_OF_PROCESSORS%
set PP0=-threads !NUMTHRD! -progress 100 -overhead 0 -max_key_interval !KEYINT! I have 2 cores and they are being detected and used: Code: xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 3DNOW 3DNOWEXT TSC xvid [info]: Detected cpus = 2, threads requested = 2, threads in use = 2
|
Sun Jun 24, 2007 6:04 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
@elguaxo, ah yes just removing the rem bevore the %NUMBER_.. line fixes it.
No need to set the environment var yourself, script does it itself.
Code: xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC xvid [info]: Detected cpus = 4, threads requested = 4, threads in use = 4
_________________ Got milk?
|
Sun Jun 24, 2007 6:29 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Ah I see, I'll change that then!!
How's the encode going btw Vae?
|
Sun Jun 24, 2007 6:43 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
69% first pass.
_________________ Got milk?
|
Sun Jun 24, 2007 6:54 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Whoah fast bugger
What's the target bitrate and the average current bitrate of the pass?
BTW uploaded the version with removed rem in that line.
|
Sun Jun 24, 2007 6:56 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Code: Trying to retrieve width and height from input header xvid [info]: Avisynth detected xvid [info]: Input colorspace is YV12 xvid [info]: Input is 704 x 416, 25.000fps (25000/1000), starting from frame 0 xvid [info]: Number of frames to encode: 157829, Bitrate = 2521kbps xvid [info]: xvidcore build version: xvid-1.2.0-dev xvid [info]: Bitstream version: 1.2.-127 xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC xvid [info]: Detected cpus = 4, threads requested = 1, threads in use = 1 109901 frames( 69%) encoded, 24.93 fps, Average Bitrate = 1550kbps
Seems it got stuck for some reason. cpu usage is zero :?
[edit] or not, just hit 70%.... weird.
[edit2] looks like I've plenty of bitrate left. umn..
_________________ Got milk?
|
Sun Jun 24, 2007 7:18 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
|
Sun Jun 24, 2007 7:21 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Lets see what it brings. it's on 88%. must have been a glitch or something.
_________________ Got milk?
|
Sun Jun 24, 2007 7:36 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Yeah testing like this will bring us closer to more precise preset selction. PS there will defo be a preset 75.
Basically same as 80 but with b-vops 2/1.62/0 which should make it a nice middle!
As I said earlier in this thread, from my short experience, the bitrate difference in first pass should be like 400- let's say 700 lower than desired to reach the filesize and quant quality.
But yes, let's wait and see
|
Sun Jun 24, 2007 7:40 pm |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
Well since gknot died pretty much on all computers in the house (can't load d2v files anymore)
I've to try Lux's way
Where to start?
|
Sun Jun 24, 2007 8:01 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
First thread?
For starters make an .avs for the crapper you'll encode. Then you just need to run a comptest and select a preset according that comptest.
I explained how to do that in the first thread.
If you have any questions just ask, and buttfuck me too
|
Sun Jun 24, 2007 8:07 pm |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
Well I did all that and moved the avs, let's call it crap.avs, into the avs2qxvid.bat folder.
then what?
|
Sun Jun 24, 2007 8:18 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
you need to keep the avs in the same folder you made it. and DRAG it on the batch file.
Not move it to that dir.
_________________ Got milk?
|
Sun Jun 24, 2007 8:19 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
No no no ---> Vae beat me to it
You don't move anything anywhere. You have you crap.avs and your crap.enc.txt in a separate folder and you just drag the .avs onto the .bat proggy. It will then open and start running the comptest.
Just remember to have
inside the text file where 1190 I put as an example for the video size.
|
Sun Jun 24, 2007 8:20 pm |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
"Checking source...."
Streaming frame 224 (of 240, 93.33%)
240
Error checking source - avsutil.exe cannot play the avs script
Press any key to continue
|
Sun Jun 24, 2007 8:24 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Hmmm did you download the one I uploaded few hours ago?
|
Sun Jun 24, 2007 8:26 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Lux Delux wrote: No no no ---> Vae beat me to it
And thats not the only thing I"m beating...
_________________ Got milk?
|
Sun Jun 24, 2007 8:27 pm |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
Lux Delux wrote: Hmmm did you download the one I uploaded few hours ago?
Yeah
when I drag the sample.avs it does something. It makes a sample mkv file and a sample avi file
both are black/white interlaced lines with a loud sound.
|
Sun Jun 24, 2007 8:30 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
What did you put in the sample.enc.txt ?
|
Sun Jun 24, 2007 8:31 pm |
|
|
|