Author Topic: some mp3 file is not playable.  (Read 296 times)

Lignuz

  • Posts: 14
some mp3 file is not playable.
« on: 22 Feb '18 - 05:36 »
Hi, I have some mp3 audio files that can not be played properly using BASS.
(file links are available until 2018.03.24)

http://attach.mail.daum.net/bigfile/v1/urls/d/a7HV_HuD6lxC80CHukLyy-XzhgM/vDvYJgY0Z5WPnPCy2IZpaw
This file is not playable.
BASS_StreamCreateFile() returns 41 that means "unsupported file format"

http://attach.mail.daum.net/bigfile/v1/urls/d/ma2NcrlLRP-8ZtUdPuxHuuylyqo/vDvYJgY0Z5UiMXrcjp03Aw
This file is playable but at the point of 1:11 it callbacks BASS_SYNC_END sync event.
Seeking the point of after 1:35 is OK, but between 1:11 and 1:35 is also callbacks BASS_SYNC_END sync event.
The file has some broken data, but when I tried using old version of BASS.dll (eg. 2.4.10.0 - 2013) not stopped until the end of the media.


Check these files and notify me the answers.
Thanks!

dieppa

  • Posts: 27
Re: some mp3 file is not playable.
« Reply #1 on: 22 Feb '18 - 10:52 »
Hi,

I have downloaded both songs. I have an Android implementation of BASS and I could play the first song with no problem, very nice song by the way. The second one called BASS_SYNC_END at 1:11 just as you said. I have played the song using Windows Media Player and VLC on Windows and Android, there's something wrong with the track at that time, where BASS and even Android MediaPlayer interpret as end of the track.
« Last Edit: 22 Feb '18 - 10:55 by dieppa »

Ian @ un4seen

  • Administrator
  • Posts: 20836
Re: some mp3 file is not playable.
« Reply #2 on: 22 Feb '18 - 15:18 »
The 1st file is playing fine here. The 2nd file stops at 1:11 because there is a large block of junk at that point in the file. BASS currently ends an MP3 file early if it goes over 1MB of data without finding a valid frame header. I will look into raising that limit.

Lignuz

  • Posts: 14
Re: some mp3 file is not playable.
« Reply #3 on: 23 Feb '18 - 01:44 »
I tried these tests on windows platform.
In my case, BASS24 default project application(custloop.exe, basstest.exe ...)  also returns the same result on the 1st file.

My bass.dll version is 2.4.12.24 and I attached this file and captured error notification image.

Thanks!

Ian @ un4seen

  • Administrator
  • Posts: 20836
Re: some mp3 file is not playable.
« Reply #4 on: 26 Feb '18 - 15:18 »
Oh right, in the 1st file's case, you will need to raise the BASS_CONFIG_VERIFY setting to around 50000 or above. The file has over 40KB of junk between its ID3v2 tags and MP3 data, while BASS will only search 16000 by default.