Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    MovieSaver

    SDK Help
    0
    2
    251
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post