Autor Beitrag
rizla
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: So 18.04.10 18:58 
Hi,
bin auf der Suche nach einer Video-Komponente. Brauch dabei Zugriff auf Video-Informationen (Höhe, Breite, FPS etc.).
Wenn man auf bestimmte Frames zugreifen könnte, wäre das gut (also das jeweile Bild).
Habe mir die ffmpeg-Pascal-Header von Victor Zinetz angesehen, kann die Beispiele allerdings nicht kompilieren, da
diverse dll's fehlen, die ich jedoch nicht im Netz finde (av-codec51 usw konnte ich finden, libamrnb-3.dll jedoch zum Beispiel nicht)..

Hat jmd gute Erfahrungen gemacht?
Danke schon mal im Voraus für Tipps.

:r:

PS: wäre gut, wenn man avi, mpeg, wmv auslesen könnte ;)

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
Cylence
Hält's aus hier
Beiträge: 9
Erhaltene Danke: 3



BeitragVerfasst: Mo 19.04.10 10:56 
Hallo,

dann nimm den DSPack, den nutze ich für meinen Player, damit geht eigentlich alles.

www.progdigy.com/

oder wenn du nur die Infos von den Files brauchst dann mediainfo, diese nutze ich auch in meinem Player:


www.delphipraxis.net/topic37709.html

Gruß

cylence
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Mo 19.04.10 16:31 
Danke,
hab mir beides mal angescaut, dspack sieht aus, wie etwas, das ich brauchen könnte.
aber wie kann ich da an eine stelle im video "seeken"?

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
Cylence
Hält's aus hier
Beiträge: 9
Erhaltene Danke: 3



BeitragVerfasst: Mi 16.02.11 15:13 
Hi,

im DSPack kannst du so an eine bestimmte Stelle springen:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
procedure TMRMediaPlayer.SetPosition(FilterGraph: TFilterGraph; secPos: Cardinal);
var
  FMediaSeeking: IMediaSeeking;
  StopPosition, CurrentPosition: int64;
  MlsStopPos: Cardinal;
begin
  try
    FilterGraph.QueryInterface(IMediaSeeking, FMediaSeeking);
    FMediaSeeking.GetStopPosition(StopPosition);
    MlsStopPos := RefTimeToMiliSec(StopPosition);
    CurrentPosition := (StopPosition * secPos) div (MlsStopPos div 1000);
    StopPosition := 0;
    FMediaSeeking.SetPositions(CurrentPosition, AM_SEEKING_AbsolutePositioning, StopPosition, AM_SEEKING_NoPositioning);
  except
    Exit;
  end;    
end;


so gehts ganz einfach

Für diesen Beitrag haben gedankt: BenBE, rizla
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Do 17.02.11 12:17 
Hi!

Das nach so langer Zeit noch jmd etwas Brauchbares postet, hätte ich nicht gedacht.
Meinen besten Dank, Cylence!

:r:

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
Cylence
Hält's aus hier
Beiträge: 9
Erhaltene Danke: 3



BeitragVerfasst: Do 17.02.11 12:27 
Hi,

Gern geschehen :-)
ja hab das zufällig gesehen und dachte ich schreibs mal rein, vielleicht brauchts ja auch jemand anderes mal. Ansonsten noch etwas, das Forum vom DSPack selbst ist auch sehr gut, da hab ich einiges her:

www.progdigy.com/forums/viewforum.php?f=1

Für diesen Beitrag haben gedankt: BenBE
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Do 17.02.11 13:08 
Dank deiner Hilfe muss ein Projekt nun nicht sterben :)

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
Cylence
Hält's aus hier
Beiträge: 9
Erhaltene Danke: 3



BeitragVerfasst: Do 17.02.11 15:11 
:-) gut, wenn du nochmal was brauchst, hab schon viel gemacht mit dspack, wenn ich kann helf ich gern