* 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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2005-11-16, 11:48#2
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2006-01-18, 12:10#3
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
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-28, 12:03#5
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-28, 12:09#6
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-28, 12:20#7
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-28, 15:07#8
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-29, 11:35#9
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-29, 12:06#10
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-29, 12:53#11
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-29, 13:32#12
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-29, 16:43#13
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
Re: Can't load video files when phone rings ( ONLY 8.0a )
2009-01-29, 17:34#14
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.