may be someone can help me with this issue. I would like to fastforward/rewind the video with the ffdshow plugin. I┬┤ve already tried the way without the plugin, by emulating keystrokes with eventghost but it didnt work (See Thread
).
First, I must confess that I am not a coder, a totally beginner in this...
The original ffdshow plugin doesn't support the fastforward/backward, so I tried to put those two commands to the python script of the plugin :
) the ID┬┤s for fastforward and rewind are 15 and 16.
Code: Select all
#aType, aGroup, aClsName, aName, aDescription, aValue, aOptions
CMDS = (
(WParamAction, None, "Run", "Run", None, 5, None),
(WParamAction, None, "Stop", "Stop", None, 4, None),
//Changes
(WParamAction, None, "FASTFORWARD", "FASTFORWARD", None, 15, None),
(WParamAction, None, "FASTREWIND", "FASTREWIND", None, 16, None),
//end of Changes
#deprecated actions
(GetIntAction, "deprecated", "GetSubtitleDelay", "Get Subtitle Delay", None, 812, None),
(SetIntAction, "deprecated", "SetSubtitleDelay", "Set Subtitle Delay", None, 812, None),
(ChangeIntAction, "deprecated", "ChangeSubtitleDelay", "Change Subtitle Delay", None, 812, None),
#CropNzoom
(IntegerAction, "CropNzoom", "CropNzoomMagnificationX", "Crop: Magnification X", None, 714, (0, 100, True, 1)),
(IntegerAction, "CropNzoom", "CropNzoomMagnificationY", "Crop: Magnification Y", None, 720, (0, 100, True, 1)),
(ToggleAction, "CropNzoom", "CropNzoomMagnificationLock", "Crop: Magnification Lock", None, 721, None),
#DeBand
(IntegerAction, "GradFun", "GradFunThreshold", "DeBand: Threshold", None, 1156, (101, 2000, True, 100)),
#Deinterlacing
(ToggleAction, "Deinterlace", "DeinterlaceSwapFields", "Deinterlacing: Swap fields", None, 1409, None),
(SelectAction, "Deinterlace", "DeinterlaceMethod", "Deinterlacing: Method", None, 1403,
( (12, "Bypass"),
(0, "Linear interpolation"),
(1, "Linear blending"),
(2, "Cubic interpolation"),
(3, "Cubic blending"),
(4, "Median"),
(5, "TomsMoComp"),
(6, "DGBob"),
(7, "Framerate doubler"),
(8, "ffmpeg deinterlacer"),
(9, "DScaler plugin"),
(10, "5-tap lowpass"),
(11, "Kernel deinterlacer"),
(13, "Kernel bob" ))),
#Presets
(WParamAction, "Presets", "PreviousPreset", "Previous Preset", None, 11, None),
(WParamAction, "Presets", "NextPreset", "Next Preset", None, 12, None),
#subtitle actions
(IntegerAction, "Subtitles", "SubtitleDelay", "Subtitle: Delay", None, 812, None),
)
Can someone tell me why this additions don't work? They are called exactly in the same manner as the Stop and Run commands.
They appear in Eventghost and I can put them in the macro, but they don't control ffdshow.