Results 1 to 3 of 3

Thread: Error GetDuration is XA_TIME_UNKNOWN!!!!

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    2

    Error GetDuration is XA_TIME_UNKNOWN!!!!

    I used the code native-media in sample of andorid NDK, and i add function to get the current and duration time. Current time is OK, but duration time is always XA_TIME_UNKNOW, i tested many file video, and result is same.

  2. #2
    Junior Member
    Join Date
    Jan 2013
    Posts
    2

    Re: Error GetDuration is XA_TIME_UNKNOWN!!!!

    What should I do for this error ?
    Thanks so much for any reply soon

  3. #3
    Super Moderator
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    48

    Re: Error GetDuration is XA_TIME_UNKNOWN!!!!

    This may be an implementation specific error. Are you reading the file from a local file system or from a streaming source. If the source is streaming, then there may be no way for the implementation to know the duration and therefore it returns XA_TIME_UNKNOWN. If you are reading from a local file system, GetDuration() should return the actual duration of the content.
    Erik Noreke,
    Work Group Chair OpenSL ES, OpenMAX AL

Similar Threads

  1. fatal error C1189: #error : ERROR: Use of C runtime library
    By gjermani in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 09-24-2007, 03:02 AM
  2. about X Error: GLXBadDrawable 158 Error
    By Ulimit77 in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 06-05-2005, 04:19 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
  •