After install, how to switch between ffdshow & LAV for H.264?

View previous topic View next topic Go down

After install, how to switch between ffdshow & LAV for H.264?

Post by miso on Fri Feb 10, 2012 6:15 pm

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 Smile

miso

Posts: 16
Join date: 2011-07-23

View user profile

Back to top Go down

Re: After install, how to switch between ffdshow & LAV for H.264?

Post by Admin on Fri Feb 10, 2012 8:43 pm

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.

Admin
Admin

Posts: 2494
Join date: 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: After install, how to switch between ffdshow & LAV for H.264?

Post by miso on Sat Feb 11, 2012 4:11 am

Think I got it. Thanks & really appreciate your patient & thorough explanation! Smile

miso

Posts: 16
Join date: 2011-07-23

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum