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
 VideoFormats problems

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
r.federiconi Posted - Jun 21 2013 : 00:20:57
ImageEn version : 4.1.2

Hi,
we have problems with some integrated cameras, substantially it fails to see the complete list of video formats allowed (there aren't higher resolutions) and consequently the quality of photos is not acceptable.
To extract the list we use the following code:

function GetVideoFormats(ImageEnIO: TImageEnIO; InputDeviceIndex: Integer): TStrings; overload;
var
I: Integer;
begin
Result := TStringList.Create;
try
with ImageEnIO.DShowParams do
begin
SetVideoInput(InputDeviceIndex);
Connect;
for I := 0 to VideoFormatsCount-1 do
if Length(VideoFormats[I].Format) > 0 then
Result.AddObject(FormatString(VideoFormats[I]), TObject(I));
Disconnect;
end;
except
Result.Free;
raise;
end;
end;

Any suggestions?

Regards

Federiconi Roberto
Namirial spa
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jun 26 2013 : 12:21:44
Hi,
please look at VideoCapture\DirectShow2 example. Is your list the same listed in ListBox1?