digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Green image when trying to encode video? (http://www.digitalfaq.com/archives/encode/5509-green-image-encode.html)

Bombero0437 09-10-2003 04:51 PM

Green image when trying to encode video?
 
i have a avi file that plays fine in wmp & in divx player (it was encoded with divx 5.02 i have 5.05 installed on my computer. anyway i used moviestacker to get a script (i have avisynth 2.0 and tok to get the prediction, when tmpegenc comes up and starts to predict, the screen is all green, but like i said it plays fine otherwise....any help please?

Dialhot 09-10-2003 05:06 PM

Try to add "ConvertToRGB24()" at the end of your script that can correct the problem.

Can you check the VFAPI setting in tmpgenc (environemental settings) to see if you have ReadAvs to the higher priority (let say 3), all others to 0 and Directshow to -1 ?

Bombero0437 09-10-2003 05:48 PM

Thank you for the suggestions, I tried both and none of them worked with this avi, it is still just a gren screen when encoding. I need to mention that when I try to encode the avi with tmpegenc as the video source and not my script, it looks fine. But I need to use this script for the filters any thoughts?

Dialhot 09-10-2003 05:52 PM

1/ Can you post your script ? I would like to check something.
2/ Can you also open the avs script directly under wmp, to see if the green screen is still there (and so, the problem is not related to tmpgenc).

Dialhot 09-10-2003 06:04 PM

I have to go to sleep so I give you suggestion taht you can try :

1/ use directshowsource insteed of avisource (filesize prediction will be a pain in the ass with this but just try it to see if green screen is still there)

2/ revert to divx 4.01 and try again. Or perhaps give a chance to Divx 5.1 that just came out.

Bombero0437 09-10-2003 06:08 PM

here is my script, I opened it in WMP and I still have the green screen, I can here the sound but just a green screen. I had to add"ConvertToYUY2()" to the script so that TOK would run it, I have to do this with almost all of my Divx-Xvid files and it works with no problems.


#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#

LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Sampler.dll")

AviSource("F:\My Shared Folder\SpiderMan\SpiderMan.avi")ConvertToYUY2()
LegalClip()
UnFilter(50, 50)
GripCrop(480, 480, overscan=3, source_anamorphic=false)
GripSize(resizer="BicubicResize")
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.25))
GripBorders()
LegalClip()

Dialhot 09-10-2003 06:32 PM

Quote:

Originally Posted by Bombero0437
I had to add"ConvertToYUY2()" to the script so that TOK would run it, I have to do this with almost all of my Divx-Xvid files and it works with no problems.

That is not normal ! I do all my Divx/Xvid in YV12 and never have to add a nyconvert (YUY2 or RGB). You must remove all previous version of Divx codec and use the last one only, as for the Xvid codec.
(I check on my PC I have 5.0.5 setted to minimum quality, film effect off, and all boxes checked in "quality settings" tab).


But, for your problem of green screen, thats a different deal. I already saw that this problem occurs with divx 5.05 and vanishes when revert to 4.01. Try that. Version 5.05 is perhaps buggy.

Note: nothing wrong in you script.

Good night.

Bombero0437 09-10-2003 06:43 PM

ok, upgraded to divx 5.1 and all is fine now, thanx for the help


All times are GMT -5. The time now is 07:41 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.