Hello Benjamin,
I see a couple of options here. Again trying to find the simplest solution
first.
If we drop AVbin and try to wrap FFmpeg directly through ctypes, we could
then start by re-creating the functions from AVbin, but written in pure
Python. This way, the rest of the code from avbin.py should still work.
Another option would be to rewrite AVbin using Cython. But I'm not sure
this will give a real advantage as the C code already exists.
I also noticed this bit in AVbin build.sh:
# Either "libav" or "ffmpeg"
BACKEND=libav
So it seems it is even possible to switch to FFmpeg when compiling AVbin.
Also in avbin.h, the struct AVbinInfo has a member called backend:
/**
* Which backend we are using: "libav" or "ffmpeg"
*/
char *backend;
I'm on Windows, so I cannot build easily AVbin. But it would be interesting
to see if we can build using FFmpeg.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.