Hello,
I use FRAPS to capture videos. But, I would like the results is the same that I can see on the screen.
The first screenshot = a simple screenshot :
https://lut.im/OEw0Gfny/daxubILV
The second = a screenshot of a FRAPS's video :
https://lut.im/hE4yHAyW/z2xlPht4
The third = a screenshot when video is converted by default parameters of Avisynth :
https://lut.im/9TLMdf8x/j2Qk0c1N
There is a little bright problem I think. But the most important that I saw is the color modification, especially on the green.
Even if I used many time to try, I don't know how resolve this. For the conversion, I have Avisynth and I think I should use options in Tweak (http://avisynth.nl/index.php/Tweak).
Do you see others problems ?
Thanks in advance.
+ Reply to Thread
Results 1 to 30 of 51
-
Last edited by Kdmeizk; 19th Jun 2015 at 02:51.
-
"Converted by default parameters", what does that mean?
- How did you encode in Fraps? YUV, RGB?
- How did you "default convert"?
Best would be to post the mediainfoXP results of both the Fraps generated and Avisynth converted video so we can compare color spaces, Recs and levels.
Also include the avisynth script you used in case you did some 'funky' processing that converted color spaces and things.
-
"Converted by default parameters", what does that mean?
- How did you encode in Fraps? YUV, RGB?
How did you "default convert"?
Best would be to post the mediainfoXP -
-
Rapports are attached. In fact, I think mediainfoXP give you a little information about the video, so I suggested videos files for this.
-
That's not mediainfoXP, if you use the regular mediainfo you need to provide details.
-
You need Windows text view.
https://mediaarea.net/en-us/MediaInfo/Screenshots -
If you have something in RGB and you end up with YUV you need to provide provisions for conversion. If you don't you obviously get issues.
So either you encode YUV or you convert. -
VP9 does support sRGB however the problem is conversion, filtering and rendering software.
Many engineers have the "if it ain't YUV it ain't video attitude".
It would be great to have pure sRGB video with PC levels from capturing, encoding, through filtering all the way to rendering. But I fear that die-hard conservationists would not stand for it.
Sad but true! -
MPEG family codecs (MPEG 1, MPEG 2, MPEG 4 part 2, h.264) work in YUV, usually YV12 (if you want compatibility with stand alone media players, TVs, etc.) because it's half as much data as 24 bit RGB. A high definition RGB source should be converted to YV12 in AviSynth with the standard rec.709 matrix: ConvertToYV12(matrix="rec709). It's safest to have the encoder flag it as such too.
-
The problem is not "conversion", but "poor conversion".
The reason the YUV family is used so often instead of RGB has to do with the fact that RGB makes redundant (and thus inefficient) use of bitrate/quality vs. YUV's.
But again you are mistaken (sad but true): there ARE video workflows which can maintain RGB throughout.
@Kdmiezk, with proper conversion, your result should look quite like your original (barring low bitrate artifacts, etc). However, I see a playback problem looming with your continued use of 90FPS. Many systems will either not be able to play that back at all, or will stutter, or will play too slowly.
Scott -
-
I respectfully beg to differ, both historically, technically and also perceptually.
Historically because it was implemented as part of squeezing every single bit of information out of the signal while getting away with it, technically because RGB compression could theoretically be better handled at the codec level and perceptually because it is noticeable. -
Wrong again.
You can "get away with it" because it very, very often ISN'T noticeable. So unnoticeable, in fact, that this is why chroma subsampling was put into effect.
Would love to see some examples to back up your wild claims...
Scott -
I know, chroma subsampling, IRE, reduced levels, interlacing, visible compression artifacts, overscanning, fixed video sizes and framerates, those are all brilliant features that should be beyond - blasphemists will be punished - question and be preserved for eternity.
Truth of the matter is that all those old techniques had a valid reason for being in existence. However, it is 2015 and there is no reason to maintain those things for new material! We have grown beyond Nipkov disks you know! -
A high definition RGB source should be converted to YV12 in AviSynth with the standard rec.709 matrix: ConvertToYV12(matrix="rec709). It's safest to have the encoder flag it as such too.
The problem is not "conversion", but "poor conversion".
The reason the YUV family is used so often instead of RGB has to do with the fact that RGB makes redundant (and thus inefficient) use of bitrate/quality vs. YUV's.
But again you are mistaken (sad but true): there ARE video workflows which can maintain RGB throughout.
@Kdmiezk, with proper conversion, your result should look quite like your original (barring low bitrate artifacts, etc). However, I see a playback problem looming with your continued use of 90FPS. Many systems will either not be able to play that back at all, or will stutter, or will play too slowly.
Scott -
Ok the problem seems to be color matrix. I changed the source color matrix between Rec.709; FCC; Rec.601; SMPTE 240M and don't touch the output color matrix (which is Rec.709). Results :
- Rec.709 -> Rec.709 = colors like screenshots here (bad colors for the green)
- FCC -> Rec.709 = same green like source
- Rec.601 -> Rec.709 = same green like source
- SMPTE 240M -> Rec.709 = colors like screenshots here (bad colors for the green)Last edited by Kdmeizk; 25th Apr 2015 at 05:22.
-
That probably means fraps or the editor/encoder converted the RGB screen capture to YUV with a rec.601 matrix. So to maintain proper colors when uploading to youtube (which assumes rec.709) you need to convert from rec.601 to rec.709.
But be careful. How are you judging the results? When YUV video is displayed on your monitor it has to be converted to RGB. That conversion can take place anywhere from the codec to the monitor.
Code:codec ---> player/editor ---> graphics driver ---> monitor
Code:YUV RGB RGB codec ---> Virtualdub ---> graphics driver ---> monitor
-
FRAPS has an option "Force lossless RGB capture (may be slower)" which is checked for me. I assume without this option, YUV is used because there is colors problems (the blue is bad for example) and the size/bitrate are lower.
I checked with a original screenshot (without video) and a screenshot of videos. With both, I checked the colors palette for the green. The original screenshot has RGB=0,255,0 in the middle top and with Rec.601 -> Rec.709 it's the same. For other, generally, it was RGB=10,220,2. -
-
I don't understand where is the problem. I take screenshots with "Impr. écran" / "Screnshot" on the keyboard. So, problems that you see aren't, no ?
I assume if anybody reproduces same steps that mine (to see a color default), they will have the same result. -
No. Your screen shot is RGB copied from the screen. You don't know how your YUV encoded video got to be RGB on the screen. So you don't know if it was done correctly.
No. It will depend on how their computer is set up. What codecs they use, what player they use, and what graphics card they use. -
I assume I can't do better than actually to fix colors problems. I think I can only set settings with screenshots comparisons. I don't know how my graphic card convert the image and I'm not sure that will help me to reproduce the same colors that a original screenshot.
Similar Threads
-
Avisynth - Overlay on certain colors
By Ninelpienel in forum EditingReplies: 13Last Post: 13th Apr 2015, 14:18 -
MotionFlow problems with AviSynth
By fritzee in forum Newbie / General discussionsReplies: 0Last Post: 23rd Sep 2014, 19:05 -
Avisynth Santiag() making image and colors a tad brighter.
By killerteengohan in forum RestorationReplies: 4Last Post: 27th Jul 2014, 19:01 -
Is this true?Women see less colors than men, and they see washed out colors
By Stears555 in forum Off topicReplies: 5Last Post: 10th Jul 2014, 13:07 -
Convert Vc1 to xvid via AviSynth -> colors slipped ??
By housemusic in forum Video ConversionReplies: 0Last Post: 24th Sep 2010, 13:36