Several videos in the same application
Posted: 21 Jan 2013 15:50
Hello there,
I need to open several windows playing videos in a c++ ms-windows application, allowing the user to control each of them (play/pause location etc...)
As a simple test I created a window, created 4 media_player instances (libvlc_media_player_new), assigned each of them to a window (libvlc_media_player_set_hwnd), and played all 4 videos.
The result was that the CPU was exploding... is there a better way to do this? is there any limitation on the number of videos that can be played concurrently?
Thanks!
I need to open several windows playing videos in a c++ ms-windows application, allowing the user to control each of them (play/pause location etc...)
As a simple test I created a window, created 4 media_player instances (libvlc_media_player_new), assigned each of them to a window (libvlc_media_player_set_hwnd), and played all 4 videos.
The result was that the CPU was exploding... is there a better way to do this? is there any limitation on the number of videos that can be played concurrently?
Thanks!