You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title was: Perhaps the FFMPEG / AVBIN plugin can play sound while streaming?
But ffmpeg is an encoder/decoder, not a sound/video player. So perhaps using sdl2, or something else that can play audio. Synchronization may be an issue. Also, we could argue whether this is at all within the scope of imageio. Would be cool though.
Probably leave as-is until the a demand for this ...
The text was updated successfully, but these errors were encountered:
almarklein
changed the title
Maybe the FFMPEG / AVBIN plugin can play sound while streaming?
Support for playing sound during playing movie files
Nov 6, 2014
Hey ! MoviePy has a method clip.preview() which plays the video and sound using Pygame (so, SDL). It works pretty well, but the implementation is a little complicated, I use 2 threads (audio/video) and an ad-hoc buffer system for the audio. Some users couldn't install Pygame. Is there already a video preview in ImageIO ?
No, there is no video preview in imageio. My idea is to make the examples make use of Vispy as soon as it has the required functionality to show images, movies and volumes. On the long term, it might be worth looking into a solution for images and video that does not depend on Numpy.
Yeah, I've heard pygame can be a tough dependency. What about pyglet?
Title was: Perhaps the FFMPEG / AVBIN plugin can play sound while streaming?
But ffmpeg is an encoder/decoder, not a sound/video player. So perhaps using sdl2, or something else that can play audio. Synchronization may be an issue. Also, we could argue whether this is at all within the scope of imageio. Would be cool though.
Probably leave as-is until the a demand for this ...
The text was updated successfully, but these errors were encountered: