Here's the next Release of 'FFPlay4Laz2' (first fully-featured ConsoleVersion with SDL v2):'FFPlay4Laz' is a portable, easy-to-use, ultrafast and highly responsive Lightestweight-Mediaplayer and -Engine
(no Installation needed, all in all
only 88MB on Disk with all Codecs, runs from any Drive).
It renders all Audio- & VideoFormats supported by FFmpeg (
http://ffmpeg.org/general.html), optionally with
outstanding, low-Latency PortAudio-Sound (
www.portaudio.com).
The currently used FFmpeg-Version is still v4.0.2 => current FFPlay4Laz-Version is
v2.4.0.2.
'FFPlay4Laz
v2' does the same as its Predecessor
'FFPlay4Laz v1', but
better & faster with some more PlayerFeatures added - in Detail...
> The entire PlayerCode has been
updated to SDL2 - For Differences to SDL1, see
"SDL vs. SDL2":
https://forum.lazarus.freepascal.org/index.php/topic,42698.msg376063.html#msg376063,
and especially the
'SDL 1.2 to 2.0 Migration Guide':
https://wiki.libsdl.org/MigrationGuide -> GoTo
"Overview of new features - These are the most important new features in SDL 2.0".
-> Briefly spoken:
- better Fullscreen-Support
- better VideoQuality with less CPU-Load through Hardware-accelerated, Texture-based VideoRendering
- better SDL-AudioQuality through 32-bit Audio (int and float)
- many PlayerFeatures are much easier to implement with a little Help of 'SDL2', e.g.
the whole WindowManagement and Touch-Support.
-> Simply spoken: The entire Player runs
better, smoother & faster.> Tested with FFmpeg v4.0 + v4.1.5 and SDL v2.0.7 - v2.0.18 on WinXP SP3, Win7 and Win10.
> Edited:
- Open/Close the Player and Resizing the Videoimage within the SDL-Window were optimized
- Pause/Resume (<Space>, <p>) is even more responsive, now (as good as no Lag, at all)
- Seeking (<s>) and in particular Seeking PAUSED, as well as
Opening PAUSED have been speeded up.
> Added:
- Optionally
block a ScreenSaver, while the Player is running
- Optionally
StayOnTop for the ConsoleVersion, too ('FFPlay4Laz1' did it only for the GUI)
-
Internet-Support (only Play and Pause/Resume, no Seeking)
-
Videoframe-Dropping to make highly compressed Videos playable on old PCs with slow CPUs
-
AutoPause additionally pauses/resumes OnMinimize/OnRestore
- horizontal/vertical
Flip (<h>) and continuous
Rotation (<r>) of the Videoimage
- Seeking in
MJPEG-Files (= Motion JPEGs), too (was not implemented in 'FFPlay4Laz1' yet)
- All
Videoimage-Manipulations (= X/Y-Shift/AspectRatio/Zoom/Flip/Rotation) are exposed in
the
Snapshots (<F2>), so that even shifted/zoomed/flipped/rotated Videoimages can be
copied & saved to ImageFiles.
-
Touch-Support:
Beside the system-immanent Touchscreen-Functions (= Move/Resize, Minimize/Maximize, Close), currently
Pause/Resume (tap once) and toggle between a bordered/borderless SDL-Window (tap twice) are available
via Fingertouch - More Touch-Functions, like Seeking, Volume, Move&Zoom the Videoimage are projected.
> Known Issues:
See
"Known Bugs..." in 'README_Known Issues (Dec. 2021).txt'.
> Projected:
See
"ToDos/Projected..." in 'README_Known Issues (Dec. 2021).txt'.
Attached 'FFPlay4Laz2_Images.pdf' shows:
- The Player's Console, Opening a mp4- and a MPEG-File, within typical OpeningTimes of about 200-300Ms
on my old WinXP-PC (= an INTEL Pentium DualCore 1,60GHz, 2 GB RAM + INTEL-GPU + SoundBlaster Audigy).
The mp4-File is opened Playing with
PortAudio+ASIO for maximal Sound with minimal Latency.
The MPEG-File is opened Paused with SDL-Audio, which is an AudioOutput, that should work on every PC.
- Next to it on the right, the FFPlay4Laz2-Folder with all required Files for FFmpeg, SDL2 and PortAudio.
- Below, the Player's Videoscreen with diverse BorderColors, bordered(= resizable)/borderless SDL-Windows, and
some Videoimage-Manipulations (= continuous X/Y-Shift/AspectRatio/Zoom, horizontal/vertical Flip, Rotation).
Attached 'FFPlay4Laz2_Files.7z' contains
all Files for the FFPlay4Laz2-Win32-ConsolePlayer, with
out Dependencies (= the FFmpeg-, SDL2- and PortAudio-DLLs).
There are two Executables enclosed: One compiled with ConsoleWindow, the other one without.
Get started with the one with ConsoleWindow, because it always shows Infos & Instructions for the User
-> No Helpfile needed.
See the
README-Files 'PlayerFunctions' and 'PlayerOptions' for all currently implemented PlayerFeatures.
Have Fun with superior Sound, and
Merry X-Mas to all Lazarus-User !