×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    2

    Can't load video files when phone rings ( ONLY 8.0a )

    Hi,

    I have a problem to load video file when the phone rings on Symbian 8.0a device. ( However, It is successful in 7.0s device )

    When the video file is being loaded, it raises an error #-12017.
    Here is one of the log:

    > > :
    > > : 16:00:05 <<<Function::FoundNumber
    > > : 16:00:07 >>>Function::MvpuoOpenComplete
    > > : 16:00:08 <<<Function::MvpuoOpenComplete
    > > : 16:00:08 >>>Function::MvpuoPrepareComplete
    > > : 16:00:08 ERR: -12017
    > > : 16:00:08 <<<Function::MvpuoPrepareComplete
    > > : 16:00:08 >>>Function::MvpuoPlayComplete
    > > : 16:00:08 ERR: -45
    > > : 16:00:08 <<<Function::MvpuoPlayComplete

    * Error # -45 is KErrSessionClosed, meaning file session
    was closed (not available) for play. But I have no clue on
    the error number -12017 and found nothing about 12017 on FN.

    So, when the video file failed to load, it create some panic
    or system-wide error, which the OS thought the ringtone
    file is corrupted (or the playback of ringtone is interrupted
    and die). Then the OS (or the Phone program) will call
    the default Nokia ringtone.

    Is there any experts knowing about the problem?

    Thank you very much!

    Alan

  2. #2
    Registered User
    Join Date
    Aug 2004
    Location
    Hyderabad,India
    Posts
    808

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Hi,
    I am also facing the same problem under the same situation. Are you able to find a solution.
    By the by error #-12017 is for KErrMMPartialPlayback. See mmferrors.h for this.

    Thanks in advance

    SSS

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    27

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Hi this error is one of a few which you could ignore - it means either the viideo or the audio cannot be supported (because of a bad codec, video is too large etc) so you can still call play afterwards since something is there

    This document mentions it.

    http://ncsp.forum.nokia.com/download/?asset_id=12572

    All the best

    Kibi

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    27

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Hmmmm.....but when I ignore and Play anyway it I get the KErrSessionClosed error Alan mentioned.
    Oh well, back to the drawing board. Anyone get any further with this?

    Kibi

  5. #5
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Waking up sleeping thread
    Anyone tried playing mp4 video. I am getting -12017 in MvpuoPrepareComplete which supposedly means KErrMMPartialPlayback according to http://www.newlc.com/Symbian-OS-Erro...he=error+codes
    How do i ignore this error? is there any work around for playing mp4 files.
    -Datha

  6. #6
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    The error generally means one of two things - either part of the video isn't supported (the audio or the video track) for some reason, can be codec, resolution etc, or possibly the audio isn't available because something else is using it - this may well be the case in the incoming call scenario above.

    For just playing a general .mp4 file, check the file and make sure it is actually of a format supported by the device.

    Sorcery

  7. #7
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    I was able to play mp4 file using CVideoPlayerUtility. but first i failed since i used a big(?) file.
    - Successful case was of size 433kb and failed case was size 653kb.
    - Successful case was small resolution video (352 X 288), failed case was (640 X 480)

    Few posts say i can ignore KErrMMPartialPlayback -12017, but how do i make CVideoPlayerUtility to ignore?
    I called CVideoPlayerUtility::Play() when i get KErrMMPartialPlayback, but no use. CVideoPlayerUtility refuse to play

    Thanks
    Datha

  8. #8
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    If the video is 640x480 then it will only play on a very few device models - usually those with very high end video capabilities. I think the N93 was the first that was able, N95 and N96 can too. Nearly all others will not be able to play the video part at all, although if you call Play() then it should try to play the audio.

    Sorcery

  9. #9
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Emulator failed to play 640x480, but on device i was able to play using CVideoPlayerUtility. So, it depends on the device if it can play high resolution video.
    -Datha

  10. #10
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    But real player embedded in the device can play higher resolution video, why cant i play using CVideoPlayerUtility.
    I am using Nokia Navigator 6210.
    Thanks
    Datha

  11. #11
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Hi,

    Are you saying you have a video file that the Real Player on the device can play but that you can't play the exact same video via CVideoPlayerUtility? If so I'd be very suprised (they should both be using the same plug-ins to play the actual video).

    There are things other than resolution that are relevant for compatibility.

    Sorcery

  12. #12
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Sorry I forgot to transfer the video clips to navigator. Navigator can play videos if video is supported on the device.
    Thanks for the support.

    My current work is about playing online video from links such as http://www.foo.com/fred/fcef87696f64.mp4
    I can download the video fully and play it. but, is there any solution to play the video as and when i receive the data.

    I know few posts explain opening file in shared mode and writing to file. But i suppose that cannot make into commercial product.

    -Datha

  13. #13
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    Hi,

    No, there isn't a general solution to this. Some video files don't have the information you need to be able to play them at the beginning. It's also not a very good way to go about it - that's why we have RTSP and streaming video. If you have control of the content then it is possible to do what you're suggesting to some extent. It's called progressive download. There's plenty of information about it online. It will be available in future versions of the Helix client on S60 phones (if it isn't already, I haven't checked lately). It's not at all easy to implement this yourself though.

    Sorcery

  14. #14
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    * RTSP and streaming video

    RTSP i know, which is supported by CVideoPlayerUtility::OpenUrlL(). What is the second option which you are mentioning 'streaming video'?

    -Datha

  15. #15
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can't load video files when phone rings ( ONLY 8.0a )

    RTSP is Real Time Streaming Protocol - using it to stream video is streaming video. The term is often used to cover other proprietary streaming solutions as well, but RTSP is the only one available on S60 by default.

    Sorcery

Posting Permissions

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