Hello,

Just a little update on my endeavour in binding FFmpeg with ctypes.

After hours of work, I finally managed to have a working video and sound! 
But there are still tons of problems I need to fix. For instance, one mp4 
video just freezes. I need to find out what's the problem.

The good news is that I managed for the audio to play also planar audio 
format, which was not yet supported by AVbin (see here 
<https://github.com/AVbin/AVbin/blob/master/src/avbin.c#L371>). I had no 
idea what it was, but I found out that this format is used more and more 
with the more recent videos / audios. Or at least, this is my understanding.

My main problem now is that the video does not stop at the end. I'm still 
investigating. If I play only a sound, it stops correctly. But as soon as 
there's a video, the Video Thread wants more video packet and the whole 
program freezes.

I'm not ready yet to give out any code. It still needs a lot of clean-up. 
Besides this only works on Windows, as I have currently hard-coded the 
*.dll names. This will need to be changed obviously.

I thought you might like to hear that something is going in the right 
direction. :)

-- 
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 pyglet-users+unsubscr...@googlegroups.com.
To post to this group, send email to pyglet-users@googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to