Audio from jit.gl.hap problem , ffmpeg, jit.movie~

Onik Oink's icon

Hi everyone

I am trying to play HD video footage on Jitter using jit.gl.hap and the video part is working very well.

But for my project I would need to get the audio as you can do it with spigot~ or with jit.movie~. I read that I have to install ffmpeg but after I done it, I'm not getting how I can take the audio from hap or how to set up jit.movie~ to do it.

I tried to do jit.movie~ @output texture 1 @engine hap but nothing's changed.

Do you guys have any idea on how to set it up?

Thanks a lot in advance

Stouf's icon

look at this post : https://cycling74.com/forums/jit-gl-haps-movie-sounds-in-max-msp/

Rob Ramirez's icon

you don't need to install any additional libraries, i'm not sure why you thought you needed to install ffmpeg.

simply use jit.movie~ (it will play hap files), don't specify engine (viddll is the only supported engine for jit.movie~), it should play the audio fine if it's a supported audio codec.

if you're having troubles, please send me a link to the video file, and your patch