MovieSaver



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 10/03/2004 at 14:30, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.503 
    Platform:   Windows  ;   Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    MovieSaver

    The movie saver class is used for reading and writing movie streams. Has to be created with Alloc() and destroyed with Free().

    Could you elaborate on "Reading"? I cannot figure out how to read an arbitrary frame of the movie?

    I would use the Bitmap load but it does not seem to support alpha channels.

    regards,
    darf -cidertank



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 11/03/2004 at 00:07, xxxxxxxx wrote:

    Sorry, MovieSaver is not for reading. The documentation is wrong. BaseBitmap can read movies with alpha channels, at least this code could:

        
        
          Filename fn = GeGetStartupPath();  
          fn.FileSelect(FSTYPE_IMAGES, 0, &String("Please select a movie!"));
        
        
        
        
          AutoAlloc<BaseBitmap> bm;  
          Bool ismovie = FALSE;  
          bm->Init(fn, 42, &ismovie);
        
        
        
        
          ShowBitmap(bm);
    

    I tested it with a movie I saved from C4D with the Animation codec. The alpha is visible in the shown bitmap, and BaseBitmap::GetAlphaPixel() returned the expected value.


Log in to reply