I've briefly tried to find the relevant source code on Github, so you could build the files yourself, but it looks like it's moved...
So, attached are the necessary files to add to your 32 bit OS, and thus check that your h264 encoded video clips will play ok on your setup.
Edit your
/boot/config.txt
line to have this very slightly modified line:
dtoverlay=vc4-fkms-v3d
Extract the player application
mmplay
from the compressed files, and place it into say,
~/bin
which you'll need to create first, or anywhere you prefer.
Next extract
vc.tar.xz
into the existing
/opt
folder
You make the system aware of these required files by creating a new file
00-vmcs.conf
inside
/etc/ld.so.conf.d
Edit this
00-vmcs.conf
file, to contain just 1 line:
/opt/vc/lib
Reboot the system, and you can now type in a terminal window,
$ mmplay -h
which gives a short page of help.
Then you can give mmplay a video file name to play.
Because mmplay contains only a dummy reference to an audio codec, playing, for example a h264 encoded mp4 clip which may contain audio too, requires that you tell it to ignore any audio, so for example,
$ mmplay -na test.mp4
mmplay will also display jpeg files, which you might find useful in your project, eg.
$ mmplay test.jpg
Just press the Enter key to dismiss the image.
Oh, the forum attachment process informs me it doesn't like .xz as an extension, so please remove the additional .zip appendage before uncompressing them.
HTH
So, attached are the necessary files to add to your 32 bit OS, and thus check that your h264 encoded video clips will play ok on your setup.
Edit your
/boot/config.txt
line to have this very slightly modified line:
dtoverlay=vc4-fkms-v3d
Extract the player application
mmplay
from the compressed files, and place it into say,
~/bin
which you'll need to create first, or anywhere you prefer.
Next extract
vc.tar.xz
into the existing
/opt
folder
You make the system aware of these required files by creating a new file
00-vmcs.conf
inside
/etc/ld.so.conf.d
Edit this
00-vmcs.conf
file, to contain just 1 line:
/opt/vc/lib
Reboot the system, and you can now type in a terminal window,
$ mmplay -h
which gives a short page of help.
Then you can give mmplay a video file name to play.
Because mmplay contains only a dummy reference to an audio codec, playing, for example a h264 encoded mp4 clip which may contain audio too, requires that you tell it to ignore any audio, so for example,
$ mmplay -na test.mp4
mmplay will also display jpeg files, which you might find useful in your project, eg.
$ mmplay test.jpg
Just press the Enter key to dismiss the image.
Oh, the forum attachment process informs me it doesn't like .xz as an extension, so please remove the additional .zip appendage before uncompressing them.
HTH
Statistics: Posted by tvjon — Tue Aug 20, 2024 12:54 am