If I feed TMPGEnc source files compressed with Lagarith (version 1.3.8, YV12 colorspace), the output yields a few scrambled frames (about one or two per video).
I've tried using a workaround with AVISynth as a frameserver. It works for the shorter videos (no more corrupted frames!) but on longer videos it tends to freeze TMPGEnc before the job is done.
I've also considered just converting my Lagarith files to Huffyuv, but I don't want to make a colorspace conversion. However, I have heard of a variant of huffyuv called Huffyv12. Can anybody tell me more about it?
Any other workaround suggestions are welcome.
TMPGEnc doesn't like Lagarith - workarounds?
- jasper-isis
- P. Y. T.
- Joined: Tue Aug 13, 2002 11:02 am
- Status: catching all the lights
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: TMPGEnc doesn't like Lagarith - workarounds?
It's in ffdshow's VFW interface. I use it when I want to feed TMPGEnc an actual AVI rather than a script. I've never had any problems with it to my recollection...at least not any that didn't have to do with the fact my computer is 5 years old.Jasper-Isis wrote:I've also considered just converting my Lagarith files to Huffyuv, but I don't want to make a colorspace conversion. However, I have heard of a variant of huffyuv called Huffyv12. Can anybody tell me more about it?
Generally, this is all there is to it:

As long as you have ffdshow set to decode HuffYUV, there shouldn't be any problem. With those particular settings, filesizes are somewhat comparable to Lagarith, but run a bit larger.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
- jasper-isis
- P. Y. T.
- Joined: Tue Aug 13, 2002 11:02 am
- Status: catching all the lights
Yey, I've got it working.
I tried Zarxrax's suggestion to enable decode as RGB. The scrambled frames persisted.
I then found the ffdshow encoder options and tried compressing my file to to Huffyuv in YV12 colorspace... it encoded but then didn't want to decode. I had audio but no video in Zoom Player, Media Player Classic, or Virtualdubmod.
I didn't want to mess with ffdshow configuration just yet, so I tried using its encoder again, this time with the ffv1 codec. And woot, it worked. It's slower than both Huffyuv and Lagarith, but it got the job done. Had a really small filesize too. Not bad.
I tried Zarxrax's suggestion to enable decode as RGB. The scrambled frames persisted.
I then found the ffdshow encoder options and tried compressing my file to to Huffyuv in YV12 colorspace... it encoded but then didn't want to decode. I had audio but no video in Zoom Player, Media Player Classic, or Virtualdubmod.
I didn't want to mess with ffdshow configuration just yet, so I tried using its encoder again, this time with the ffv1 codec. And woot, it worked. It's slower than both Huffyuv and Lagarith, but it got the job done. Had a really small filesize too. Not bad.
- DJ_Izumi
- Joined: Wed Oct 03, 2001 8:29 am
- Location: Canada
- Contact:
Funny, I was just sitting in Tmpgenc working on the same issue. I'm still testing a few things but I'll post what I have so far.
I save complete encodes of my AMVs to DVD-R in Lagarith in RGB (Some older ones are YV12) and PCM audio. But I've found that I get a random garbage frame when encoding to MPEG-2 in Tmpgenc. This is only when the source is a Lagarith AVI loaded directly into Tmpgenc. If I bypass it, by say, using VirtualDubMod's frame server, or convert to HuffYUV and then encode, the garbage frames do not appear.
My source material is a mix of YUV and RGB Lagariths the main one, my Gravitation video, is RGB without null frames (It screws up a few encoders). I'll now show you my results.
Frame #1364 in the original Lagarith encode:

Frame #1364 in the Mpeg-2 after being encoded.

Obviously, not a good thing. While the work around is easy enough, it's still not a good thing. Does anyone have any ideas?
I save complete encodes of my AMVs to DVD-R in Lagarith in RGB (Some older ones are YV12) and PCM audio. But I've found that I get a random garbage frame when encoding to MPEG-2 in Tmpgenc. This is only when the source is a Lagarith AVI loaded directly into Tmpgenc. If I bypass it, by say, using VirtualDubMod's frame server, or convert to HuffYUV and then encode, the garbage frames do not appear.
My source material is a mix of YUV and RGB Lagariths the main one, my Gravitation video, is RGB without null frames (It screws up a few encoders). I'll now show you my results.
Frame #1364 in the original Lagarith encode:

Frame #1364 in the Mpeg-2 after being encoded.

Obviously, not a good thing. While the work around is easy enough, it's still not a good thing. Does anyone have any ideas?
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Probably because HFYU was set as the FourCC. Since I've got ffdshow set to decode HuffYUV, it works seamlessly. I think if you change the FourCC to FFDS or whatever the other option in that drop-down box in the encoder is, it'll make sure that ffdshow decodes it even if it's not set to decode HuffYUV.Jasper-Isis wrote:I then found the ffdshow encoder options and tried compressing my file to to Huffyuv in YV12 colorspace... it encoded but then didn't want to decode. I had audio but no video in Zoom Player, Media Player Classic, or Virtualdubmod.
I didn't want to mess with ffdshow configuration just yet, so I tried using its encoder again, this time with the ffv1 codec. And woot, it worked. It's slower than both Huffyuv and Lagarith, but it got the job done. Had a really small filesize too. Not bad.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog