Manevolent / ffmpeg4j

A Java OOP FFmpeg wrapper around the JavaCPP FFmpeg native library bindings
Apache License 2.0
105 stars 15 forks source link

Does not start in Linux (Debian) environment. #3

Closed ElektronikerDev closed 4 years ago

ElektronikerDev commented 4 years ago

Hello, as soon as I try to execute the code in Debian the following message appears and nothing happens after that. On Windows there are no problems. No matter which format: mp3, mp4 etc...

[mp3 @ 0x7f42207360c0] invalid concatenated file detected - using bitrate for duration
Input #0, mp3, from '':
  Metadata:
    genre           : Cinematic
    album           : YouTube Audio Library
    title           : Impact Moderato
    artist          : Kevin MacLeod
  Duration: N/A, start: 0.034531, bitrate: 224 kb/s
    Stream #0:0: Audio: mp3, 32000 Hz, stereo, s16p, 224 kb/s
    Metadata:
      encoder         : LAME3.99r

I am trying to play the following MP3: https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_700KB.mp3 I have followed this code: https://github.com/Manevolent/ts3j/blob/master/examples/audio/src/main/java/com/github/manevolent/ts3j/examples/audio/MusicPlayer.java

I also installed ffmpeg on my server. Whether installed or not makes no difference.