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
 Directshow TimeFormat problem

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

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
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
quantuz Posted - Nov 01 2011 : 01:02:14
Hi!
Have problem loading .avi movie, when I try to set TimeFormat to tfFrame it gets the value tfTime. The video(500 frames) looks ok in the load preview and I manged to load it once using the code below but could not reproduce.
Running BCB 6 and Win7 IE 4.01

TIEDirectShow *directShow_;
directShow_ = new TIEDirectShow;
directShow_->FileInput = fileName;
directShow_->EnableSampleGrabber = true;
directShow_->RenderAudio = true;
directShow_->Connect();
directShow_->TimeFormat = tfFrame; // <--- does NOT work

Regards,
//Christer
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Nov 01 2011 : 22:57:26
Hi,
TimeFormat setting is just a request to the DirectShow codec. Unfortunately some formats don't allow formats other than tfTime.