ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to show video list in TImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

woolfik

Poland
13 Posts

Posted - Mar 04 2015 :  15:55:10  Show Profile  Reply
I like to show list of video stored in local directory like in attachment. I try to do it like this:

qGaleria.Open;
    qGaleria.First;
    while not qGaleria.Eof do
    begin
      imObrazLista.MIO.LoadFromFile(qGaleria.FieldByName('nazwa').AsString);
      imObrazLista.ImageInfoText[i].Caption := ExtractFileName(qGaleria.FieldByName('nazwa').AsString);
      imObrazLista.ImageID[i] := qGaleria.FieldByName('idx_galerii').AsInteger;
      inc(i);
      qGaleria.Next;
    end;
    imObrazLista.Update;


and this code for image works fine but for video not. Can someone help?


xequte

38609 Posts

Posted - Mar 04 2015 :  20:36:11  Show Profile  Reply
Hi

Do you mean thumbnails of video files, or the frames within the video file?

Assuming you mean thumbnails, then you should be calling AppendImage to add each file rather than MIO.LoadFromFile which will try to load the content.

Thumbnails for videos are mostly handled by retrieving the thumbnail from Explorer, so if there is no thumb in Explorer you won't get one in ImageEn either.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: