Manual: add metadata section (FS#12090 by Andree Buschmann with slight modifications...
[kugel-rb.git] / manual / appendix / file_formats.tex
blob68a7780e63c534e81e584cae73d941a84697a611
1 % $Id$ %
2 \chapter{File formats}
3 \section{\label{ref:Supportedfileformats}Supported file formats}
4 \begin{rbtabular}{\textwidth}{clp{7em}X}%
5 {\textbf{Icon} & \textbf{File Type} & \textbf{Extension}
6 & \textbf{Action when selected}}{}{}
7 \includegraphics[width=0.37cm]{appendix/images/icon-directory.png}
8 & Directory & \emph{none} & Enter the directory \\
9 \opt{recorder,recorderv2fm,ondiofm,ondiosp}{
10 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
11 & Rockbox firmware & \fname{.ajz} & Load the new firmware with ROLO \\
13 \opt{swcodec}{
14 \includegraphics[width=0.37cm]{appendix/images/icon-audio-file.png}
15 & Audio file & \emph{various}\newline%
16 (see \ref{ref:Supportedaudioformats})%
17 % do NOT use \reference{} here as that will break the table.
18 & Start playing the file and show the WPS\\
20 & Bookmark & \fname{.bmark} & Display all bookmarks for an audio file\\
21 \opt{lcd_bitmap}{
22 & Game of Life & \fname{.cells} & Show the configuration with the
23 ``Rocklife'' plugin\\
25 \includegraphics[width=0.37cm]{appendix/images/icon-config.png}
26 & Configuration File & \fname{.cfg} & Load the settings file\\
27 \includegraphics[width=0.37cm]{appendix/images/icon-chip8.png}
28 & Chip8 game & \fname{.ch8} & Play the Chip8 game \\
29 \opt{lcd_color}{
30 & Colours & \fname{.colours} & Open the colours file for editing.
31 See \reference{ref:ChangingFiletypeColours}.\\
33 \includegraphics[width=0.37cm]{appendix/images/icon-cuesheet.png}
34 & Cuesheet & \fname{.cue} & View the cuesheet file \\
35 \opt{radio}{
36 & FM Presets & \fname{.fmr} & Load the FM Presets (previous are discarded)\\
38 \includegraphics[width=0.37cm]{appendix/images/icon-font.png}
39 & Font & \fname{.fnt} & Change the user interface font to this one\\
40 \opt{gigabeat}{
41 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
42 & Rockbox firmware & \fname{.gigabeat} & Load the new firmware with ROLO \\
44 \opt{iaudio}{
45 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
46 & Rockbox firmware & \fname{.iaudio} & Load the new firmware with ROLO \\
48 \opt{ipod}{
49 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
50 & Rockbox firmware & \fname{.ipod} & Load the new firmware with ROLO \\
52 \opt{iriverh100,iriverh300}{
53 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
54 & Rockbox firmware & \fname{.iriver} & Load the new firmware with ROLO \\
56 \includegraphics[width=0.37cm]{appendix/images/icon-image-file.png}
57 & Image & \fname{.jpg} & View the JPEG image \\
58 & Link & \fname{.link} & Display list of target files and directories;
59 selecting one jumps to the target. See \reference{ref:Shortcutsplugin}.\\
60 \includegraphics[width=0.37cm]{appendix/images/icon-lang.png}
61 & Language File & \fname{.lng} & Load the language file \\
62 \includegraphics[width=0.37cm]{appendix/images/icon-playlist.png}
63 & Playlist & \fname{.m3u, .m3u8} & Load the playlist and start playing
64 the first file \\
65 \opt{iriverh10,iriverh10_5gb,sansa,vibe500}{
66 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
67 & Rockbox firmware & \fname{.mi4} & Load the new firmware with ROLO \\
69 \opt{player}{
70 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
71 & Rockbox firmware & \fname{.mod} & Load the new firmware with ROLO \\
73 \opt{masd,masf}{
74 \includegraphics[width=0.37cm]{appendix/images/icon-audio-file.png}
75 & Audio file & \fname{.mp2, .mp3} & Start playing the file and show the WPS\\
77 \opt{swcodec}{
78 \includegraphics[width=0.37cm]{appendix/images/icon-movie-file.png}
79 & Video & \fname{.mpg, .mpeg, .mpv, .m2v} & Play the MPEG1/2 video \\
81 \includegraphics[width=0.37cm]{appendix/images/icon-rock.png}
82 & Plugin & \fname{.rock} & Start the plugin\\
83 \opt{masf}{\opt{lcd_bitmap}{
84 \includegraphics[width=0.37cm]{appendix/images/icon-movie-file.png}
85 & Rockbox Video & \fname{.rvf} & View the movie (Rockbox format)\\}
87 \opt{sansaAMS}{
88 \includegraphics[width=0.37cm]{appendix/images/icon-rolo.png}
89 & Rockbox firmware & \fname{.sansa} & Load the new firmware with ROLO \\
91 \includegraphics[width=0.37cm]{appendix/images/icon-text.png}
92 & Text File & \fname{.txt} & Display the text file using the text viewer plugin\\
93 \opt{archos}{
94 \includegraphics[width=0.37cm]{appendix/images/icon-ucl.png}
95 & Flash Image & \fname{.ucl} & Flash the Rockbox image into the ROM \\
97 & Voice file & \fname{.voice} & Allow Rockbox to speak menus\\
98 \opt{masf}{
99 \includegraphics[width=0.37cm]{appendix/images/icon-wav-file.png}
100 & Wave Audio File & \fname{.wav} & Play the WAV file \\%
102 \includegraphics[width=0.37cm]{appendix/images/icon-wps.png}
103 & While Playing Screen & \fname{.wps} & Load the new WPS display configuration\\
104 \end{rbtabular}
106 \opt{swcodec}{
107 \section{\label{ref:Supportedaudioformats}Supported audio formats}
108 \subsection{Lossy Codecs}
109 \begin{rbtabular}{\textwidth}{lp{6em}X}%
110 {\textbf{Format} & \textbf{Extension} & \textbf{Notes}}{}{}
111 ATSC A/52 & \fname{.a52, .ac3} & Supports downmixing for playback of 5.1 streams in stereo. \\
112 ADX & \fname{.adx} & \\
113 Advanced Audio Coding & \fname{.m4a, .m4b, .mp4} & \\
114 MPEG audio & \fname{.mp1, .mpa, .mp2, .mp3} & \\
115 Musepack & \fname{.mpc} & Supports SV7 and SV8 in mono/stereo \\
116 OGG/Vorbis & \fname{.ogg, .oga} & Playback of some old ``floor 0'' files may fail. \\
117 Sony Audio & \fname{.oma, .aa3} & \\
118 RealAudio & \fname{.rm, .ra, .rmvb} & \\
119 Speex & \fname{.spx} & \\
120 Dialogic telephony type & \fname{.vox} & \\
121 Windows Media Audio Standard & \fname{.wma, .wmv, .asf} & \\
122 Windows Media Audio Professional & \fname{.wma, .wmv, .asf} & \\
123 \end{rbtabular}
125 \subsection{Lossless Codecs}
126 \begin{rbtabular}{\textwidth}{lp{6em}X}%
127 {\textbf{Format} & \textbf{Extension} & \textbf{Notes}}{}{}
128 Audio Interchange File Format & \fname{.aif, .aiff} & AIFF supports following formats: \\
129 & & linear pcm 8/16/24/32 bit. \\
130 & & IEEE float 32/64 bit\\
131 & & ITU-T G.711 a-low/$\mu$-low\\
132 & & QuickTime IMA ADPCM\\
133 \opt{gigabeatf,iriverh100,iriverh300,iaudiox5,iaudiom5,iaudiom3,ipodnano2g,clipv1}{
134 Monkey's Audio & \fname{.ape, .mac} & -c1000 to -c3000
135 files decode fast enough to be useful.}
136 \opt{gigabeats}{
137 Monkey's Audio & \fname{.ape, .mac} & }
138 \nopt{ipodnano2g}{
139 \opt{ipod,iriverh10,iriverh10_5gb,mrobe100,sansa,vibe500}{
140 Monkey's Audio & \fname{.ape, .mac} & Only -c1000 files decode fast
141 enough to be useful.}
144 Sun Audio & \fname{.au, .snd} & Sun Audio supports following formats: \\
145 & & linear pcm 8/16/24/32 bit. \\
146 & & IEEE float 32/64 bit\\
147 & & ITU-T G.711 a-low/$\mu$-low\\
148 Free Lossless Audio & \fname{.flac} & \\
149 Apple Lossless & \fname{.m4a, .mp4} & \\
150 Shorten & \fname{.shn} & Seeking not supported.\\
151 True Audio & \fname{.tta} & \\
152 Wave64 & \fname{.w64} & Wave/Wave64 supports following formats: \\
153 Waveform audio format & \fname{.wav} & linear pcm 8/16/24/32 bit. \\
154 & & IEEE float 32/64 bit\\
155 & & ITU-T G.711 a-low/$\mu$-low\\
156 & & Microsoft ADPCM\\
157 & & Intel DVI ADPCM(IMA ADPCM) 2/3/4/5 bit\\
158 & & Dialogic OKI ADPCM\\
159 & & YAMAHA ADPCM\\
160 & & Adobe SWF ADPCM\\
161 Wavpack & \fname{.wv} & \\
162 \end{rbtabular}
164 \subsection{Other Codecs}
165 \begin{rbtabular}{\textwidth}{lp{6em}X}%
166 {\textbf{Format} & \textbf{Extension} & \textbf{Notes}}{}{}
167 Atari Sound Format & \fname{.cmc, .cm3, .cmr, .cms, .dmc, .dlt, .mpt, .mpd} & \\
168 Synthetic music Mobile Application Format & \fname{.mmf} & Supports PCM/ADPCM only \\
169 MOD & \fname{.mod} & \\
170 NES Sound Format & \fname{.nsf, .nsfe} & \\
171 Atari SAP & \fname{.sap} & \\
172 Sound Interface Device & \fname{.sid} & \\
173 SPC700 & \fname{.spc} & \\
174 \end{rbtabular}
176 \section{\label{ref:SupportedMetadata}Supported metadata tags}
177 Rockbox supports different metadata formats. In general those tag formats
178 are ID3 (v1 and v2), APE (v1 and v2), Vorbis, MP4 and ASF. Few codecs use
179 codec specific tags, several codecs do not use any tags yet. The following
180 table gives an overview about what tag types rockbox supports for which
181 audio file extension.
183 \note{There is always only \emph{one} tag type supported for each file
184 extension.}
186 \begin{rbtabular}{\textwidth}{lX}%
187 {\textbf{Extension} & \textbf{Tag type}}{}{}
188 \fname{.mp1}, \fname{.mpa}, \fname{.mp2}, \fname{.mp3},
189 \fname{.rm}, \fname{.ra}, \fname{.rmvb}, \fname{.tta} & ID3 \\
190 \fname{.mpc}, \fname{.ape}, \fname{.mac}, \fname{.wv} & APE \\
191 \fname{.ogg}, \fname{.oga}, \fname{.spx}, \fname{.flac} & Vorbis \\
192 \fname{.m4a}, \fname{.m4b}, \fname{.mp4} & MP4 \\
193 \fname{.wma}, \fname{.wmv}, \fname{.asf} & ASF \\
194 \fname{.mmf}, \fname{.mod}, \fname{.nsf}, \fname{.nsfe},
195 \fname{.sap}, \fname{.sid}, \fname{.spc} & Codec specific \\
196 \fname{.a52}, \fname{.ac3}, \fname{.adx}, \fname{.oma},
197 \fname{.aa3}, \fname{.aif}, \fname{.aiff}, \fname{.au} & None \\
198 \fname{.snd}, \fname{.shn}, \fname{.vox}, \fname{.w64},
199 \fname{.wav}, \fname{.cmc}, \fname{.cm3}, \fname{.cmr} & None \\
200 \fname{.cms}, \fname{.dmc}, \fname{.dlt}, \fname{.mpt},
201 \fname{.mpd} & None \\
202 \end{rbtabular}