After install, how to switch between ffdshow & LAV for H.264?
Page 1 of 1 • Share •
After install, how to switch between ffdshow & LAV for H.264?
Hi, if for H.264 video I wanted to try with LAV instead of default ffdshow - where can I set this after install? If that's possible, then also how do I set it back to ffdshow.
Side question - in LAV video config, I see this setting "RGB Output levels (for YUV -> RGB conversion) = PC (0-255)". Is this the same as mpc-hc's pixel shader "16-235 > 0-255 [SD][HD]"?
Thanks
Side question - in LAV video config, I see this setting "RGB Output levels (for YUV -> RGB conversion) = PC (0-255)". Is this the same as mpc-hc's pixel shader "16-235 > 0-255 [SD][HD]"?
Thanks
miso- Posts: 16
Join date: 2011-07-23
Re: After install, how to switch between ffdshow & LAV for H.264?
Both ffdshow and LAV have options to configure which formats they decode. ffdshow has a higher merit, so if a format is enabled in both, then ffdshow will be used.
If you want to use LAV Video for H.264, all you need to do is disable H.264 in ffdshow video decoder configuration, on the Codecs page. Simply enable it again when you want to switch back to ffdshow.
The RGB output levels setting only has effect when it is outputting RGB32. ffdshow has similar settings for RGB conversion.
The video renderer will convert to RGB32 internally if necessary. On some hardware that is done with wrong levels, which can be corrected with the shader you mentioned.
If you force the decoder to output RGB32, then you should not need the shader anymore. You can force it in LAV by unchecking the other colorspaces. ffdshow has an option called "primary colorspace" on the Outout page in its settings.
Letting the video decoder convert to RGB32 requires a bit extra CPU power.
What you could also try is the madVR renderer that was added in the latest version of the pack. That should give proper levels with any input colorspace.
If you want to use LAV Video for H.264, all you need to do is disable H.264 in ffdshow video decoder configuration, on the Codecs page. Simply enable it again when you want to switch back to ffdshow.
The RGB output levels setting only has effect when it is outputting RGB32. ffdshow has similar settings for RGB conversion.
The video renderer will convert to RGB32 internally if necessary. On some hardware that is done with wrong levels, which can be corrected with the shader you mentioned.
If you force the decoder to output RGB32, then you should not need the shader anymore. You can force it in LAV by unchecking the other colorspaces. ffdshow has an option called "primary colorspace" on the Outout page in its settings.
Letting the video decoder convert to RGB32 requires a bit extra CPU power.
What you could also try is the madVR renderer that was added in the latest version of the pack. That should give proper levels with any input colorspace.
Admin- Admin
- Posts: 2494
Join date: 2011-06-17

Re: After install, how to switch between ffdshow & LAV for H.264?
Think I got it. Thanks & really appreciate your patient & thorough explanation! 
miso- Posts: 16
Join date: 2011-07-23
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum