1st February 2016, 22:21
|
#1508
| Link
|
Registered User
Join Date: Jan 2010
Location: France
Posts: 851
|
Hi,
I'm searching how to list chapters timecode and name with MediaInfo.dll (and displays it like MediaInfo GUI) from MKV file ? I'm using Delphi XE2, the DLL is working fine but I can't find how to list it.
Thank you !
Edit : It's OK, I've found the solution :
Quote:
FirstChap:=StrToInt(MediaInfo_Get(Handle, Stream_Menu, 0, 'Chapters_Pos_Begin', Info_Text, Info_Name));
LastChap:=StrToInt(MediaInfo_Get(Handle, Stream_Menu, 0, 'Chapters_Pos_End', Info_Text, Info_Name));
for i:=FirstChap to LastChap-1 do
begin
Chapter:=MediaInfo_GetI(Handle, Stream_Menu, 0, i, Info_Name)+' '+MediaInfo_GetI(Handle, Stream_Menu, 0, i, Info_Text);
Memo1.Lines.Add(Chapter);
end;
|
Last edited by Nico8583; 2nd February 2016 at 00:14.
|
|
|