FORUM

FORUM



SearchSearch   Users   Registration   Entrance
Today: 04.04.2026 - 14:54:25
Pages:  1  

Fraps, h264 and YV12.

AuthorMessage

bebedivine

usr


Statistics:
Messages: 543
Registration: 04.01.2003

Hello, i recorded a video using fraps, then encoded in x264, checked colors through Virtual Dub, compared the original and final versions, no problems found. But when i made screenshots through the potplayer and others(mpc hc), then i had differences in colors, but if open file through the avisynth script via Virtual Dub, the colors are the same. Original h264 vs Potplayer captured screenshot (NV12/YV12/YUY2): Virtual Dub via avs script vs Original h264: Original file:



Message # 1 28.10.24 - 17:27:21
RE: Fraps, h264 and YV12.

325iGuy

usr


Statistics:
Messages: 266
Registration: 04.30.2001

BT.601 v.s. BT.709. Please post your x264 command line and your Avisynth script. Also what options did you use when when capturing? If you captured Fraps as RGB adding this to your Avisynth script should fix it: Code:



Message # 2 28.10.24 - 17:38:28
RE: Fraps, h264 and YV12.

Paul S

usr


Statistics:
Messages: 231
Registration: 01.17.2003

I dont use fraps lossless RGB capture. And ConvertToYV12(matrix="rec709"), then i add this --colorprim bt709 --transfer bt709 --colormatrix bt709 and it works with Madshi Video Renderer(potplayer) and evr custom. Thanks.



Message # 3 28.10.24 - 17:45:23
RE: Fraps, h264 and YV12.

JBravoM3

usr


Statistics:
Messages: 174
Registration: 02.26.2001

This answer may seem a little long, but believe me, it is actually way too short! Not all video renderers honor the 709 flag by default, or don't do the right thing with it. Sad but true. You can either flag the video properly and hope the viewer sees it correctly, or choose a selected render target (eg YouTube) and work backwards, trying to get a good result mainly on that target, "sacrificing" the others. There are many complicating factors you have not mentioned, such as which decoder you are using (Fraps' default codec always converts YV12 to RGB, but FFmpeg-derived decoders do not), what options you have set under Video, Color Depth, and whether you use any Filters that force RGB<->YUV In my tests, using MPC+MadVR, MPC+Haali and YouTube+Flash as target renderers, I have gotten good color fidelity with: source = Fraps YUV open with default Fraps decoder (Vdub open AVI or AviSynth+AviSource) video mode = Fast Recompress Video Filters = none (no filters allowed in Fast Recompress) Color Depth = (N/A in Fast Recompress) x264vfw flags = --colorprim bt709 --transfer bt709 --colormatrix bt709 There are many other ways to get an equivalent result, but this is the least complicated. Finally, note that when previewing YUV (but not RGB) video in VirtualDub, Rec609 is assumed; Rec709 will have bright greens and dull reds. Once the video is encoded (depending on the renderer as I said) the video should be OK.


---------------------
John No more M3, Had to buy a family hauler to get cash for the new house. A momentary set back, but the M5 is coming soon.
Message # 4 28.10.24 - 17:51:45
RE: Fraps, h264 and YV12.

SDKCM3

usr


Statistics:
Messages: 459
Registration: 06.12.2001

raffriff42, thanks.



Message # 5 28.10.24 - 18:02:24
RE: Fraps, h264 and YV12.
which is best, and why- pc or mac : Previous topicNext topic: Very Urgent Help Needed!!
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

Forum powered by: IP.Board © 2025 5.0.6