annotate metadata.h @ 27148:858c01b81117

r26502: Document rgbtest arguments r26057: Fix copy&paste typo in rgbtest documentation r26198: Grayscale encoding/decoding with FFmpeg is no longer enabled, remove references r26221: Try to fix the description of what mbcmp influences, please fix if I misunderstood the code. r26231: better syntax for A key r26232: added missing escapes r26260: Experimental support for -framedrop with -correct-pts. r26271: Mention that '-frames 0' is useful with -identify, closes bug #1046. r26273: add "ipod" to the list of formats handled by lavf r26297: compacted new libavformat's 'ipod' description r26402: Enable runtime control for colorful and/or module name output r26427: Restore grayscale decoding support with FFmpeg. r26449: 10L, forgot to commit the documentation for the -noconfig options. r26460: restore options alphabetical order r26650: Update documentation for the gl2 driver to make clear gl is usually preferred. r26674: add h264 to list of supported codecs r26732: Mark new options Michael committed as undocumented. r26739: Oops, remove stray .TP. r26749: -psprobe can be used in mpeg-pes streams, too r26762: Add a new suboption to -vo xv and -vo xvmc that allows selection r26763: Remove '(pass 1/2)' from some lavcopts. These options really worked on r26795: Add support for AppleIR Remote as an input under Linux systems. r26798: Document the -noar command-line option in en/fr manpages. r26806: Document x264's AQ options r26853: Update gl vo section with the new force-pbo suboption. r26909: Add a slave command to stop stream playback. r26979: small spelling/wording fixes r26986: Document VIDIXIVTVALPHA environment variable. r26997: Fix codec-specific options syntax declaration to be less confusing and wrong. r27057: Ability for specifying TV standard individually for each TV channel. r27132: Fix/restore the description of the rectangle video filter. previously applied: r27169: add missing escapes and full stops for scaletempo filter r27179: remove two trailing whitespaces
author kraymer
date Mon, 30 Jun 2008 19:35:45 +0000
parents 0f42fb42843c
children 32725ca88fed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
1 /*
26743
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
2 * set of helper routines for stream metadata and properties retrieval
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
3 *
26743
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
4 * Copyright (C) 2006 Benjamin Zores
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
5 *
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
6 * This file is part of MPlayer.
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
7 *
26743
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
8 * MPlayer is free software; you can redistribute it and/or modify
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
9 * it under the terms of the GNU General Public License as published by
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
11 * (at your option) any later version.
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
12 *
26743
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
13 * MPlayer is distributed in the hope that it will be useful,
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
16 * GNU General Public License for more details.
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
17 *
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
18 * You should have received a copy of the GNU General Public License along
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
0f42fb42843c Use standard license headers with standard formatting.
diego
parents: 26029
diff changeset
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
21 */
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
22
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23689
diff changeset
23 #ifndef MPLAYER_METADATA_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23689
diff changeset
24 #define MPLAYER_METADATA_H
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
25
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
26 typedef enum metadata_s metadata_t;
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
27 enum metadata_s {
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
28 /* common info */
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
29 META_NAME = 0,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
30
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
31 /* video stream properties */
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
32 META_VIDEO_CODEC,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
33 META_VIDEO_BITRATE,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
34 META_VIDEO_RESOLUTION,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
35
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
36 /* audio stream properties */
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
37 META_AUDIO_CODEC,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
38 META_AUDIO_BITRATE,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
39 META_AUDIO_SAMPLES,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
40
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
41 /* ID3 tags and other stream infos */
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
42 META_INFO_TITLE,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
43 META_INFO_ARTIST,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
44 META_INFO_ALBUM,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
45 META_INFO_YEAR,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
46 META_INFO_COMMENT,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
47 META_INFO_TRACK,
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
48 META_INFO_GENRE
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
49 };
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
50
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
51 char *get_metadata (metadata_t type);
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
52
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23689
diff changeset
53 #endif /* MPLAYER_METADATA_H */
19532
13599373bb02 added new helpers to allow easy metadata retrieval and make libmenu use them
ben
parents:
diff changeset
54