TMPEGEnc Ugly Glitch

If you have questions about compression/encoding/converting look here.
Locked
User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

TMPEGEnc Ugly Glitch

Post by Kero777 » Wed Jan 30, 2008 2:29 pm

I've encoded my AMVs with TMPEGEnc for convention submission following the great guide here before with no problem. But this time around, I see these really ugly blocky colors in my video at one part. It lasts for only a frame or two, but It's very noticeable. Here is a screen shot:

Image

Here is my script:
Script wrote: avisource("C:\Documents and Settings\User\Desktop\toconvert.avi")
LanczosResize(720,480)
SSRC(48000)
The only reason I can think of why it's doing this is because my original video has a pretty big resolution because I wanted to keep it the highest quality as possible. The resolution is 848x480. I have tried resizing the video in Avisynth to 720x480, fast re compressing in VirtualDubMod as Lagarith and then putting that file through TMPEGEnc ... No Luck. :(

However, I tried making a new project file in Vegas and re-importing my 848x480 encode and resizing it in Vegas... it worked BUT with the price of cutting some of the footage off the screen and noticeably reducing quality.

If anyone has any suggestions, I will appreciate it more than you will ever know. Thanks for taking the time to read all this!
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Wed Jan 30, 2008 3:24 pm

At the end of the guide I found this:
It looks like crap! Help!

... then you'll want to go back to your script and add the line:

ConvertToRGB24()

Sometimes TMPGEnc won't process a script properly if it's not returning video that's in the RGB24 colorspace; this line ensures that your script is.
try to see if this is the case... if that's not it, than I have no clue, sorry. :(

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Wed Jan 30, 2008 3:28 pm

Have you confirmed that the file you are inputting into tmpg doesn't contain this error?

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Re: TMPEGEnc Ugly Glitch

Post by Kero777 » Wed Jan 30, 2008 3:33 pm

Kero777 wrote:However, I tried making a new project file in Vegas and re-importing my 848x480 encode and resizing it in Vegas... it worked... BUT...
Update: Sorry. I guess I was wrong. That actually doesn't work any better either. :( Here is another picture:

Image

Mirkosp: I do remember reading that. I've never had to use it before, but it's definitely worth a shot! I will let you know! :D
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Post by Kero777 » Wed Jan 30, 2008 3:33 pm

Zarxrax wrote:Have you confirmed that the file you are inputting into tmpg doesn't contain this error?
Yes, I watched it a dozen times. :)
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Post by Kero777 » Wed Jan 30, 2008 3:46 pm

mirkosp wrote:At the end of the guide I found this:
It looks like crap! Help!

... then you'll want to go back to your script and add the line:

ConvertToRGB24()

Sometimes TMPGEnc won't process a script properly if it's not returning video that's in the RGB24 colorspace; this line ensures that your script is.
try to see if this is the case... if that's not it, than I have no clue, sorry. :(
Thank you very much for your suggestion, but it did not work. T_T

I wonder if it's Lagarith? I'm off to try Uncompressed and/or Huffyuv next. *Crosses fingers*
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Wed Jan 30, 2008 4:05 pm

Trying to export uncompressed too won't hurt. Let's hope. :?

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Wed Jan 30, 2008 4:59 pm

It is Lagarith. I've never figured out what causes it exactly, but it is common with how TMPGEnc treats Lagarith. If it's YV12, then converting to the YV12 HuffYUV implementation in ffdshow should fix it. I've never had problems with it [HuffYUV-YV12] getting botched by TMPGEnc, though.

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

:)

Post by Kero777 » Wed Jan 30, 2008 5:14 pm

mirkosp wrote:Trying to export uncompressed too won't hurt. Let's hope. :?
Okay. :D I experimented. Here is what's going on now:

I exported the file again using Lagarith thinking maybe something went wrong when I was exporting the file from Vegas the first time... Same error in the same place... With and without "ConvertToRGB24()" in the script.

The next time, I exported Huffyuv and did everything the same exact way. I watched the video and there appears to be no error! Hooray! I had "ConvertToRGB24()" in the script, but have yet to test it without.

I've had no problems whatsoever with Lagarith until now, and I usually prefer it. TMPEGEnc was fine using it for all my other videos. I guess it's just being finicky for some reason. It probably happens every now and then.

So, anyway, thanks a lot Zarxrax and Mirkosp for your suggestions. :)

*Goes off to watch the Huffyuv to MPEG2 encode a few more times just in case*
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Post by Kero777 » Wed Jan 30, 2008 5:17 pm

Qyot27 wrote:It is Lagarith. I've never figured out what causes it exactly, but it is common with how TMPGEnc treats Lagarith. If it's YV12, then converting to the YV12 HuffYUV implementation in ffdshow should fix it. I've never had problems with it [HuffYUV-YV12] getting botched by TMPGEnc, though.
Oops, sorry Qyot27, I didn't see your reply before I started to respond. Thanks for that information. I guess from now on I will use HuffYUV for my exports when I need to convert to MPEG2. :D
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

Locked

Return to “Conversion / Encoding Help”