Vs1053 stopping files
Vs1053 stopping files
Hello I am new in this forum . I am using the vs1053 as a slave for AVR MCU and adafruit library.When I play some files from sd card playing stops at ten seconds( I dont know why at ten second).This is happening only three or four files in a hundred files.I could not find the common feature of this files.Why this error may happen ,thank you
Re: Vs1053 stopping files
1. Which audio format(s) are the files?
2. Does the playback always stop on the same files? Are other files playing more than 10 seconds?
3. Does the playback continue normally from the next file?
4. Is it exactly 10 seconds, or approximately?
2. Does the playback always stop on the same files? Are other files playing more than 10 seconds?
3. Does the playback continue normally from the next file?
4. Is it exactly 10 seconds, or approximately?
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: Vs1053 stopping files
Hi, thank you for response.
1.I am working on only mp3 files.
2.Yes playback stops same files,there is no problem with other files
3. playback just stops.
4.i am reading decodetime. when i select the specific files ,the decode time freezes at tenth second and playback stops.
note: i download the id3 tag reader and sorted music by their bitrates i noticed that the files which stops at tenth second dont have bitrate in their tags.
1.I am working on only mp3 files.
2.Yes playback stops same files,there is no problem with other files
3. playback just stops.
4.i am reading decodetime. when i select the specific files ,the decode time freezes at tenth second and playback stops.
note: i download the id3 tag reader and sorted music by their bitrates i noticed that the files which stops at tenth second dont have bitrate in their tags.
- Attachments
-
- Ekran Görüntüsü (132).png (143.43 KiB) Viewed 3220 times
Re: Vs1053 stopping files
Could you send me one of the failing files to our support at vlsi.fi address?
The files probably do not have an ID3v2 tag. Does your player make use of the ID3 tags in any way?
The files probably do not have an ID3v2 tag. Does your player make use of the ID3 tags in any way?
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: Vs1053 stopping files
no my player not using id3 tags yet, I just noticed the files which i mentioned dont have id3 tags
Re: Vs1053 stopping files
Those files seem to be MP4-AAC files in a DASH container. You should see 'M4' in HDAT1.
The DASH container is the reason why the playback stops after 10 seconds.
We have added code in the vs1063a patches package so that vs1063a will play the DASH files, but I haven't (yet) checked if the same is possible and feasible for vs1053b.
The DASH container is the reason why the playback stops after 10 seconds.
We have added code in the vs1063a patches package so that vs1063a will play the DASH files, but I haven't (yet) checked if the same is possible and feasible for vs1053b.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: Vs1053 stopping files
Thank you, as you said HDAT1 = 0x4d34 . then i will skip those files by checking id3 tags .another question do you think can AVR(max 16Mhz working frequency) handle with flac files.
Re: Vs1053 stopping files
Unfortunately vs1053b doesn't have the same "patch hooks" in the AAC decoder, so supporting DASH files is pretty much out of the question unless you switch to vs1053a.
You'll have to test if flac is possible. It's all about the SPI transfer rates and the latency of the storage you have. If you use SD or uSD, you want to use multiple block read. Or if you use a library function, then it might already support that.
You'll have to test if flac is possible. It's all about the SPI transfer rates and the latency of the storage you have. If you use SD or uSD, you want to use multiple block read. Or if you use a library function, then it might already support that.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook