PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : header eine ogg-datei modifizieren?



jean_luc_picard
04-07-2003, 17:57
hallo leute,

ich würde gern die daten im header einer ogg-datei ändern. in der dokumentation von vorbis habe ich folgenden auszug gefunden:


The identification header is a short header of only a few fields used to declare the stream definitively as Vorbis,
and provide a few externally relevant pieces of information about the audio stream. The identification header is
coded as follows:
1) [vorbis_version] = read 32 bits as unsigned integer
2) [audio_channels] = read 8 bit integer as unsigned
3) [audio_sample_rate] = read 32 bits as unsigned integer
4) [bitrate_maximum] = read 32 bits as signed integer
5) [bitrate_nominal] = read 32 bits as signed integer
6) [bitrate_minimum] = read 32 bits as signed integer
7) [blocksize_0] = 2 exponent (read 4 bits as unsigned integer)
8) [blocksize_1] = 2 exponent (read 4 bits as unsigned integer)
9) [framing_flag] = read one bit
[vorbis_version] is to read ’0’ in order to be compatible with this document. Both [audio_channels]
and [audio_sample_rate] must read greater than zero. Allowed final blocksize values are 64, 128, 256, 512,
1024, 2048, 4096 and 8192 in Vorbis I. [blocksize_0] must be less than or equal to [blocksize_1]. The
framing bit must be nonzero. Failure to meet any of these conditions renders a stream undecodable.


leider kann ich damit nicht viel anfangen... ich möchte die eintragung für die samplerate ändern... ein paar tips wären nicht schlecht ;) ...