Topic - Map -vc parameter to video type

Reply to this topic

Topic Starter veggen - Posted on Sunday, January 9 2011 07:21:41 PM
Is there a way to always use -vc ffh264vdpau parameter for h264 videos, without explicitly typing it in every time? Without this parameter, I don't get hardware acceleration, even with -vo vdpau specified. I am using a GUI front-end that allows me to input additional parameters, but I'd really like to avoid adding/deleting those every time I'd like to play something.
I gave h264-to-ffh264vdpau mapping just as an example, it's not the only mapping I would use.

Thanks for any idea...