Video editing newbie, trying to figure out a way to prevent the colors in my video from being dulled when converting to MPEG-2. I have tried a few things so far, such as removing various cleaners from my script (and the Convert to YV12 that they require), changing the rate control mode in TMPGEnc from Constant Quality (8,000 cap) to Constant Bitrate (spikes a little over 12,000) without success, as well as checking the simple color correction option on TMPGEnc. The video pre-conversion is:
AVI
880 x 496
Image size: 880 x 496
Pixel Depth: 32
Frame Rate: 29.97
The bare bones script is:
UnalignedSplice (AviSource("FINAL A.avi"),AviSource("FINAL B2.avi"))
LanczosResize(720,352)
AddBorders(0,64,0,64)
SSRC(48000)
Before:
After:
Color loss when encoding to MPEG-2
- TheTsunami
- Joined: Sat Sep 07, 2002 11:08 am
- Location: Michigan, USA
- s0matic
- Joined: Fri Jul 16, 2004 4:51 am
- Status: Clitical
Re: Color loss when encoding to MPEG-2
That may be the problem, well not the removing the conversion, but rather, your footage has to be converted to YV12 anyway for MPEG-2. So even if you don't have ConvertToYV12() in your script I'm assuming TMpegEnc is doing the conversion anyway, and this is probably is causing the color dulling.TsunamiX wrote:Video editing newbie, trying to figure out a way to prevent the colors in my video from being dulled when converting to MPEG-2. I have tried a few things so far, such as removing various cleaners from my script (and the Convert to YV12 that they require)
Ideal situation would be ripping your DVD's (YV12) -> Encoded file from editor (RGB) -> distro codec (YV12). So 2 colorspace conversions at minimum is unavoidable.
Try using ConvertToYV12(matrix="rec709") in your script, or use another MPEG-2 encoder such as CCE and see if you have better results.
- TheTsunami
- Joined: Sat Sep 07, 2002 11:08 am
- Location: Michigan, USA
Re: Color loss when encoding to MPEG-2
Managed to work it out with a few hours of tinkering (kind of how I've learned the entire process along the way, haha). Thanks for the reply.