How to get the sketch to play sound from videos on Ubuntu 16.04 LTS, 64 bits

edited June 2016 in Library Questions

Hello

I am using Processing 3 on a 64-bit Ubuntu distribution. When I load videos, using the Movie class from the Video library, there is no sound. I set 'video.volume(1);', and still there is no sound. On Windows 10, the video loads correctly, with sound, but I would like to use Linux, because I was unable to get Android mode to work on Windows and I got it to work on Linux. Please note that the sketch loads and plays the video on Linux, the only problem is the sound is not loaded.

Thanks.

Tagged:

Answers

  • I have realized that also SoundFile does not work. It shows an error that says " Note: Illegal Audio-MPEG-Header 0x2b85fa58 at offset 2798025. Note: Trying to resync... Note: Skipped 4 bytes in input. Note: Illegal Audio-MPEG-Header 0x8a80044c at offset 2818404. Note: Trying to resync... Note: Skipped 64 bytes in input. "

    otherwise (with a very small file), it behaves as if it is working, but there is no sound.

    Both mp3 files tested are playing normally in VLC and RhythmBox.

Sign In or Register to comment.