digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   TMPGEnc: Whats Wrong with Readavs.dll (http://www.digitalfaq.com/archives/encode/13824-tmpgenc-wrong-readavsdll.html)

supermule 09-19-2005 09:22 AM

Whats Wrong with Readavs.dll
 
I am trying to use readavs.dll to encode a 2 hr movie and it shows me 28 hrs remaining. WTF ???

I have used TMPGEnc with the same settings, same avs script (except readavs.all), using Directshow and I was able to encode appx the same length in appx 4.5 hrs.

Whats wrong, I use avisynth 2.5.6 RC1 and TMPGEnc 2.524.63.181

P4 Centrino 1.6 Ghz, 256 MB RAM

Dialhot 09-19-2005 09:31 AM

Re: Whats Wrong with Readavs.dll
 
Quote:

Originally Posted by supermule
Whats wrong, I use avisynth 2.5.6 RC1 and TMPGEnc 2.524.63.181

I didn't even know that you could open an avs without readavs (using directshow) but your problem is probably that in the longer attempt, you are running in RGB32 and not in YV12. Or something like this. Avisynth is a lot faster in YV12.

The problem is not with readavs but with the codecs installed on your PC and how they are configured.

supermule 09-19-2005 09:36 AM

Re: Whats Wrong with Readavs.dll
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by supermule
Whats wrong, I use avisynth 2.5.6 RC1 and TMPGEnc 2.524.63.181

I didn't even know that you could open an avs without readavs (using directshow) but your problem is probably that in the longer attempt, you are running in RGB32 and not in YV12. Or something like this. Avisynth is a lot faster in YV12.

Well I increased the priority in the VFAPI Plugin to the highest for directshow.

Okay let me put a converttoYV12() after reading the source in the avs script.

Will get back soon.....

supermule 09-19-2005 09:44 AM

Re: Whats Wrong with Readavs.dll
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by supermule
Whats wrong, I use avisynth 2.5.6 RC1 and TMPGEnc 2.524.63.181

I didn't even know that you could open an avs without readavs (using directshow) but your problem is probably that in the longer attempt, you are running in RGB32 and not in YV12. Or something like this. Avisynth is a lot faster in YV12.

The problem is not with readavs but with the codecs installed on your PC and how they are configured.

Thanks DH, I put converttoYV12() at the begining (ofcourse after the read statement) in the script and the time has reduced to 5hrs 33 min appx.

:D

Dialhot 09-19-2005 09:47 AM

Try to fix your codec for a better result next time.
The YV12 handler we often use is xvid codec. It should be installed even if you never read/encode xvid video. And you have to configure it to output as YV12 anytime.

supermule 09-19-2005 10:44 AM

Quote:

Originally Posted by Dialhot
Try to fix your codec for a better result next time.
The YV12 handler we often use is xvid codec. It should be installed even if you never read/encode xvid video. And you have to configure it to output as YV12 anytime.

Can you be more precise...............what do I need to do exactly. I already have the latest Divx release.

What should be the required configuration ?????

kwag 09-19-2005 11:17 AM

Quote:

Originally Posted by supermule

Can you be more precise...............what do I need to do exactly. I already have the latest Divx release.

What should be the required configuration ?????

Not DivX CODECS :!:
:arrow: Install XviD CODEC.

-kwag

supermule 09-19-2005 11:27 AM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by supermule

Can you be more precise...............what do I need to do exactly. I already have the latest Divx release.

What should be the required configuration ?????

Not DivX CODECS :!:
:arrow: Install XviD CODEC.

-kwag

Ah! I should have been precise too, I installed the Divx 6 package, it contains both Divx and Xvid codecs.

Is there anything else I need to configure or be aware of in the configuration.

Dialhot 09-19-2005 11:33 AM

Quote:

Originally Posted by supermule
I installed the Divx 6 package, it contains both Divx and Xvid codecs.

For sure not !

Did you ever see M$ delivering OpenOffice with M$ Office ?

Edit: but as boulder says just under, Divx can be used also as YV12 handler.
(just have to check the box "extented YuV mode" or something like this.

Boulder 09-19-2005 11:33 AM

DivX5 or 6 will decode YV12 as well as XviD. That is, both are equally buggy :wink:

However, you should use ConverttoRGB24() at the end of your script if you use TMPGEnc.

What is your source?

supermule 09-19-2005 11:41 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by supermule
I installed the Divx 6 package, it contains both Divx and Xvid codecs.

For sure not !

Did you ever see M$ delivering OpenOffice with M$ Office ?

Edit: but as boulder says just under, Divx can be used also as YV12 handler.
(just have to check the box "extented YuV mode" or something like this.

You are right, I just checked I have installed the Free Divx play bundle. I will install the xvid.

BTW just for my understanding why are these conversions required, in the first place itself and how do you know what your source colourspace is ????

Boulder 09-19-2005 11:45 AM

That's why I asked what your source is. Most likely it should already be in YV12 but probably enabling the option Phil mentioned should do the trick.

You can check the colorspace by putting Info() right after the line where you load the source.

supermule 09-19-2005 11:53 AM

Quote:

Originally Posted by Boulder
That's why I asked what your source is. Most likely it should already be in YV12 but probably enabling the option Phil mentioned should do the trick.

You can check the colorspace by putting Info() right after the line where you load the source.

Sorry, its an avi source.

Boulder 09-19-2005 11:59 AM

If you're talking about XviD/DivX, sorry, we don't deal with them here anymore.

supermule 09-19-2005 09:19 PM

Quote:

Originally Posted by Boulder
If you're talking about XviD/DivX, sorry, we don't deal with them here anymore.

might be/might not be Xvid/DivX, I really dont know since its Video's in 6 CD-R which I am trying to put into a DVD now.( I am doing it for someone else)

but thanks anyway!!!


EDIT: I think the only thing you shouldnt discuss here is the Quality concerns and outputs from a Divx/Xvid (since you dont get the best out of them). Methodology and ways to do them wont do any harm.


All times are GMT -5. The time now is 09:36 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.