Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#22 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,963
|
To shrink PC range (0-255) to TV range, you can use ColorYUV(levels="pc->tv"), or better yet SmoothLevels(preset="pc2tv")
Derek
__________________
These are all my personal statements, not those of my employer :) |
![]() |
![]() |
![]() |
#23 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Since November 21st, 2009 I guess? In FRAPS 3.0.3 they added a Lossless RGB capture mode.
By default FRAPS still captures in their proprietary lossy YV12 compression, but by checking a box in setting, you can get proprietary lossless RGB compression instead, at the expense of slower capture speed and increased file size. |
![]() |
![]() |
![]() |
#25 | Link |
Registered User
Join Date: Mar 2006
Posts: 12
|
I'm really confused now. What should I do to ensure the best compatibility? Convert to TV-range(Rec709)?
Edit: It seems like it was an issue with DXVA and my ATI drivers, using ffdshow or disabling dynamic contrast when using the internal DXVA filter in MPC-HC makes the video look a little better. Edit: I'm pretty sure DXVA is messing up the colors. Looks just fine when using ffdshow for h264. Is there any fix for this? Disabling dynamic contrast makes it look a little better, but not quite as good as the original/preview. Both MPC-HC's internal DXVA filter and ffdshow's DXVA filter produces the same results. I could upload the video if anyone wants to see what I'm seeing. Last edited by Gfer; 6th February 2011 at 20:07. |
![]() |
![]() |
![]() |
#26 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,963
|
1) Verify that without any conversion, you're getting RGB out of AVISource
2) If so, use ConvertToYV12(matrix="rec709"), and things should be totally fine 3) If not (you're getting some kind of YUV format), use histogram() to determine if the video is full or limited range 4) If it's limited range, encode as-is. If it's full range, either scale it with ColorYUV/SmoothLevels, or set --fullrange in x264. Derek
__________________
These are all my personal statements, not those of my employer :) |
![]() |
![]() |
![]() |
#27 | Link |
Registered User
Join Date: Mar 2006
Posts: 12
|
Encoded a version like that this time. When played with DXVA on, either ffdshow's or MPC-HC's internal filter, the colors become slightly brighter. When using ffdshow's h264 decoder everything looks fine. Even when using shaders in MPC-HC or setting a different output range in my graphic's driver, it still doesn't look like it should. Where do I go from here?
|
![]() |
![]() |
![]() |
#28 | Link |
Registered User
Join Date: Aug 2007
Posts: 1,426
|
Sounds like your GPU drivers are doing some post-processing.
Most decoders ignore the fullrange flag, sadly. Even ffplay does, and ironically seems to do the PC -> TV conversion twice. Last edited by Snowknight26; 7th February 2011 at 01:09. |
![]() |
![]() |
![]() |
#29 | Link |
Registered User
Join Date: Mar 2006
Posts: 12
|
Well, I have a ATI Radeon HD5850 GPU. There's Intelligent Saturation, Skin tone correction, dynamic range (which is 0-255) and dynamic contrast. Turning off these options and keeping the dynamic range at 0-255 made the video look like it should. Thanks for the help.
|
![]() |
![]() |
![]() |
#30 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,963
|
Indeed.
I prefer to turn this dynamic contrast /skin tone correction stuff off anyway - you shout set things up correctly without them. My feeling on features like these is that they could potentially cause issues if you feed them unexpected input. I'm not basing that on anything but gut instinct, though ![]() Derek
__________________
These are all my personal statements, not those of my employer :) |
![]() |
![]() |
![]() |
#33 | Link |
Registered User
Join Date: Mar 2004
Posts: 339
|
Just to let you know, you want your video a bit brighter if you're going to upload it to YouTube. They seem to like to crush the blacks.
My current work process for FRAPS videos is using direct264 to encode the files and ffdshow to set the levels to 16-235. Direct264 reads the file in and it uses ffdshow to decode it on my system. When encoding the videos using normal x264 and the --fullrange option, the videos playback locally perfectly fine but if you upload them to YouTube, YouTube will crush the blacks and make the videos really dark. |
![]() |
![]() |
![]() |
#35 | Link |
Registered User
Join Date: May 2008
Posts: 4
|
I have Fraps 3.2.9 and am using Handbrake to transcode my lossless RGB Fraps video captures. I am getting the "washed out" look with my transcoded videos. What arguments exactly do I have to set in my Handbrake CLI box to get it to convert with the right colorspace, luma, chroma, etc? I'm new to all this YUV, RGB, bt601, bt709 stuff.
How/where do I find and use this convertToYYV12 function? Thanks for the help! Last edited by userix; 24th June 2011 at 23:26. |
![]() |
![]() |
![]() |
#36 | Link | |
Registered User
Join Date: Oct 2009
Posts: 912
|
Quote:
How to verify the range with certainty? (The renderer might be good enough to guess/determine the range of the video) Last edited by mzso; 20th May 2013 at 14:36. |
|
![]() |
![]() |
![]() |
#38 | Link | |
/人 ◕ ‿‿ ◕ 人\
Join Date: May 2011
Location: Russia
Posts: 643
|
Quote:
To verify it - open it in properly configured player, e.g. MPC-HC with LAV filters and madVR. madVR should show that range is full in OSD, and colors&brightness of the image should match source. |
|
![]() |
![]() |
![]() |
#39 | Link | |
Registered User
Join Date: Oct 2009
Posts: 912
|
Quote:
Depending on decoder, I get full range (best guess), but with artifacts: ![]() Otherwise limite range, and blurry. Same results without it. Now, I'm going try to figure out how to pass --input-range PC to ffmpeg. Last edited by mzso; 20th May 2013 at 16:44. |
|
![]() |
![]() |
![]() |
#40 | Link | |
Registered User
Join Date: Oct 2009
Posts: 912
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|