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

    MovieLoader

    SDK Help
    0
    7
    550
    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

      On 26/08/2015 at 04:23, xxxxxxxx wrote:

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

      ---------
      Hi Folks,

      just a question for anyone in the know - why is the MovieLoader, and in particular Read(), so slow to work with?

      WP.

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

        On 27/08/2015 at 03:05, xxxxxxxx wrote:

        Hi,

        can you provide us with some more information? Especially information on format, size and length of the movies you tested this with. We could then try to forward such information to our development.

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

          On 27/08/2015 at 04:37, xxxxxxxx wrote:

          Hi Andreas,

          I need to rephrase my query just to be clear. It's slow on the start-up, it takes several seconds to get the first frame out. VLC starts almost instantly with the same test files. It appears ok once the first frame is loaded. Why would there be a hold up for the first frame?

          As far as the video itself - any video, any length, any format. Doesn't matter which frame I start off at either.

          The other thing, I'm getting an out of memory error with one video, which plays fine elsewhere. It's 1920x1080 and around 27 seconds long. It doesn't load any frames. Why would something like this raise an out of memory flag?

          WP.

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

            On 27/08/2015 at 22:29, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            Hi Andreas,

            I need to rephrase my query just to be clear. It's slow on the start-up, it takes several seconds to get the first frame out. VLC starts almost instantly with the same test files. It appears ok once the first frame is loaded. Why would there be a hold up for the first frame?

            As far as the video itself - any video, any length, any format. Doesn't matter which frame I start off at either.

            The other thing, I'm getting an out of memory error with one video, which plays fine elsewhere. It's 1920x1080 and around 27 seconds long. It doesn't load any frames. Why would something like this raise an out of memory flag?

            WP.

            Please add more infos about your OS, the movie format you're using and if you're using Quicktime. VLC uses its own codecs instead of relying on the system's codecs.

            Regarding the "out of memory" error: Without detailed information about the movie my only guess is, that opening the movie fails (e.g. because there 's no movie codec for it), which leads to returning a nullptr (as some objects/structures aren't allocated), returning an (false) "out of memory" message at another stage.

            Best regards,

            Wilfried

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

              On 28/08/2015 at 01:10, xxxxxxxx wrote:

              Hi Wilfried,

              operating on Win7 Ultimate, 64bit. Processor is an i5, with 8gb ram. Testing on Cinema 32bit. Could you clarify what you mean by "using Quicktime"? I have Quicktime installed (non-pro version). Is this what Cinema works off the back off?

              The movie that returns an out of memory error is showing as an "MPEG-1/2 Video (mpgv)" on vlc. I've noticed I can't drag and drop it to the picture viewer either ("Picture Viewer was unable to read the file"). Might be a codec thing?

              WP.

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

                On 28/08/2015 at 05:01, xxxxxxxx wrote:

                Originally posted by xxxxxxxx

                Hi Wilfried,

                operating on Win7 Ultimate, 64bit. Processor is an i5, with 8gb ram. Testing on Cinema 32bit. Could you clarify what you mean by "using Quicktime"? I have Quicktime installed (non-pro version). Is this what Cinema works off the back off?

                The movie that returns an out of memory error is showing as an "MPEG-1/2 Video (mpgv)" on vlc. I've noticed I can't drag and drop it to the picture viewer either ("Picture Viewer was unable to read the file"). Might be a codec thing?

                WP.

                Yes Cinema is using Quicktime when installed (and enabled in the prefs). Chances are that your non-pro version of QT doesn't include Mpeg 2 (DVD) video support (as this requires a license from the Mpeg patent pool).

                Best regards,

                Wilfried

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

                  On 30/08/2015 at 21:43, xxxxxxxx wrote:

                  Yeah - I'm trying to avoid the mpeg patent licensing myself! But I'm finding Cinema (Quicktime?) horrendously sluggish to work with once you want to do something decent with it. Can we use something else instead of Quicktime? Where abouts in the prefs can I find/change this (if applicable)?

                  I'm curious to know why Maxon doesn't use their own licensing for these things - why rely on an external app to read something that's so fundamental to some areas of the product in the first place?

                  WP.

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