summaryrefslogtreecommitdiff
path: root/apps/metadata/mp4.c (follow)
Commit message (Collapse)AuthorAge
* Build librbcodec with DSP and metadata.Sean Bartell2012-03-18
| | | | | | All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
* Rename 'mp3entry.embed_albumart' to 'mp3entry.has_embedded_albumart' ↵Alexander Levin2011-12-22
| | | | | | (FS#12470). No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31405 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12009. Add embedded album art support for m4a. Thanks to Jason Yu.Andree Buschmann2011-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29591 a1c6a512-1295-4272-9138-f99709370657
* FS#11964. Rework replaygain handling to save metadata buffer and binsize. ↵Andree Buschmann2011-02-24
| | | | | | Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
* Submit FS11960. Limit metadata item size like done for ID3 tags since r29174.Andree Buschmann2011-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29377 a1c6a512-1295-4272-9138-f99709370657
* Proper initialize dummy destination address to ensure correct functionality ↵Andree Buschmann2011-02-22
| | | | | | for replaygain in mp4 metadata. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29376 a1c6a512-1295-4272-9138-f99709370657
* FS#11920: Do not overwrite already existing metadata and take into account ↵Andree Buschmann2011-02-20
| | | | | | string termination. This can save several bytes of the metadata buffer when tags have multiple entries (e.g. multiple gerne tags) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29349 a1c6a512-1295-4272-9138-f99709370657
* Ensure proper initialization of some variables and arrays in metadata ↵Andree Buschmann2011-02-17
| | | | | | parsing. Fixes FS#11948. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
* Correct the metadata's VBR flag for MP4 files. ALAC is native VBR, AAC very ↵Andree Buschmann2011-02-15
| | | | | | unlikely is CBR. The VBR flag is used by several WPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29313 a1c6a512-1295-4272-9138-f99709370657
* 2nd try: All AAC-HE files will double the frame sample count, not only ↵Andree Buschmann2011-02-15
| | | | | | AAC-HE files with SBR upsampling. This change fixes issues with some m4a files reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29312 a1c6a512-1295-4272-9138-f99709370657
* Undo unwanted commit r29310.Andree Buschmann2011-02-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29311 a1c6a512-1295-4272-9138-f99709370657
* All AAC-HE files will double the frame sample count, not only AAC-HE files ↵Andree Buschmann2011-02-15
| | | | | | with SBR upsampling. This change fixes issues with some m4a files reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29310 a1c6a512-1295-4272-9138-f99709370657
* Changes in m4a parser: The metadata (e.g. sampling rate) for alac and aac ↵Andree Buschmann2011-02-03
| | | | | | must read from their dedicated metadata atom. Otherwise there might be wrong settings used. This patch also adds (commented) code which enables parsing for an alac metadata atom if neccessary. I have several sample files which require such parsing to find the metadata atom. Fixes FS#11719. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29201 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11918: Add 2 more codec types to be able to differentiate between ↵Andree Buschmann2011-02-03
| | | | | | AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
* Find a more consistent and resilient way to handle SBR upsampled files. The ↵Andree Buschmann2011-02-02
| | | | | | detection is only done in one place (the metadata parser) and takes into account that the m4a header might already report corrected frame/sample sizes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29188 a1c6a512-1295-4272-9138-f99709370657
* Recognize AAC-HE SBR with upsampling and correct duration, bitrate, seek and ↵Andree Buschmann2011-02-02
| | | | | | resume behaviour for such files. When SBR upsampling is used the decoder outputs the double amount of samples per frame. As the seek and resume functions do not know about this fact a special handling is introduced. Fixes issues reported in FS#11916. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29186 a1c6a512-1295-4272-9138-f99709370657
* Do not parse into 'ilst' atom if size is 0. Fixes playability issue in FS#11916.Andree Buschmann2011-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29185 a1c6a512-1295-4272-9138-f99709370657
* Add uppercase M4A file type to the mp4 parser. Technically Apple says to ↵Michael Giacomelli2010-08-14
| | | | | | use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27805 a1c6a512-1295-4272-9138-f99709370657
* Second part of FS#10832 by Juliusz Chroboczek. Ignore empty mdat chunks in ↵Michael Giacomelli2010-01-02
| | | | | | mp4 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24148 a1c6a512-1295-4272-9138-f99709370657
* Commit first part of FS#10832 by Juliusz Chroboczek. Allows playback of ↵Michael Giacomelli2010-01-02
| | | | | | unstreamable AAC/ALAC files by stepping through the file to find the index, potientially rebuffering. This is likely to impose a battery life hit on files which are unstreamable and not much smaller then the buffer, but should not impact streamable files at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24147 a1c6a512-1295-4272-9138-f99709370657
* Add support for the MP4 file type 'isom'. Based on FS#10790 with an ↵Magnus Holmgren2009-11-22
| | | | | | additional fix, making the sample file play. Also updated some debug prints. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23708 a1c6a512-1295-4272-9138-f99709370657
* Unify fourcc macro and some style changesNils Wallménius2009-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23664 a1c6a512-1295-4272-9138-f99709370657
* add gapless playback for Nero encoded AAC filesMarcoen Hirschberg2009-10-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22984 a1c6a512-1295-4272-9138-f99709370657
* Change the naming scheme for codecs found in different containers.Mohamed Tarek2009-07-27
| | | | | | | Like changing AFMT_AAC to AFMT_MP4_AAC and AFMT_RAAC to AFMT_RM_AAC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22066 a1c6a512-1295-4272-9138-f99709370657
* Attempt to fix yellow on sims (can't reproduce on my system).Andrew Mahone2009-05-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20954 a1c6a512-1295-4272-9138-f99709370657
* Change the type of read_uint32be to uint32_t and ensure all variables passed ↵Dave Chapman2009-05-15
| | | | | | to that function are also of that type. No functional changes, but makes read_uint32be consistent with the other read_* functions and prevents warning in the upcoming RealAudio metadata parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20950 a1c6a512-1295-4272-9138-f99709370657
* MP4/AAC: Add support for album artist tags written by Foobar2000. Closes ↵Magnus Holmgren2009-01-04
| | | | | | FS#9723. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19669 a1c6a512-1295-4272-9138-f99709370657
* Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. ↵Björn Stenberg2008-10-15
| | | | | | Moved mp3data.c/h from firmware to apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657
* FS#9139 - support for ver 1.1 scrobbler log files. Upload any old files ↵Robert Keevil2008-10-07
| | | | | | first - uploading software may need updating, see the LastFMLog wiki page git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18732 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Added missing header file metadata_parsers.h to metadata parsers.Bertrik Sikken2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17308 a1c6a512-1295-4272-9138-f99709370657
* Moved atoi declaration to stdlib.h. Deleted atoi.hBertrik Sikken2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
* MP4 tag parser: guard against problems when the buffer is full.Magnus Holmgren2007-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15105 a1c6a512-1295-4272-9138-f99709370657
* read_mp4_tag_string() may return a NULL in the pointer so no code should relyDaniel Stenberg2007-10-11
| | | | | | | | | on the pointer being valid unless the return code is checked. This lead to the year_string being accessed with atoi() even when being NULL => crash. This fixes FS#7937. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15080 a1c6a512-1295-4272-9138-f99709370657
* Correct another copyright line.Magnus Holmgren2007-08-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14450 a1c6a512-1295-4272-9138-f99709370657
* Add support for grouping tags. From FS#7362.Dan Everton2007-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14242 a1c6a512-1295-4272-9138-f99709370657
* Fix ID3 struct member name for discnum in mp4 metadata parser.Dan Everton2007-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14155 a1c6a512-1295-4272-9138-f99709370657
* Add support for parsing the disc number tag from metadata and use of it in ↵Dan Everton2007-08-03
| | | | | | the database. Patch originally from FS#4961 with some minor tweaks by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14154 a1c6a512-1295-4272-9138-f99709370657
* MP4: Add support for comment and year tags.Magnus Holmgren2007-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13998 a1c6a512-1295-4272-9138-f99709370657
* MP4: Fix a sign error preventing some files from playing (e.g., if tagged by ↵Magnus Holmgren2007-07-24
| | | | | | MusicBrainz). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13973 a1c6a512-1295-4272-9138-f99709370657
* Add support for text-format genres in .mp4 files (AAC/ALAC).Magnus Holmgren2007-07-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13960 a1c6a512-1295-4272-9138-f99709370657
* Support aART (album artist) MP4 atom.Dan Everton2007-06-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13709 a1c6a512-1295-4272-9138-f99709370657
* split up the metadata parserMarcoen Hirschberg2007-06-16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13637 a1c6a512-1295-4272-9138-f99709370657