×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    How to play wmv file using CVideoPlayerUtility?

    Hi

    I have make Video Player application which OpenUrl from RTSP server and play the audio/video file.

    I am able to play .3gp, .ra file but not able to play .wmv so what i do for playing this file?

    please help me for this problem.

    Regards,
    SymbianTH

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    23

    Re: How to play wmv file using CVideoPlayerUtility?

    Windows Media formats are not supported by any Nokia devices. Of course you can implement/port your own WMV/WMA codecs and streaming protocols to S60, but even so you can not use CVideoPlayerUtility class.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to play wmv file using CVideoPlayerUtility?

    The newer devices actually support .wma and .wmv, however you have not named the one you are using. Anyway, you can check specifications on http://www.forum.nokia.com/devices
    Also note that playing a file and playing a stream are not the same, so even if your device is capable of the former one, it does not necessarily mean that it also supports streaming.

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to play wmv file using CVideoPlayerUtility?

    Hi

    Thanks for your replay.

    I am implemented sencode method also but I don't know how to use responded data for play Audio/Video.

    In Sencond method i am using RSocket functionality, see following log file.
    HTML Code:
    23/05/2009 10:59:01 AM --><< Connecting >>
    23/05/2009 10:59:01 AM -->KDebugMsg - Sending
    23/05/2009 10:59:01 AM -->OPTIONS * RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - Receiving
    23/05/2009 10:59:01 AM -->iResponseChunk
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - ReceivedChunk
    23/05/2009 10:59:01 AM --><< Response >>
    23/05/2009 10:59:01 AM -->RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Server: Helix Server Version 11.1.7.3406 (linux-rhel4-i686) (RealServer compatible)
    Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN
    TurboPlay: 1
    
    23/05/2009 10:59:01 AM -->Issue Another Request
    23/05/2009 10:59:01 AM --> 
    23/05/2009 10:59:01 AM --><< Describe >>
    23/05/2009 10:59:01 AM -->DESCRIBE rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM --><< Connecting >>
    23/05/2009 10:59:01 AM -->KDebugMsg - Sending
    23/05/2009 10:59:01 AM -->DESCRIBE rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - Receiving
    23/05/2009 10:59:01 AM -->iResponseChunk
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - ReceivedChunk
    23/05/2009 10:59:01 AM --><< Response >>
    23/05/2009 10:59:01 AM -->RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Server: Helix Server Version 11.1.7.3406 (linux-rhel4-i686) (RealServer compatible)
    Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN
    TurboPlay: 1
    RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Content-base: rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra/
    Vary: User-Agent, ClientID
    Content-type: application/sdp
    x-real-usestrackid: 1
    Content-length: 4225
    
    23/05/2009 10:59:01 AM -->Issue Another Request
    23/05/2009 10:59:01 AM --> 
    23/05/2009 10:59:01 AM --><< Announce >>
    23/05/2009 10:59:01 AM -->ANNOUNCE rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM --><< Connecting >>
    23/05/2009 10:59:01 AM -->KDebugMsg - Sending
    23/05/2009 10:59:01 AM -->ANNOUNCE rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - Receiving
    23/05/2009 10:59:01 AM -->iResponseChunk
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - ReceivedChunk
    23/05/2009 10:59:01 AM --><< Response >>
    23/05/2009 10:59:01 AM -->RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Server: Helix Server Version 11.1.7.3406 (linux-rhel4-i686) (RealServer compatible)
    Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN
    TurboPlay: 1
    RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Content-base: rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra/
    Vary: User-Agent, ClientID
    Content-type: application/sdp
    x-real-usestrackid: 1
    Content-length: 4225
    et:integer;1994
    a=AvgPacketSize:integer;744
    a=IsRealDataType:integer;1
    a=Preroll:integer;2321
    a=Indexable:integer;1
    a=MaxBitRate:integer;240483
    a=MaxPacketSize:integer;744
    a=IndexOffset:integer;0
    a=NumInterleavePackets:integer;0
    a=LiveStream
    23/05/2009 10:59:01 AM -->Issue Another Request
    23/05/2009 10:59:01 AM --> 
    23/05/2009 10:59:01 AM --><< SetUp >>
    23/05/2009 10:59:01 AM -->SETUP rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM --><< Connecting >>
    23/05/2009 10:59:01 AM -->KDebugMsg - Sending
    23/05/2009 10:59:01 AM -->SETUP rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - Receiving
    23/05/2009 10:59:01 AM -->iResponseChunk
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - ReceivedChunk
    23/05/2009 10:59:01 AM --><< Response >>
    23/05/2009 10:59:01 AM -->RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Server: Helix Server Version 11.1.7.3406 (linux-rhel4-i686) (RealServer compatible)
    Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN
    TurboPlay: 1
    RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Content-base: rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra/
    Vary: User-Agent, ClientID
    Content-type: application/sdp
    x-real-usestrackid: 1
    Content-length: 4225
    et:integer;1994
    a=AvgPacketSize:integer;744
    a=IsRealDataType:integer;1
    a=Preroll:integer;2321
    a=Indexable:integer;1
    a=MaxBitRate:integer;240483
    a=MaxPacketSize:integer;744
    a=IndexOffset:integer;0
    a=NumInterleavePackets:integer;0
    a=LiveStreamducer Plus 8.5.0.391 Solaris\" ratings (SS~~000 1))"
    a=Modification Date:string;"5/21/2009 6:06:28"
    a=Generated By:string;"RealMedia Build Engine 6.0.11.402 Unix"
    a=Target Audiences:string;"28K Modem (20 Kbps);56K Modem (34 Kbps);"
    a=Video Qualit
    23/05/2009 10:59:01 AM -->Issue Another Request
    23/05/2009 10:59:01 AM --> 
    23/05/2009 10:59:01 AM --><< Play RTSP >>
    23/05/2009 10:59:01 AM -->PLAY rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM --><< Connecting >>
    23/05/2009 10:59:01 AM -->KDebugMsg - Sending
    23/05/2009 10:59:01 AM -->PLAY rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra RTSP/1.0
    
    
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - Receiving
    23/05/2009 10:59:01 AM -->iResponseChunk
    23/05/2009 10:59:01 AM -->RunL
    23/05/2009 10:59:01 AM -->KDebugMsg - ReceivedChunk
    23/05/2009 10:59:01 AM --><< Response >>
    23/05/2009 10:59:01 AM -->RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Server: Helix Server Version 11.1.7.3406 (linux-rhel4-i686) (RealServer compatible)
    Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN
    TurboPlay: 1
    RTSP/1.0 200 OK
    Date: Sat, 23 May 2009 10:59:04 GMT
    Content-base: rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio1/live/r1_dsat_g2.ra/
    Vary: User-Agent, ClientID
    Content-type: application/sdp
    x-real-usestrackid: 1
    Content-length: 4225
    et:integer;1994
    a=AvgPacketSize:integer;744
    a=IsRealDataType:integer;1
    a=Preroll:integer;2321
    a=Indexable:integer;1
    a=MaxBitRate:integer;240483
    a=MaxPacketSize:integer;744
    a=IndexOffset:integer;0
    a=NumInterleavePackets:integer;0
    a=LiveStreamducer Plus 8.5.0.391 Solaris\" ratings (SS~~000 1))"
    a=Modification Date:string;"5/21/2009 6:06:28"
    a=Generated By:string;"RealMedia Build Engine 6.0.11.402 Unix"
    a=Target Audiences:string;"28K Modem (20 Kbps);56K Modem (34 Kbps);"
    a=Video Qualit000
    a=fmtp:101 
    a=mimetype:string;"audio/x-pn-multirate-realaudio-live"
    a=MinimumSwitchOverlap:integer;200
    a=StartTime:integer;0
    a=AvgBitRate:integer;64083
    a=AvgPacketSize:integer;744
    a=SeekGreaterOnSwitch:integer;0
    a=Preroll:integer;4642
    a=

  5. #5
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to play wmv file using CVideoPlayerUtility?

    Hi

    After long time, sorry for that because i was on holiday, now i am back.
    Still i am not getting any response

    Please help me now i have no more time for finish this project, please please help me.

    I want to play .wmv file in my streaming application, for play .wmv streaming audio/video need converter. but i don't know where is the buffer data for playing streaming packet?

    see my following post, this is a log data which is send request to streaming server and get response.

    So please tell me which data useful for play streaming data.

    I am waiting for your response. please help me.

    Regards,
    SymbianTH

  6. #6
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to play wmv file using CVideoPlayerUtility?

    Quote Originally Posted by walkl View Post
    Windows Media formats are not supported by any Nokia devices. Of course you can implement/port your own WMV/WMA codecs and streaming protocols to S60, but even so you can not use CVideoPlayerUtility class.
    Hi

    If you have any idea, solution or snippet for implement own WMV/WMA codecs than please help me.

    Regards,
    SymbianTH

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to play wmv file using CVideoPlayerUtility?

    You can find an open source Ogg Vorbis codec for Symbian, based on that you can start developing your WM* codecs. Also note that ffmpeg probably supports Windows Media, so you can try build it (or its WM-related parts) using OpenC/C++.

  8. #8
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to play wmv file using CVideoPlayerUtility?

    Quote Originally Posted by wizard_hu_ View Post
    You can find an open source Ogg Vorbis codec for Symbian, based on that you can start developing your WM* codecs. Also note that ffmpeg probably supports Windows Media, so you can try build it (or its WM-related parts) using OpenC/C++.
    Hi

    Thanks for this help.
    I download zip file from http://sourceforge.net/project/showf...kage_id=203905

    but it contains .sis file, not include any source code, so how i can use with my s60 3rd edition FP1 and FP2 application?

    Regards,
    SymbianTH

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to play wmv file using CVideoPlayerUtility?

    You may want to get the source code from the CVS.

Similar Threads

  1. MBM image is not found
    By tamhanna in forum Symbian
    Replies: 14
    Last Post: 2009-04-20, 12:44
  2. unable to play the rm file
    By sunnie_y2s00 in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2007-06-02, 09:16
  3. How to play forward locked(mp3) file
    By prasad4ever in forum OMA DM/DS/CP
    Replies: 7
    Last Post: 2007-05-23, 13:42
  4. Replies: 3
    Last Post: 2006-12-04, 20:10
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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