Hello,
I'm writing a gem_film plugin using FFMPEG libraries, and expect to
write a record and a video plugin with same libraries.
The plugin is able to open and render correctly many video files, but I
couldn't find a way to seek those files.
When a file is opened, if thread message is set to '1', the cpu meter
goes to 100%, and the seeking process is almost working.
If thread message is set to '0' the cpu is almost not working and the
video file is rendered until the end.
…
[View More]I don't really understand how the film object is managed by the thread
functions, so I couldn't go further with this code.
Attached is the .cpp and it's header file if someone could give any help.
[View Less]
Hi,
I wrote an object based on gemframbuffer that uses libmpv (https://mpv.io/)
to decode a video file and output it directly to a texture.
This circumvent the bottleneck of uploading the pixes to the GPU and
provides a wide range of codecs to Gem (if MPV can play your video, then
gem-mpv can too).
This have been successfully tested with 4K HAP video on Linux.
It also supports video with alpha channel.
The source code is here : https://github.com/avilleret/gem-mpv
The build system is CMake, …
[View More]there is no binary release.
Follow the Readme to build it.
It has been only tested on Linux for now.
Inside, it's more or less a wrapper around libmpv, that means every
properties and commands should be supported but only few have been tested
yet.
Some are documented in the help file, for the others, please refer to
libmpv help : https://mpv.io/manual/stable/
Best regards
Antoine
[View Less]
Hello,
I'm attempting to add a ffmpeg film plugin with a windows 64 machine...
First I'd like to thank umläute about this wiki page:
https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-Microsoft-Windows-…
It seems mingw packages has some improvements since this howto has been
written...
$ pacman -Ss ftgl
mingw32/mingw-w64-i686-ftgl 2.4.0-1 [installé]
OpenGL library to use arbitrary fonts (mingw-w64)
Unfortunately 'mingw64/mingw-w64-x86_64-ffmpeg' package doesn'…
[View More]t provide
a working version of ffmpeg yet, so
I'm trying out with mingw32...
Anyway in both version I'm trying to get VLC plugin working first with
mingw VLC packages, in mingw64 the VLC plugin loads during pd starting,
but is disabled when [pix_video] is loaded. I don't why it is disabled...
And in mingw32 the VLC plugin doesn't load at pd starting because runDLL
don't find some vlc libs.
After installing Gem, I go to pd/extra folder and add all the
depencies with this bash script:
#!/bin/bash
echo "Looking in mingw for DLL dependencies"
for GEM_DLL in $(ls *.dll)
do
echo "looking into" $GEM_DLL
for DLL in $(ntldd -R $GEM_DLL)
do
if [[ $DLL == *mingw* ]]; then
for DLL_DEP in $(ntldd -R $DLL)
do
if [[ $DLL_DEP == *mingw* ]]; then
FILE=Gem/$(basename $DLL_DEP)
if [ ! -f "$FILE" ]; then
echo "copying:" $DLL_DEP
cp $(cygpath -u $DLL_DEP) Gem
fi
fi
done
FILE=Gem/$(basename $DLL)
if [ ! -f "$FILE" ]; then
cp $(cygpath -u $DLL) Gem
echo "copying" $DLL
fi
fi
done
done
FFMPEG and VLC dependencies seems to be added to along Gem.dll but
runDLL couldn't find modules at pd starting, while other libs like
libassimp3 or libjpeg or libtiff are loaded.
I'm probably missing something somewhere...
Do I need to compile VLC and FFMPEG to get them working in pd?
[View Less]