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. |
|
|