Autor Beitrag
adler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Mo 14.11.05 17:37 
Servus!

Ich muss in mein Programm das Abspielen von Videos(mpg,mpeg vielleicht auch avi.) abspielen.
Sowie Mp3s und Normale Audio CDs.

Soweit ich weiß kann TMediaPlayer das nicht alles oder?

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 14.11.05 18:05 
bei audio cds bin ich mir nicht sicher, aber sonst alles was du aufgezählt hast schon :wink:
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Mo 14.11.05 18:27 
Ja stimmt, hab mir die Delphi-Hilfe mal durchgelesen...
Aber wo ist dann der Clip?
Wenn ich einen Abspiele und kann ich den skalieren?

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 14.11.05 18:42 
der clip wird standart mäßig in einem extra fenster abgespielt, soweit ich weiß, mussu einfach mal suchen :wink:
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Di 15.11.05 18:07 
Wie mache ich jetzt eine Leiste die anzeigt wie weit das Lied / Video ist?
Hab hier letztlich einen Thread gefunden, weil mit Timer nicht ging, find den aber nicht mehr :-(

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 15.11.05 18:31 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.Timer1Timer(Sender: TObject);
var
  pos: integer;
begin
  pos := Mediaplayer1.position;
  Trackbar1.Position := pos;
end;

vorher setzt du die länge noch so:
ausblenden Delphi-Quelltext
1:
2:
  pos := Mediaplayer1.Length;
  Trackbar1.Max := pos;

das machst du in deiner play prozedur 8)
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Di 15.11.05 19:14 
K Danke ;)

Nee ich arbeite doch net mit ProgressBars :-P
Wird alles Grafisch gemacht... ich werds auch wenns so weit ist vorstellen.

PS: Wird kein MediaPlayer :-P bzw. der ist nur integriert in das Prog.

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 15.11.05 20:28 
warum fragst du dann erst :shock:
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Di 15.11.05 21:36 
Ist ja ähnlich, ist fast wie ne selbstgemachte Progressbar ...

Aber ich frag mich nur, warum der eine geschrieben hat, dass es mit nem Timer nicht geht...
Der Musikspieler im Programm ist fertig ;) am Donnerstag kommt dann Video und dann geb ich mal die erste version raus :-P

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.