Not happy with MCI video commands - Forum

Forum Navigation
VisualNEO Products: Web, Win and PixelNEO
You need to log in to create posts and topics.

Not happy with MCI video commands

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.

It's a very good idea.
I have used it in some applications to convert audio and/or video files.
If you want to download the latest version in 32 or 64 bits you can use this link: https://ffmpeg.zeranoe.com/builds/

Open chat
1
Do you need more info?
Hi, do you have any doubt?