Log in

View Full Version : Advice on how to encode with MultiCoreEnc


ricardo.santos
11th May 2009, 18:37
Hi everyone!

Following this thread here:
http://forum.doom9.org/showthread.php?t=146764

im now faced with encoding, due to the extensive filtering used when i load the avs on to quenc it tells me that it will take 20 hours to encode, i was surprised as im using my friends Quadcore as i thought it wouldnt take that long to encode 20 minutes.

So i remembered that Favc uses MultiCoreEnc that can use 4 instances of Quenc and reduce teh encoding time, the thing is that i cant get it to work.

Can someone tell me what command line i should use? PAL video settings with 224 AC3, and if possible what do i need to change in the command line if i decide to deinterlace.

Thanks

MrC
11th May 2009, 22:24
Hi ricardo,

if you are using QuEnc 0.75Alpha, you can activate multithread encoding by using the parameter -trell. In 0.75Alpha, DGZ used Trellis Quant parameter to test MT encoding: it works quite well.

;)

Bye

ricardo.santos
11th May 2009, 23:47
Hi ricardo,
if you are using QuEnc 0.75Alpha, you can activate multithread encoding by using the parameter -trell

How? i searched but cant find examples on how to use quenc through command line.

Tried avs2dvd and then to edit the avs script within avs2dvd but it gives an error, playing the same script mith MPC doesnt give any errors. i remember reading avs2dvd changelog a while ago about being multicore aware but it only recognizes one.

Will try Favc with a small sample, tried it a while ago and it used all the 4 cores opening 4 quenc instances at the same time, lets see if it works with an heavy script

edit: a 30 second sample takes 5 minutes to convert with favc using 4 cores, i think i will use favc.

Thanks everyone

MrC
12th May 2009, 09:23
How? i searched but cant find examples on how to use quenc through command line.


Along with QuEnc zip file, there is a txt with all the cli parameters. Or, if you feel lazy, run an AVStoDVD project and lurk into the log file, you will find the QuEnc command line used.

Tried avs2dvd and then to edit the avs script within avs2dvd but it gives an error, playing the same script mith MPC doesnt give any errors.

Very weird, if the script is DVD compliant. Could you please post the script?

I remember reading avs2dvd changelog a while ago about being multicore aware but it only recognizes one.

Are you sure? Have you checked 'Settings'/'System'/'Hardware Info' (release 2.1.4)?

:)

Bye

ricardo.santos
12th May 2009, 15:10
Tried favc yesterday but 5 minutes of the video have a avisynth error message, since the videos is 20 minutes long i guess one of the quenc instances failed..

MrC here's the screenshot, tried again and it didnt work
http://img410.imageshack.us/img410/801/avs2dvd.jpg

MrC
12th May 2009, 19:24
AFAIK AVStoDVD does show to recognize your 4core cpu.... so what did not work? The script? What kind of error do you get?
Again, posting the script would help a lot.

;)

Bye

P.S. If we are going OT, we can move to AVStoDVD thread.

ricardo.santos
12th May 2009, 20:21
i only had had acess to this Pc for a few days, but whatever video i tried it wouldnt use all the cores, i just tried it with a xvid file and i was getting 50fps.

this was the script:
Import("C:\Nova pasta\Lib\A2DSource.avsi")

Video = A2DVideoSource("C:\video.avi", CacheFolder = "C:\DOCUME~1\LUISMA~1\DEFINI~1\Temp")
Video = Video.ConvertToYV12
#Using DGPulldown to upsize FPS
Video = Video.Lanczos4Resize(720,576,0,0,0,-0)

Audio = A2DAudioSource("C:\video.avi", CacheFolder = "C:\DOCUME~1\LUISMA~1\DEFINI~1\Temp")
Audio = Audio.EnsureVBRMP3Sync()

AudioDub(Video, Audio)

im going to use a single core pc tomorrow for the conversion and waittttttttttttttttttttttttttt lol

Thanks everyone

MrC
12th May 2009, 22:06
ricardo, 50 FPS could be low or high speed depending by a lot of factors:

1. Resolution of input video (SD, HD, Full-HD?)
2. Optimization/cleanliness of codecs installed
3. Other apps running in background
4. ...

The only way to see if all cores are used is to open the Task Manager and look at CPU usage: if close to 100% you got it.

;)

Bye

ricardo.santos
13th May 2009, 10:59
its the usual 640x352 xvid+mp3 video, no filtering, no other apps runnning i closed them all even the anti virus, i ran the test again on a a dual core and no luck, will continue on the avstodvd thread...