PDA

View Full Version : QuEnc doesn't encode my AVS script...


TheCreamCrackerBoy
21st September 2005, 06:21
Hello, to all

First of all, congratulations on developing this excellent encoder! I've tried it several times with d2v files, with very good results.

However, I can't encode my AVS script. The problem that occurs is exactly the one that DarkFoon reported on September 12th (see page 10 on this forum, please): as soon as the "Encode" button is pressed, it goes to "Stop" and promptly comes back to "Encode", generating me a 0b m2v file.

My AVS scrypt is this one:

LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\DGDecode.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\MSharpen.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\GuavaComb.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\ChromaShift.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\VSFilter.dll")

AviSource("C:\Captured Files\Documentary.Avi")
KillAudio()

ConvertToYUY2()
GuavaComb(Mode = "NTSC", Recall = 83, MaxVariation = 25, Activation = 40)
ChromaShift(C=-6)

LanczosResize(720,480)
MSharpen()

TemporalSoften(4,2,2,15,2)

Trim(1252,202759)
ConvertToYV12()


The original AVI file is 29.970 fps, captured with a TV card from an analogue VHS tape. The codec used at the capture was ffdshow's XviD Mpeg-4 fourcc, at 5000bps (1-pass)

Here is what I've tried:

1) I've opened the original captured file at VDub and created a new one with only direct stream video (to avoiding bad muxing problems)

2) I've added AssumeFPS (29.970) at my AVS script.

The same problems persists... I've also tried changing "AviSource" to "DirectShowSource" at my AVS script, but I get the following error from AviSynth: "DirectShowSource: the filter graph manager won't talk to me".

I'm using:
P4 1.8GHz, 512MB of RAM, under Windows 2k;
Avisynth 2.5.5;
QuenC 0.61 and Experimental;
Original file captured with ffdshow mpeg4 codec at 5000kbps.

Maybe I am missing something? Please let me know. ;-)

Thanks in advance,

The Cream Cracker Boy.

dragongodz
21st September 2005, 06:27
what about if you try to actually encode to another codec with virtualdub ?

have you also tested without all the filters ?

also can you supply a small piece of the avi to test with ?

TheCreamCrackerBoy
21st September 2005, 06:40
Hello, Dragongodz! Here are the answers:

what about if you try to actually encode to another codec with virtualdub ?

Unfortunately I don't have the source VHS tape anymore... so I am unable to capture it again...

have you also tested without all the filters ?

Yes... with the same results...

also can you supply a small piece of the avi to test with ?

I'd be glad to send you, but I don't have a site. Please send me a PM informing your desired filesize and to where can I send it...

By the way, the same AVS script can be encoded with other MPEG-2 encoder programs, but I'd really like to keep using QuEnc. :-)

Thank you,

TheCreamCrackerBoy.

dragongodz
22nd September 2005, 07:44
ok just tested the piece i got with this simple script

avisource("thepart.avi")
killaudio()
converttoyv12()

with the last pretty experimental version and it encodes fine.
make sure you have version 0.6.1.4(use right click on the exe and select properties) which is this download
http://nic.dnsalias.com/QuEnc_PrettyExperimental.zip

EDIT:
actually i just tried it with 0.61 release version and theat encoded just fine aswell so there must be something else wrong somewhere.
when you play the avi with MediaPlayerClassic what filter is being used to decode the video ?
what version of Avisynth do you have installed ?
when you load the avs in QuEnc what does pressing the "I" button next to the "source avs file" line say about it ?

TheCreamCrackerBoy
22nd September 2005, 16:11
Hi, Dragongodz!

when you play the avi with MediaPlayerClassic what filter is being used to decode the video ?

Iīm using ffdshow-20050822. Media Player Classic version is 6.4.8.4.

what version of Avisynth do you have installed ?

Iīm using the latest version, Avisynth 2.5.6 RC1.

when you load the avs in QuEnc what does pressing the "I" button next to the "source avs file" line say about it ?

It says:

Information For: C:\Temp\TheCreamCrackerBoyPart.Avs

Video
-------
Resolution: 720x480 (352x240 if I ignore all the filters)
Frames Per Sec: 29.971 FPS
Length (hh/mm/ss): 00:00:14

Iīd like also to say that that script works fine with other encoders (CCE SP, Canopus, HCEnc). Thatīs why I didnīt think that the trouble wasnīt at Avisynth... the AVS filters listed above (at my first message) were all downloaded at the filter list of www.avisynth.org.

The file was captured with a Pinnacle PCTV Pro capture card, with VirtualDub 1.6.10 (stable).

Thanks for all your efforts,

TheCreamCrackerBoy.

dragongodz
23rd September 2005, 04:43
ok just tried it with filters aswell. to be exact this script

LoadPlugin("MSharpen.dll")
LoadPlugin("GuavaComb.dll")
LoadPlugin("ChromaShift.dll")

AviSource("thepart.Avi")
KillAudio()

ConvertToYUY2()
GuavaComb(Mode = "NTSC", Recall = 83, MaxVariation = 25, Activation = 40)
ChromaShift(C=-6)

LanczosResize(720,480)
MSharpen()

TemporalSoften(4,2,2,15,2)

ConvertToYV12()

and again QuEnc 0.61 release version encodes it fine.
so i enabled FFDshow(same dated version as you) to do the decoding. again worked fine.

so i dont know why it isnt working for you. the only other differences is i have a slightly older Avisynth(early 2.56 beta) and use WindowsXP. maybe you could try going back to an older version of Avisynth such as 2.55 and see what that does ?

TheCreamCrackerBoy
23rd September 2005, 05:37
Hi, Dragongodz!

I've found out what is the problem and... it's absolutely n00bish!!!

I've checked "Use VBR", I demanded 4870 of Bitrate (kbps), but I didn't check "Auto Max Bitrate" and this one was set to 112kbps!!!

It would NEVER work!!!! Me = stupid stupid stupid!!! Sorry for all this mess!!!

Perhaps I can send to Nic a sugestion to pop up a window if some n00bish settings are done, for the next versions of QuEnc? In this case, "Max Bitrate cannot be lower than Average Bitrate"?

By the way, thank you *very much* for all your efforts and testing for me, ok? :)

[]s

TheCreamCrackerBoy.

dragongodz
23rd September 2005, 13:31
I've checked "Use VBR", I demanded 4870 of Bitrate (kbps), but I didn't check "Auto Max Bitrate" and this one was set to 112kbps!!!
ahhh, yes i just tried it and indeed doesnt work.

It would NEVER work!!!! Me = stupid stupid stupid!!! Sorry for all this mess!!!
this was actually fixed in a previous version. that is if maxrate was set below bitrate then maxrate was set by QuEnc to bitrate. or
if(nMaxBitrate<nBitrate){
nMaxBitrate=nBitrate;
}

in other words.

it seems to have disappeared from the latest versions though. so thank you for finding it. :)

By the way, thank you *very much* for all your efforts and testing for me, ok? :)
no worries. :D