Skip to content

Audio Example #49

@melliiii

Description

@melliiii

Heii there,

im trying to run the example you provided in this project but i get this exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'opus': The specified module could not be found.

	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:145)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:188)
	at net.tomp2p.opuswrapper.Opus.<clinit>(Opus.java:24)
	at de.affenbande.audio.OpusEncoder.<init>(OpusEncoder.java:68)
	at de.affenbande.audio.OpusEncoder.<init>(OpusEncoder.java:39)
	at de.affenbande.audio.TeamspeakFastMixerSink.openOpusEncoder(TeamspeakFastMixerSink.java:206)
	at de.affenbande.audio.TeamspeakFastMixerSink.start(TeamspeakFastMixerSink.java:255)
	at de.affenbande.audio.MusicPlayer.main(MusicPlayer.java:89)
[mp3 @ 000001ec0e82b400] Skipping 1 bytes of junk at 0.
Input #0, mp3, from '':
  Duration: N/A, start: 0.000000, bitrate: 112 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 112 kb/s

Process finished with exit code 1

i edited the pom.xml as the hash you put as the version for FFMpeg4j couldnt be found by maven. the latest version didnt take an inputstream as an input for FFmpegInput, only FFmpegIO, but i didnt know how to convert it. So i put in version 4.1-1.4.4

Any help would be appreciated ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions