Log in

View Full Version : Real Media Encodes Ungodly Slow


Benholio
15th January 2003, 07:54
I just got through trying to encode a real9 movie and it was 30 mins. I used AutoRV9 and the damn thing took 6 hours for a 30 min anime episode. I used 1 Mbit, sharpest picture, the two anime options and resized it to 640x480. Anyone got any ideas on how to speed it up? I ripped from a VOB and a WAV (used DVD2AVI project and Besweet to make the WAV).


Ben

System:

AXP 1800+
Radeon 9700 Pro
MSI K7N415D
512 MB DDR
Windows XP Pro

Sirber
15th January 2003, 13:51
:logfile:

Show your AVISynth script.

31 Flavas
15th January 2003, 18:47
Yes, do post your avs file. If your doing de-interlace + 2 filters and 640x480 it is going to be ungodly slow no matter what you use to encode. Convolution3D espically slows things down.

Make sure you are using the latest helix producer (from helix community) and are not doing any conversions to rgb.

Benholio
16th January 2003, 02:31
Here is the latest Script, The thing that takes so long is The analysis part. It literally took 4+ hours, the actual encode did go at what I consider to be about right.


# PLUGINS
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\MPEG2DEC.DLL")
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\LANCZOS3.DLL")
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\SMOOTHHIQ.DLL")
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\2DCLEANER.DLL")
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\SMOOTHDEINTERLACER.DLL")
#
# VIDEO SOURCE
Video=Mpeg2Source("D:\COWBOY1\VIDEO_TS\Episode II.d2v")
#
# AUDIO SOURCE
Audio = WavSource("D:\COWBOY1\VIDEO_TS\Stream1.WAV")
#
# COMBINE VIDEO + AUDIO
Video=AudioDub(Video,Audio)
#
# DEINTERLACING
Video=SmoothDeinterlace(Video,tff=true,blend=false)
#
# CROPPING
Video=Crop(Video,0,0,720,480)
#
# RESIZING
Video=Lanczos3Resize(Video,656,480)
#
# DENOISING
# 1) very little noise (fast)
Video=TemporalSmoother(Video,1)
#
# SMOOTH HiQ FILTER
Video=SmoothHiQ(Video,3,25,10,192,3)
#
# 2D CLEANER FILTER
Video=_2DCleanYUY2(Video,0,10,2,1,0,10,10)
#
# FINISH
Return(Video)

Benholio
16th January 2003, 02:33
On a Side note though, the Video I got out from the encode was damn near identical to the origional, so I like the quality of RV9. Now if I can get some ideas on speed.

Ben

Sirber
16th January 2003, 03:30
Did you started from a DVD? If yes, use Force FILM in DVD2AVI and use this script bellow ***.

You don't need deinterleace, and the 2D smoother / cleaner if yoyur clip is good quality. More filters you have, more CPU it will use.

Usual CPU usage:

Decode MPEG2: 20%
Filters: 30%
Encode RV9: 50%

In your case it was (I guess):
Decode MPEG2: 10%
Filters: 85%
Encode RV9: 5%

*****************

# PLUGINS
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\MPEG2DEC.DLL")
LoadPlugin("D:\PROGRA~1\Autorv9\SOFTS\AVSFILE\LANCZOS3.DLL")
#
# VIDEO SOURCE
Video=Mpeg2Source("D:\COWBOY1\VIDEO_TS\Episode II.d2v")
#
# AUDIO SOURCE
Audio = WavSource("D:\COWBOY1\VIDEO_TS\Stream1.WAV")
#
# COMBINE VIDEO + AUDIO
Video=AudioDub(Video,Audio)
#
# CROPPING
Video=Crop(Video,0,0,720,480)
#
# RESIZING
Video=Lanczos3Resize(Video,656,480)
#
# FINISH
Return(Video)

Benholio
16th January 2003, 03:53
Thanks for this info, I will give it a try as soon as this anime ep finishes.



Ben

31 Flavas
16th January 2003, 07:55
I guess i'm kind of out of the loop, but what's the difference between lancoz and bicubic for resizing?

Benholio
16th January 2003, 08:09
To be honest, I am not real sure of the Technical difference. I have used both and I like the output of the Lancoz. To me it just looks better.


Ben