Autor Beitrag
DJ-DJ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Mi 22.06.05 10:58 
Hi Leute.Ich bin gerade mal wieder dabei einen Media Player zu programmieren...und suche nun dafür eine Funktion, wie ich die ogg Tags auslesen - und fast noch wichtiger - schreiben kann. Leider blicke ich bei dem Aufbau der Dateien gar nicht durch. Ich würde mich freuen, wenn mir jemand einen Quelltext oder eine Komponente hierfür nennen könnte.

Danke David
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 22.06.05 12:51 
Meinst Du sowas hier (wotsit.org):
www.xiph.org/ogg/vorbis/docs.html ???

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
DJ-DJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Mi 22.06.05 13:57 
Joa, ist schonmal ein Anfang..Mir ging es aber eher darum den ogg Tag (Wie ID3Tag bei MP3s) aus zu lesen...und dafür bräuchte ich eine Funktion oder Prozedur, ich denke aus den Informationen auf der Seite kann man sich so was basteln, nur leider bin ich nicht der Delphi-King und habe keine Ahnung wie ich den Header der Datei einlesen kann und die entsprechenden Informationen daraus lesen und wieder reinschreiben kann.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 22.06.05 17:35 
Das Lesen der Header kannst Du mit Streams (Suche in: Delphi-Forum, Delphi-Library TFILESTREAM) realisieren.

Dazu benötigst Du die einzelnen Record-Structuren dieser Teilblöcke (soweit ich gesehen habe, ist OGG Vorbis relativ flexibel aufgebaut, evtl. bietet sich das lesen von Einzelbytes eher an).

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Wishmaster
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mi 22.06.05 20:04 
Titel: Audio Tools Library
mac.sourceforge.net/atl/


About ATL
The ATL provides programming tools for Borland Delphi 3, 4, 5, 6, 7, 2005.

The pack includes several components described below
AAC - for manipulating with AAC file information
AC3 - for manipulating with AC3 file information
APE Tag - for manipulating with APE Tags
CDDA Track - for getting information for CDDA track
DTS - for manipulating with DTS file information
FLAC - for manipulating with FLAC file information
fpl - reads foobar2000 playlist files (*.fpl)
ID3v1 - for manipulating with ID3v1 tags
ID3v2 - for manipulating with ID3v2 tags
Monkey - for manipulating with Monkey's Audio file information
MPEG Audio - for manipulating with MPEG audio file information
Musepack - for manipulating with Musepack file information
Ogg Vorbis - for manipulating with Ogg Vorbis file information
OptimFROG - for manipulating with OptimFROG file information
Speex - for manipulating with Speex file information
TTA - for manipulating with TTA file information
TwinVQ - for extracting information from TwinVQ file header
Vorbis Comment - for manipulating with Vorbis Comments
WAV - for manipulating with WAV files
WavPack - for manipulating with WAVPack Files
WMAfile - for extracting information from WMA file header
DJ-DJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win 98; Win XP Home
Delphi 6 Personal
BeitragVerfasst: Mi 22.06.05 22:13 
Womit erstmal alle meine Probleme gelöst sind;-) Dankeschön! die Komponentensammlung ist echt super, weil da so ca. zu allen Formaten drin steht, wie man den Tag ausliest!Ideal für den Mediaplayer...Achso..n Freund und ich hatten jetzt überlegt, ob wir n wirklich guten Player mal als Gruppenarbeit programmieren sollen...also, wenn jemand Lust hat einfach melden!

Besten Dank und Grüße David