Log in

View Full Version : AVS with Nero Recode


plonk420
4th December 2004, 03:52
has anyone encoded something with Nero Recode from an AVISynth script? i'm having probs with it seeing video.

from 3.0.1.4 to 3.0.1.14 (with AVC) it now sees the proper length of the video in the AVS file and plays audio (from giving a length of 0:00 in 3.0.1.4 and not playing anything at all), however, i scrub back and forth and see no video. i'm doing an encode anyways, but i'm seeing no video behind the spinning logo.

is this a color space problem? i loaded the AVS file into VDub but the image is there...

source is 1080p MPEG-2 HD source...

loadplugin("f:\mm\dgdecode.dll")
a = mpeg2source("video.d2v").crop(4,0,0,-8).Lanczos4Resize(1280,720)
b = wavsource("audio.wav")
audiodub(a,b)

plonk420
4th December 2004, 11:13
ok nevermind. i got video. but aren't preview windows .. supposed to preview? not that i'm complaining since it works, but...

j0g0
4th December 2004, 11:36
The spinning logo is 1st analysis pass

IgorC
4th December 2004, 18:52
i hanvent any problem with avs in recode2.

Soulhunter
4th December 2004, 19:36
Well, I have a problem... (http://forum.doom9.org/showthread.php?s=&postid=577142#post577142) :(


Bye

lordreign
5th December 2004, 17:40
I have a similar error to soulhunter here, cept mine doesnt always give an error. Sometimes it just closes recode without warning and sometimes it will give an illegal operation. :(

I'm outta ideas...

Soulhunter
5th December 2004, 21:37
Originally posted by lordreign

I have a similar error to soulhunter here, cept mine doesnt always give an error. Sometimes it just closes recode without warning and sometimes it will give an illegal operation. :(

I'm outta ideas...

I found a way (http://forum.doom9.org/showthread.php?s=&postid=577667#post577667) to solve my problem !!!

Maybe this solution works for you as well... ;)


Bye

lordreign
6th December 2004, 05:19
Originally posted by Soulhunter
I found a way (http://forum.doom9.org/showthread.php?s=&postid=577667#post577667) to solve my problem !!!

Maybe this solution works for you as well... ;)


Bye

Yep that works for me. AVS are fine in recode now. :)

hhanh
10th December 2004, 21:23
Do you guys know how to do an anamorphic resize with an AVS source?

The problem I have is with the Spiderman 2 DVD. Recode thinks it's an interlaced source so I made an AVS script to do the IVTC. However, I can't help having the 1.5 AR from the DVD if I don't check the 'square pixel' option in the resize tab.

Thanks,
--h

Bluedan
18th January 2005, 14:33
I'm using Recode 2.2.6.1

I found a strange thing when feeding this little script to Recode:

LoadPlugin("C:\PROGRA~1\Video\Editing\GORDIA~1\AviSynthPlugins\dgdecode.dll")
mpeg2source("D:\StarWars VI\sw6.d2v", idct=0)

I did cropping and resizing within Recode. The logfiles proved that the app really picked up the settings.
But if I chose 2-pass the final picture looked like this (http://rapidshare.de/files-en/380878/SW6-AR-distortion.jpg.html).
The AR is distorted, the horizontal resize didn't take place.
The picture's size counting in the black bars left and right has the correct size of 704 x 288 px.

In case of on pass encoding everything's fine.

Also, I had difficulties like anybody else with reopening the avs though I was able to play around with it in the app (seeking for chapter creation etc.) for a couple of hours until Recode got stubborn. :rolleyes:

Anyway I had to feed the VOBs via avisynth because Recode refused to accept 1 VOB out of 7. It simply greyed it out after I selected it!
Then I used vstrip to form one huge VOB (sw6.vob) containing the 1st angle. Choosing this file as source Recode didn't recognize the correct movie length. It did only half the movie ending up with a file which didn't grow in size anymore while the video preview stopped, hitting nearly the target (ca. 2% oversized) but the app didn't stop, the time counter went on and I had to cancel operation.

As a last try I will leave cropping and resizing to avisynth rather than Recode...

ALL my encode logs whether avs or VIDEO_TS folder as source, borked or successful encoding show these two lines stating an error:

ERROR in file:E:\Sources\Current\Recode 2.2\Nero Recode II\directshow\utils.cpp, line:566, error: Der Medientyp dieser Datei ist unbekannt.(0x80040240)
ERROR in file:E:\Sources\Current\Recode 2.2\Nero Recode II\directshow\utils.cpp, line:566, error: Der Quellfilter für diese Datei konnte nicht geladen werden.(0x80040241)

I don't know how to take this because the path given there does not exist! And it doesn't seem to have an effect on the success of encoding anyway.
On the other side I have set UltraBuffer to automatic.
So I am uncertain where it is located.

Soulhunter mentioned that he had to remove WARPSHARP filter from the plugin directory to be able to open avs in Recode.
But I was able to open avs from the start!

Bluedan
19th January 2005, 22:45
Just to add further experience:

I finally managed to load the same VOBs as mentioned in previous post directly into Recode.
Although the encoding settings stayed the same, except for crop and resize which were done through avisynth in the above case and were therefore deactivated in Recode, the picture looked quite different:

The picture in the avisynth frame served movie was somewhat blured and "nervous" and had a lot of visible macroblocks in some places (espc. walls in backround and around the edges of moving objects).
To me it looks like the bit distribution has failed, for the overall bitrate is about 1500 kBit/sec high.
This is strange, maybe something's not working right - the app seems to be buggy anyway - if Recode isn't doing the MPEG2 decoding itself.
Also, it was suspicious that the encoding process was MUCH faster with avisynth frame serving.

And the last thing I want to point out is about the mp4 stream created, which gives me headaches, read here (http://forum.doom9.org/showthread.php?s=&threadid=88640).