Quote from
fkapnist on July 25, 2020, 2:43 pm
Not happy with MCI video commands? Try ffplay in a NEO Win rectangle.
ffmpeg is a standard utility for processing AVI and MP4 audio/video
FFmpeg.exe
ffplay.exe
ffprobe.exe
This script uses an "Init" speed-up rectangle that is not visible (or placed offscreen) to ""preload" videos without sound (-an) partially into RAM before running the player in Rectangle1.
-------------------------------------
FocusObject "RectangleInit"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
FocusObject "RectangleInit"
Delay "100"
RunInRectangle "RectangleInit" "[PubDir]ffmpeg\bin\ffplay.exe" "-an [#34][LoadedVideo][#34]" "" "" "[ffplayRectangleInit]"
Delay "100"
FocusObject "RectangleInit"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
FocusObject "Rectangle1"
Delay "100"
SendKeys "[ffplayRectangle1]" "{Esc}"
Delay "100"
SendKeys "[ffplayRectangle1]" "{Esc}"
Delay "100"
FocusObject "Rectangle1"
Delay "100"
RunInRectangle "Rectangle1" "[PubDir]ffmpeg\bin\ffplay.exe" "[#34][LoadedVideo][#34]" "" "" "[ffplayRectangle1]"
Delay "100"
----------------------------------
It can also use SendKeys to start and stop the player
SendKeys "[ffplayRectangle1]" "P"
SendKeys "[ffplayRectangle1]" "m"
SendKeys "[ffplayRectangle1]" "{PgDn}"
.
Not happy with MCI video commands? Try ffplay in a NEO Win rectangle.
ffmpeg is a standard utility for processing AVI and MP4 audio/video
FFmpeg.exe
ffplay.exe
ffprobe.exe
This script uses an "Init" speed-up rectangle that is not visible (or placed offscreen) to ""preload" videos without sound (-an) partially into RAM before running the player in Rectangle1.
-------------------------------------
FocusObject "RectangleInit"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
FocusObject "RectangleInit"
Delay "100"
RunInRectangle "RectangleInit" "[PubDir]ffmpeg\bin\ffplay.exe" "-an [#34][LoadedVideo][#34]" "" "" "[ffplayRectangleInit]"
Delay "100"
FocusObject "RectangleInit"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
SendKeys "[ffplayRectangleInit]" "{Esc}"
Delay "100"
FocusObject "Rectangle1"
Delay "100"
SendKeys "[ffplayRectangle1]" "{Esc}"
Delay "100"
SendKeys "[ffplayRectangle1]" "{Esc}"
Delay "100"
FocusObject "Rectangle1"
Delay "100"
RunInRectangle "Rectangle1" "[PubDir]ffmpeg\bin\ffplay.exe" "[#34][LoadedVideo][#34]" "" "" "[ffplayRectangle1]"
Delay "100"
----------------------------------
It can also use SendKeys to start and stop the player
SendKeys "[ffplayRectangle1]" "P"
SendKeys "[ffplayRectangle1]" "m"
SendKeys "[ffplayRectangle1]" "{PgDn}"
.
Uploaded files:- You need to login to have access to uploads.
luishp, Vadim and CN_Iceman have reacted to this post.