Author Topic: How to play video with BASS?  (Read 413 times)

adrenl

  • Posts: 3
How to play video with BASS?
« on: 23 Jul '23 - 03:16 »
Hello, I want to add video support to my program with BASS, what should I do? What library should I use?
Thank you.
« Last Edit: 24 Jul '23 - 12:22 by adrenl »

MB_SOFT

  • Posts: 459
Re: How to play video with BASS?
« Reply #1 on: 26 Jul '23 - 07:49 »
me i play audio with bass and video with libvlc   this is the result https://wz3.newradio.it:8080/public/9052

i keep the video in sync with audio with imperceptible video rate changes but if you want you can use a callback from libvlc that will give you raw audio samples to push to a bass push stream

alternatively you can use libmpv if it's more easy for you


adrenl

  • Posts: 3
Re: How to play video with BASS?
« Reply #2 on: 26 Jul '23 - 08:35 »
Thank you.
But these libraries are a bit large. Do you have a more portable library?

MB_SOFT

  • Posts: 459
Re: How to play video with BASS?
« Reply #3 on: 26 Jul '23 - 15:20 »
you can try also this https://www.un4seen.com/forum/?topic=14431.0 it's bugged but can do simple jobs