User Tag List

Results 1 to 4 of 4

Thread: AVI and Directshow report incorrect Total Frames

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AVI and Directshow report incorrect Total Frames

    I'm using the AVI object to play an MPEG video file. I need to calculate the total number of frames (length of video in frames) in order to use a scroller to control the video position.

    My video is 1:04 minutes (which works out to 1920 frames at 30fps) When I query "Video Total Frames( "AVI" )" it returns 641974667. Using the DirectShow returns 64197. Both are incorrect.

    For kicks I loaded up MMF1.5 and it returns the correct value of 1920.

    Is this a bug in MMF2 R243?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: AVI and Directshow report incorrect Total Frames

    Try going to the end and checking Video Frame( "AVI" ).
    .:::.Joshtek.:::.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AVI and Directshow report incorrect Total Frames

    Quote Originally Posted by Joshtek
    Try going to the end and checking Video Frame( "AVI" ).
    Here's what I did:
    -Stop Video
    -Goto end
    -Set alterable string to Str$(Video Frame("AVI"))

    I get the same incorrect number: 641974667


  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AVI and Directshow report incorrect Total Fram

    Update: AVI files played through this object report the correct total frames value, but MPEG files do not (though if works fine in MMF 1.5)

Similar Threads

  1. [BUG RC2] Quick Backdrops display in the incorrect order.
    By DistantJ in forum Android Export Module Version 2.0
    Replies: 8
    Last Post: 29th November 2012, 12:39 PM
  2. Initial touch returning incorrect position value
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 9
    Last Post: 7th September 2012, 01:38 PM
  3. Incorrect scrolling
    By Daniel_M in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th June 2011, 12:14 AM
  4. Incorrect handling of Stop Loop?
    By Phi in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 30th April 2011, 10:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •