View Full Version : YUY2 and TMPGEnc
wopster
11th July 2006, 00:57
I read on the analog video capture/conversion guide that TMPGEnc is incompatible with YUY2. I just captured an anolog source with YUY2 and it worked fine in TMPGEnc. Is TMPGEnc converting it to RGB24 first, then converting to mpeg2? Should I just capture in RGB24 instead?
Thanks
Boulder
11th July 2006, 09:17
Some codec, probably msyuv.dll, is doing the YUY2->RGB conversion. There's no need to use RGB for capturing, it'll only result in huge files and the native colorspace of your capture card is probably YUY2 anyway.
If you use Avisynth for frameserving, you can do the conversion in the script, which is highly recommended to avoid any problems.
wopster
11th July 2006, 16:45
If you use Avisynth for frameserving, you can do the conversion in the script, which is highly recommended to avoid any problems.
What is the purpose of using Avisynth to frameserve to TMPGEnc? Will it be faster than TMPGEnc solo?
Boulder
11th July 2006, 17:05
You can use filtering to improve the captures a lot.
dosdan
12th July 2006, 01:50
What is the purpose of using Avisynth to frameserve to TMPGEnc? Will it be faster than TMPGEnc solo?
It's much more convenient to do your trimming, cropping, resizing, denoising etc. in Avisynth rather than TMPGEnc as you set all these settings in one text file (.AVS) rather then jumping into different sections of TMPEGEnc. Avisynth is also more powerful and versatile in its range of filters.
I do the AVS setup first in VDubMod as it has a script editor integrated into it and you can use a hot key (Ctrl-T) to paste the current trim start & stop points into the editor, another hotkey to save the changed script and reload from the start (F7), another hotkey to save the changed script and reload from the current frame position (F5). These abilities make the determination and testing of changes fairly simple.
The work sequence:
1. Create a AVS script in Notepad or Copy an existing and and modify it to load your AVI file.
2. Load the AVS into VDudMod (File | Open) and determine|preview|adjust your script.
3. In TMPGENCenc, instead of loading the AVI, load the AVS instead.
Your trim list in Avisynth can contain more than one start & stop point pair (e.g. Trim (0,199) + (350,300) + (333, 350) ...) and you can load more than one video clip at a time so you can save having to load different clips and differnet parts of clips into TMPGEnc and compressing each seperately and then combining them afterwards.
pandy
19th July 2006, 11:01
What is the purpose of using Avisynth to frameserve to TMPGEnc? Will it be faster than TMPGEnc solo?
Faster no but thanks to AVS You have chance to properly deal with interlace video - AFAIK AVI container have very poor or not at all support for interlace...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.