ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Problem wih compresion video
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mrflash

Poland
1 Posts

Posted - Oct 29 2017 :  10:14:08  Show Profile  Reply
I start to use my old program and now I use 7.0.0 of ImageEN. Unfortunatelly when I write something different then DIB file is not written. I use Demo from VideoCapture -> DirectShow4 and I have the same result. When I write ImageENView1.IO.CreateAVIFile(Edit.text, 10, 'mjpeg') - the file is created but the size is 0. The same result is with 'xvid' and 'divx' Only 'DIB ' craate file with non 0 size and I can play it. But the size of such file is too huge for me. I use K-Lite Codec Pack and Windows 10 1709 .

Miros#322;aw Rogula

klausdoege

Germany
389 Posts

Posted - Oct 29 2017 :  13:38:23  Show Profile  Reply
Hi Rogula,
that depends on your installed codexs. MJPEG I do not know.
Try IO.CreateAVIFile(Edit.Text, 10, 'cvid'); This works perfect by me.


Klaus
www.klausdoege.de
Go to Top of Page

zhengyuanyi27

61 Posts

Posted - Oct 19 2018 :  05:47:58  Show Profile  Reply
I met a weird problem. Button1: ImageENView1.IO.CreateAVIFile(Edit1.Text, 10, 'dib'). Button2: ImageEnView1.IO.CloseAVIFile.
The problem is: The first click Button1 and Button2, I got an avi file which is good. While the second click Button1 and Button2, I got an avi file with a file size of 0kb. Then the third time click Button1 and Button2, I got an avi file which is good. And so on, 4, bad (0kb file size), 5, good, 6, bad, 7, good....
What't wrong?

I also use K-Lite Codec Pack and Windows 10.

Thanks!

Go to Top of Page

xequte

38616 Posts

Posted - Oct 22 2018 :  18:19:46  Show Profile  Reply
Hi

I cannot reproduce that here. Presumably something is messed up with the codec.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

zhengyuanyi27

61 Posts

Posted - Nov 30 2018 :  22:24:20  Show Profile  Reply
It took me some time to solve this problem. I found I have to delete the file before createavifile. It works well now.
For example,
DeleteFile( FramesFolder.text+'.avi');
ImageEnView1.IO.CreateAVIFile( FramesFolder.text+'.avi', 10, 'DIB ' );
Go to Top of Page

xequte

38616 Posts

Posted - Dec 01 2018 :  03:21:41  Show Profile  Reply
OK, thanks for the update.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: