m4a issues

Lukáš Lalinský lalinsky at gmail.com
Tue Jun 14 06:37:34 CEST 2011


On Tue, Jun 14, 2011 at 1:13 AM, Kyle <gonemad at gmail.com> wrote:
> however my issue is on the android os.  I took the code from the sample and
> put it into mine.. only changing the way of output (android log instead of
> cout) and the result is all blacks
>
> 06-13 22:58:34.975: INFO/NDK(4986): ********************
> 06-13 22:58:34.975: INFO/NDK(4986): /mnt/sdcard/aac-test.m4a
> 06-13 22:58:34.975: INFO/NDK(4986): ********************
> 06-13 22:58:35.155: INFO/NDK(4986): -- TAG --
> 06-13 22:58:35.155: INFO/NDK(4986): title   -
> 06-13 22:58:35.155: INFO/NDK(4986): artist  -
> 06-13 22:58:35.155: INFO/NDK(4986): album   -
> 06-13 22:58:35.165: INFO/NDK(4986): comment -
> 06-13 22:58:35.165: INFO/NDK(4986): genre   -
> 06-13 22:58:35.165: INFO/NDK(4986): -- AUDIO --
>
> Using an mp4file instead of fileref i get this
>
> 06-13 23:12:02.844: INFO/NDK(5340): ********************
> 06-13 23:12:02.844: INFO/NDK(5340): /mnt/sdcard/aac-test.m4a
> 06-13 23:12:02.844: INFO/NDK(5340): ********************
> 06-13 23:12:02.934: INFO/NDK(5340): -- TAG --
> 06-13 23:12:02.945: INFO/NDK(5340): title   -
> 06-13 23:12:02.945: INFO/NDK(5340): 2011-03-25T07:00:00Z
> 06-13 23:12:02.945: INFO/NDK(5340): artist  -
> 06-13 23:12:02.945: INFO/NDK(5340): 2011-03-25T07:00:00Z
> 06-13 23:12:02.945: INFO/NDK(5340): album   -
> 06-13 23:12:02.954: INFO/NDK(5340): 2011-03-25T07:00:00Z
> 06-13 23:12:02.954: INFO/NDK(5340): comment -
> 06-13 23:12:02.954: INFO/NDK(5340): 2011-03-25T07:00:00Z
> 06-13 23:12:02.954: INFO/NDK(5340): genre   -
> 06-13 23:12:02.954: INFO/NDK(5340): 2011-03-25T07:00:00Z
> 06-13 23:12:02.954: INFO/NDK(5340): -- AUDIO --

This looks like it's failing to load the file, then you are ignoring
some check and then it's trying to print uninitialized strings. I
don't know what would be wrong, you will probably have to do some
debugging to see at which point it decides that it doesn't know about
the file format.

Lukas


More information about the taglib-devel mailing list