| 
        
          | 
              
                | Author |  Topic  |  |  
                | mrflash
 
 
                Poland1 Posts
 | 
                    
                      |  Posted - Oct 29 2017 :  10:14:08     
 |  
                      | 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
    
 
                Germany389 Posts
 | 
                    
                      |  Posted - Oct 29 2017 :  13:38:23     
 |  
                      | 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
 |  
                      |  |  |  
                | zhengyuanyi27
   
 
                61 Posts | 
                    
                      |  Posted - Oct 19 2018 :  05:47:58     
 |  
                      | 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!
 
 
 |  
                      |  |  |  
                | xequte
      
 
                39218 Posts | 
                    
                      |  Posted - Oct 22 2018 :  18:19:46     
 |  
                      | Hi 
 I cannot reproduce that here. Presumably something is messed up with the codec.
 
 Nigel
 Xequte Software
 www.imageen.com
 
 |  
                      |  |  |  
                | zhengyuanyi27
   
 
                61 Posts | 
                    
                      |  Posted - Nov 30 2018 :  22:24:20     
 |  
                      | 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 ' );
 |  
                      |  |  |  
                | xequte
      
 
                39218 Posts | 
                    
                      |  Posted - Dec 01 2018 :  03:21:41     
 |  
                      | OK, thanks for the update. 
 Nigel
 Xequte Software
 www.imageen.com
 
 |  
                      |  |  |  
                |  |  Topic  |  |  |  |