View Full Version : QuEnc encoding completed in 0 minutes!
noodle
19th September 2004, 12:30
Hi
Odd problem. Have done a search of the forum and found nothing. I'm using the latest rebuilder version, QuEnc 0.54 and the Avisynth/mpeg2dec3 versions linked to from the sticky. Preparing works fine, taking around 5 minutes. When I click Encode, the QuEnc window flashes up then closes and opens repeatedly untill rebuilder says encoding finished in 0 minutes.
I've turned hyperthreading on/off, removed any overclocked settings which has made no difference, seems it's not a hardware thing. Tried a few different films and same problem. Am I missing something really dumb or is this a bug?!
Thanks
lamster
19th September 2004, 15:43
Gee, I wish I could get that kind of performance - I have a lot of stuff to rebuild with 0.60! :D
I don't know what the problem is, but the way I would go about diagnosing it would be to write a trivial app. that would simply log the parameters it was called with, then tell Rebuilder to use that in place of QuEnc. Run a rebuild, then try invoking QuEnc with the same parameters logged but omitting the -close parm, and see if there's any clue in QuEnc - either an error message, or some setting that looks incorrect.
@jdobbs - perhaps it would be useful to add a "Diagnostic logging" switch, that would include in the Rebuilder.log file the command-line for all external programs that are invoked?
jojje_l
19th September 2004, 17:03
I had the same problem. What I did was to uncheck the option "Add to AVS file" next to the "Path MPEG2DEC3DG". Then it started to encode.
However, there was another problem after that.. The thing is that efter encoding a segment/file, The outputted MPEG2 video file is 0 bytes in size even after an hour of encoding. And QuEnc only encodes one out of two passes before starting the next segment/file. Everything is working as it should when Iīm using CCE.
My setup is DvdRB v0.60 (and all before that...), AviSynth v2.54 (also testaed v2.55) and QuEnc v0.54. I usually figure things out my self, but this one is killing me. Any ideas?
noodle
19th September 2004, 18:33
@lamster, um while not being a total noob, that pretty much went over my head mate! But hopefully will make sence to someone who can help.
@jojje_l, I already have that option unchecked :(
I've found something new since my first post. If I take the .avs files from the Prepare phase of RB and manually feed them into QuEnc, they appear to encode fine. I'm thinking of doing this for all the files then seeing if it will rebuild, what d'ya reckon?
All this makes me think that RB and QuEnc are not talking to each other correctly, at least here on my pc.
Like I said, I'm no expert tho :D any thoughts?!
Thanks again
jojje_l
19th September 2004, 19:27
Update:
Semms to be working when I am using 1-pass only. I am doing some other tests to see what is causing this (Filters in AviSynth? Trellis? 2-pass with filters?). If I find something Iīll let you know.
jojje_l
19th September 2004, 21:24
@noodle:
Do you use any AVS filters? Because when I removed "Undot().Deen()" from my settings it seems to work...
noodle
20th September 2004, 09:09
jojje_l, tbh I've no idea. I've just installed AS and RB as per the instructions and never adjusted anything. Where would I look to do what you suggest?
I've downloaded 0.60b this morning and fingers crossed, it seems to be working ok. Will find out this afternoon when I get home
Thanks for the suggestions so far
jojje_l
20th September 2004, 09:53
@noodle:
Options - AVS Options - Advanced Options - Filter Editor. There you have a textfield which should be empty if you donīt use any filters.
I did some tests and found out that what is causing my problems is when I use filters. If I donīt, everything works fine. Now, my question after this is: Doesnīt QuEnc work with filters? Or is it a bug? That is something I canīt figure out by testing, but maybe somebody out there knows? As soon as I include some filters, DvdRebuilder is done in seconds with no mpeg files.
jojje_l
21st September 2004, 19:04
Anyone? Is QuEnc compatible with AVS-scripts that contains filters? Or is it a bug somewhere?
wmansir
21st September 2004, 19:47
Can you post one of your AVS scripts that doesn't work?
You can also try opening it in media player and seeing if an error is generated.
robot1
21st September 2004, 19:48
Can you play the .avs files located in D2VAVS with MediaPlayer?
If you can't, check your avisynth configuration (have you the right .dll's in the plugins directory?)
If you can play them, try to encode manually the first .avs file with QuEnc.
Edit:
I'm always slower then wmansir...
jojje_l
21st September 2004, 20:10
Yes, they are playable in Media Player & ZoomPlayer. My AviSynth configuration does work when Iīm using CCE so I guess thats not the problem. Also, as it works with CCE all plugins are in the plugins directory of AviSynth (did doublecheck a few seconds ago). I am trying to encode it manually now with QuEnc, however it will take some time to finish. I canīt see any signs of a mpeg file yet however... Hereīs the scriptfile:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
mpeg2source("D:\NEW_TRY\D2VAVS\V01.D2V",idct=7)
trim(0,19619)
Undot().Deen()
ConvertToYV12()
noodle
21st September 2004, 21:12
Versions 0.60b and 0.61 have't cured my problems :(
As I mentioned at the start, I've finished attempting to encode using QuEnc independantly from RB. That doesn't work either, so maybe it's a QuEnc issue here, not RB. And QuEnc only encodes one out of two passes before starting the next segment/file I get this happening myself too. I've tried this on a few dvd files, preprocessed and not, with no good results
jojje_l, no I'm not using any filters, thanks for suggestions tho
Bah, bit stumped overall, any other Quenc 0.54 users having problems? Otherwise I guess I'm gonna reinstall xp as it's really bugging me and that's all I can think to do as a last attempt! I've used earlier versions of RB/QuEnc with great results!
Thanks for any more help
jojje_l
21st September 2004, 21:42
Doesnīt work to open them separately in QuEnc either. After the first pass, QuEnc just shuts down and thereīs no mpeg file to be seen... Iīm sure itīs related to the filters since it works without them. I guess QuEnc canīt handle filters then. Or am I wrong? By the way, isnīt there a official forum for QuEnc somewhere?
robot1
21st September 2004, 23:02
Originally posted by jojje_l
By the way, isnīt there a official forum for QuEnc somewhere? http://forum.doom9.org/forumdisplay.php?s=&daysprune=&forumid=62&x=8&y=7
dragongodz
22nd September 2004, 01:32
would those with problems happen to be using P4 cpus ? if so then download and use the mem-aligned avcodec available from the web page. actually just use that one anyway no matter what cpu you have. for future versions that will be the default one since it works best with all cpus. well except on one dual xeon system but thats another story. :)
noodle
22nd September 2004, 07:38
P4 yup, and that has cured all my woes :) Please excuse me if I should have known that from the start, just I'd not come accoss any mention of it in my searching.
Thank you so much!
jojje_l
22nd September 2004, 09:58
Yupp, P4 it is...
if so then download and use the mem-aligned avcodec available from the web page.
Ehh, what web page? I searched around a bit and couldnīt find anything that could be described as "mem-aligned". The only page that had something that could be that codec had broken links.
dragongodz
22nd September 2004, 11:39
Ehh, what web page? I searched around a bit and couldnīt find anything that could be described as "mem-aligned". The only page that had something that could be that codec had broken links.
ehh, try the link to the web page in the very first post here
http://forum.doom9.org/showthread.php?threadid=80585
and i even just tested the download, its fine. :)
lamster
22nd September 2004, 14:02
Originally posted by dragongodz
would those with problems happen to be using P4 cpus ? if so then download and use the mem-aligned avcodec available from the web page.
That's not the symptom I saw when I ran into the problem, but I have Visual Studio installed.
Do you think it might be a good idea to add a catch(...) block to QuEnc, so it could detect when the problem occurred? It could even check for a P4 and give an appropriate error message...
dragongodz
22nd September 2004, 14:26
well its basically the sse2 parts of avcodec that are the problem. you either have to disable sse2 or use the memalign hack to make it work properly with a P4. you would think one of the FFMpeg guys would have tracked down the problem. apparently though its not meant to be so bad under linux so they havent.
lamster
22nd September 2004, 16:44
(@dragongodz - Just noticed where I was; I'll reply in the "QuEnc 0.54 released" thread.)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.