01-15-2012, 11:40 PM
(12-13-2011 04:13 AM)Dave Wrote: [ -> ]Actually I did, if you use the previous you can use this:
VLDSVideoLogger1->VideoCompression->Compressions->Items[0]->ShowDialog();
to get the dialog for the codec parameters.
Dave
Hi, I am also having trouble with getting TVLDSVideoLogger to save files compressed.
This is my video logger object:
object VLDSVideoLogger1: TVLDSVideoLogger
Enabled = False
InputPin.Form = Form1
InputPin.SourcePin = Form1.VLDSCapture1.OutputPin
AudioInputPin.Form = Form1
AudioInputPin.SourcePin = Form1.VLDSCapture1.AudioOutputPin
Graph.AdditionalFilters = <>
VideoCompression.Enabled = True
VideoCompression.Compressions = <
item
Quality = 0
KeyFrameRate = 15
WindowSize = 10
PFramesPerKeyFrame = 100
Data = (
'@devicew:{33D9A760-90C8-11D0-BD43-00A0C911CE86}\3ivx MPEG-4 Vi' +
'deo Encoder'
'3ivx MPEG-4 Video Encoder')
end>
AudioCompression.Enabled = True
AudioCompression.Compressions = <
item
Channels = 3
BitsPerSample = 8
SamplesPerSec = 8000
ChannelMask = [spFrontLeft]
Data = (
'@device:dmo:{1F1F4E1A-2252-4063-84BB-EEE75F8856D5}{33D9A761-90C8' +
'-11D0-BD43-00A0C911CE86}'
'WM Speech Encoder DMO')
end>
Left = 296
Top = 280
end
to start a video recording I set the filename and turn it on like this:
VLDSVideoLogger1->FileName = BaseDirectory+BaseFileName+".avi";
VLDSVideoLogger1->Enabled = true;
I tried every codec in the computer without sucess, the captured videos are alway uncompressed 10MB/s "ds_video" files. Help!