omxplayer can't play specific mp3 file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

omxplayer can't play specific mp3 file

跳至解决方案
2,417 次查看
allen_kim1
Contributor I

Dear Community

 

we have a problem  playing mp3  ( android 5.1.1-2.1.0 GA , imx6dl sabresd board ) on omxplayer

 

Some specific mp3 file cannot play on omxplayer  

i read mp3 file on mp3tag program(http://www.mp3tag.de/en/)  and just save it without modify tag vale http://www.mp3tag.de/en/

andthen that mp3 file can play on omxplayer 

 

174378_174378.pngpastedImage_7.png

attached file 

no_play.txt  :  cannot play 001(AKB48)XXXXX.mp3 ( issue.mp3  on above picture ) --> android display "The player doesn't support this type of audio file"

play.txt : can play 001(AKB48)XXXX_play_OK.mp3 ( issue_tagsaved.mp3 on above picture )

 

mp3tag program 

 

174379_174379.pngpastedImage_8.png

 

we read mp3 file and save without modify tag value   -> 001(AKB48)XXXX_play_OK.mp3

 

 

i checked omxplayer source(device/fsl-codec/ghdr/common/fsl_parser.h) , there are comment about all strings in the stream  should be utf-8

 

please guide some point about this issue

 

 

Thanks BR

Original Attachment has been moved to: play.txt.zip

Original Attachment has been moved to: no_play.txt.zip

标记 (2)
0 项奖励
回复
1 解答
1,869 次查看
king_jin
NXP Employee
NXP Employee

Hi, I compared 001(AKB48)XXXX_play_OK.mp3 with 001(AKB48)XXXX.mp3, the id3 data in the two files are different, eg. the id3 flag. That's why the playback of the two files are different.
For 001(AKB48)XXXX.mp3, the issue comes from id3 parser. parser takes to much time to parse the tag, it can play after I optimised it. Please use lib_mp3_parser_arm11_elinux.3.0.so to test again.

Regards

King

在原帖中查看解决方案

2 回复数
1,870 次查看
king_jin
NXP Employee
NXP Employee

Hi, I compared 001(AKB48)XXXX_play_OK.mp3 with 001(AKB48)XXXX.mp3, the id3 data in the two files are different, eg. the id3 flag. That's why the playback of the two files are different.
For 001(AKB48)XXXX.mp3, the issue comes from id3 parser. parser takes to much time to parse the tag, it can play after I optimised it. Please use lib_mp3_parser_arm11_elinux.3.0.so to test again.

Regards

King

1,869 次查看
allen_kim1
Contributor I

Thanks King

it works

0 项奖励
回复