OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2000, 2001 Fabrice Bellard | 2 * Copyright (c) 2000, 2001 Fabrice Bellard |
3 * | 3 * |
4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
5 * | 5 * |
6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 }; | 99 }; |
100 | 100 |
101 const ff_asf_guid ff_asf_ext_stream_audio_stream = { | 101 const ff_asf_guid ff_asf_ext_stream_audio_stream = { |
102 0x9d, 0x8c, 0x17, 0x31, 0xE1, 0x03, 0x28, 0x45, 0xb5, 0x82, 0x3d, 0xf9,
0xdb, 0x22, 0xf5, 0x03 | 102 0x9d, 0x8c, 0x17, 0x31, 0xE1, 0x03, 0x28, 0x45, 0xb5, 0x82, 0x3d, 0xf9,
0xdb, 0x22, 0xf5, 0x03 |
103 }; | 103 }; |
104 | 104 |
105 const ff_asf_guid ff_asf_metadata_header = { | 105 const ff_asf_guid ff_asf_metadata_header = { |
106 0xea, 0xcb, 0xf8, 0xc5, 0xaf, 0x5b, 0x77, 0x48, 0x84, 0x67, 0xaa, 0x8c,
0x44, 0xfa, 0x4c, 0xca | 106 0xea, 0xcb, 0xf8, 0xc5, 0xaf, 0x5b, 0x77, 0x48, 0x84, 0x67, 0xaa, 0x8c,
0x44, 0xfa, 0x4c, 0xca |
107 }; | 107 }; |
108 | 108 |
| 109 const ff_asf_guid ff_asf_marker_header = { |
| 110 0x01, 0xCD, 0x87, 0xF4, 0x51, 0xA9, 0xCF, 0x11, 0x8E, 0xE6, 0x00, 0xC0,
0x0C, 0x20, 0x53, 0x65 |
| 111 }; |
| 112 |
109 /* I am not a number !!! This GUID is the one found on the PC used to | 113 /* I am not a number !!! This GUID is the one found on the PC used to |
110 generate the stream */ | 114 generate the stream */ |
111 const ff_asf_guid ff_asf_my_guid = { | 115 const ff_asf_guid ff_asf_my_guid = { |
112 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 | 116 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |
113 }; | 117 }; |
114 | 118 |
115 const ff_asf_guid ff_asf_language_guid = { | 119 const ff_asf_guid ff_asf_language_guid = { |
116 0xa9, 0x46, 0x43, 0x7c, 0xe0, 0xef, 0xfc, 0x4b, 0xb2, 0x29, 0x39, 0x3e, 0xde
, 0x41, 0x5c, 0x85 | 120 0xa9, 0x46, 0x43, 0x7c, 0xe0, 0xef, 0xfc, 0x4b, 0xb2, 0x29, 0x39, 0x3e, 0xde
, 0x41, 0x5c, 0x85 |
117 }; | 121 }; |
118 | 122 |
119 const ff_asf_guid ff_asf_content_encryption = { | 123 const ff_asf_guid ff_asf_content_encryption = { |
120 0xfb, 0xb3, 0x11, 0x22, 0x23, 0xbd, 0xd2, 0x11, 0xb4, 0xb7, 0x00, 0xa0, 0xc9
, 0x55, 0xfc, 0x6e | 124 0xfb, 0xb3, 0x11, 0x22, 0x23, 0xbd, 0xd2, 0x11, 0xb4, 0xb7, 0x00, 0xa0, 0xc9
, 0x55, 0xfc, 0x6e |
121 }; | 125 }; |
122 | 126 |
123 const ff_asf_guid ff_asf_ext_content_encryption = { | 127 const ff_asf_guid ff_asf_ext_content_encryption = { |
124 0x14, 0xe6, 0x8a, 0x29, 0x22, 0x26, 0x17, 0x4c, 0xb9, 0x35, 0xda, 0xe0, 0x7e
, 0xe9, 0x28, 0x9c | 128 0x14, 0xe6, 0x8a, 0x29, 0x22, 0x26, 0x17, 0x4c, 0xb9, 0x35, 0xda, 0xe0, 0x7e
, 0xe9, 0x28, 0x9c |
125 }; | 129 }; |
126 | 130 |
127 const ff_asf_guid ff_asf_digital_signature = { | 131 const ff_asf_guid ff_asf_digital_signature = { |
128 0xfc, 0xb3, 0x11, 0x22, 0x23, 0xbd, 0xd2, 0x11, 0xb4, 0xb7, 0x00, 0xa0, 0xc9
, 0x55, 0xfc, 0x6e | 132 0xfc, 0xb3, 0x11, 0x22, 0x23, 0xbd, 0xd2, 0x11, 0xb4, 0xb7, 0x00, 0xa0, 0xc9
, 0x55, 0xfc, 0x6e |
129 }; | 133 }; |
130 | 134 |
| 135 /* List of official tags at http://msdn.microsoft.com/en-us/library/dd743066(VS.
85).aspx */ |
131 const AVMetadataConv ff_asf_metadata_conv[] = { | 136 const AVMetadataConv ff_asf_metadata_conv[] = { |
132 { "AlbumArtist", "album_artist"}, | 137 { "WM/AlbumArtist" , "album_artist"}, |
133 { "AlbumTitle" , "album" }, | 138 { "WM/AlbumTitle" , "album " }, |
134 { "Author" , "artist" }, | 139 { "Author" , "artist" }, |
135 { "TrackNumber", "track" }, | 140 { "Description" , "comment" }, |
136 // { "Year" , "date" }, TODO: conversion year<->date | 141 { "WM/Composer" , "composer" }, |
| 142 { "WM/EncodedBy" , "encoded_by" }, |
| 143 { "WM/EncodingSettings", "encoder" }, |
| 144 { "WM/Genre" , "genre" }, |
| 145 { "WM/Language" , "language" }, |
| 146 { "WM/OriginalFilename", "filename" }, |
| 147 { "WM/PartOfSet" , "disc" }, |
| 148 { "WM/Publisher" , "publisher" }, |
| 149 { "WM/Tool" , "encoder" }, |
| 150 { "WM/TrackNumber" , "track" }, |
| 151 { "WM/Track" , "track" }, |
| 152 // { "Year" , "date" }, TODO: conversion year<->date |
137 { 0 } | 153 { 0 } |
138 }; | 154 }; |
OLD | NEW |