IR Server and keypress macros (1 Viewer)

wdanen

Portal Member
October 10, 2007
8
0
Has anyone had any luck using keypress macros to send key stroke commands to FFDShow? I'm trying to map an MCE remote button to CTRL-S (or ALT-S or SHIFT-S, i've tried lots of combos) but it just doesn't seem to work. doing the keystroke on the keyboard works fine, and putting something else in the macro (like {ESC}) works as well, but FFDShow just doesn't seem to get it when i press the remote button. anyone have any ideas?

using latest IR server suite and I also tried the older replacement plugin with similar results. Running MP 0.2.3.0 RC2
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    To communicate with FFDShow you will need to use Windows Messages.

    Here's an example. To turn on subtitles I would send two commands targeting the Class "ffdshow_remote_class":

    The first command is: 32786, 0, 801
    The second command is: 32786, 1, 1

    Put this into a macro and call it "FFDShow Subtitle On" and you're on your way...

    To turn them off again you'd changed the second command to 32786, 1, 0

    There's a list of commands somewhere for FFDShow windows messages. If I can find a copy I'll attach it to this post later...

    Hope that helps.
     

    wdanen

    Portal Member
    October 10, 2007
    8
    0
    ahh....didn't see that bit in the help file about ffdshow. thanks for the quick reply!

    well, i tried those commands in a macro, and still no luck. must still be something i'm missing. looks like i've got ffdshow set up ok, using "ffdshow_remote_message" as target class, using those values as the message, wparam, and lparam values....no dice. i'll keep trying.
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Make sure you've enabled the windows messages remote control in ffdshow setup.

    Aside from that I'm not sure what else it could be... I'll try again here later on.

    Cheers,
     

    wdanen

    Portal Member
    October 10, 2007
    8
    0
    wow, I totally missed the ffdshow info in that other thread (thread here) guess I need to learn how to search a little better.

    Anyhow, I got it working on another machine, so when I get home I'll test it out my HTPC. Thanks for your help and for the awesome plugin!
     

    zoee

    Portal Member
    August 11, 2007
    14
    0
    Home Country
    Sweden Sweden
    Sorry to keep dragging post back to life like this. I have done extensive searching (even looking through the ffdshow source code) but I can't find a way to do this. I simply want to be able to switch presets on the fly with the remote. There just doesn't seem to be any windows messages for this particular action. Is the no way of getting IR-Server to send a key-command through to ffdshow? Perhaps somehow via Translator? I really need this function.
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Did you download the list of commands from the other thread?

    Do any of them work?

    In the next version of Translator there will be a new Keystroke simulation technique. Instead of using the Dot Net SendKeys command I've written a replacement for it that uses the underlying Win32 libraries and will hopefully be able to communicate with programs like ffdshow.

    It should be available in the next few days.

    Cheers,
     

    zoee

    Portal Member
    August 11, 2007
    14
    0
    Home Country
    Sweden Sweden
    Yes, I did manage to use Windows Messages to toggle the subtitle for example, that worked with no problem. Great to hear, when I was running XP I was using HIP and that was able to send key command through MP to ffdshow. HIP doesn't work on Vista.

    Keep up the great work!
     

    zoee

    Portal Member
    August 11, 2007
    14
    0
    Home Country
    Sweden Sweden
    In the latest version I can set a keystrokes action in Translator that gets through to ffdshow! Great job on the new keystroke technique!

    Thanks
    Z
     

    Users who are viewing this thread

    Top Bottom