ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Loading MP4 file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List


Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

Check here to subscribe to this topic.

T O P I C    R E V I E W
Andy_Bell Posted - Jun 30 2020 : 06:16:34

C++ Builder 2007

I'm trying to load an MP4 file and extract the first frame from it.

So far, I've tried using and not using the ImageMagik DLLs and using this code with the TImageEnMView component:

To get the first frame


To load the image


in both cases I get a picture of a broken image (see uploaded image).

The MP4 seems ok - it plays in Windows or in a Web Browser...

Is there anything else I need to do?

3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 30 2020 : 22:01:09
Hi Andy

It is the MP4 format filter that you need to download. Please try:

Xequte Software
Andy_Bell Posted - Jun 30 2020 : 20:04:33
I'm running Windows 10 and, from what I can make out from MS's site, Direct Show should be already installed as a core part of the system. I can't find anywhere that lets me download and install it.

Am I right?

If not, where do I get it from?


xequte Posted - Jun 30 2020 : 18:59:27
Hi Andy

For MP4 support DirectShow is used. So you need to have a DirectShow MP4 filter, which is not available by default.

I would first try the video capture demos to confirm DirectShow is working for MP4 on that system.

Xequte Software