×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    36

    CVideoPlayeUtility SetPostional()

    Hi,

    I am trying to rewind video and I am using this

    if (iState != EPlaying && iState != EPaused)
    {
    // Start playing again call OpenFileL()
    }
    else if(iState == EPlaying || iState == EPaused)
    {
    TRAPD(err,iPlayer->SetPositionL(TTimeIntervalMicroSeconds(0)));

    if(err == KErrNone)
    {
    iPlayPosition = iPlayer->PositionL().Int64();
    if(iState == EPaused)
    {
    iPlayer->Play();
    iState = EPlaying;
    }

    }
    else
    {
    Stop();
    }
    }

    And I need to update elpased time also for that I am using this
    iPlayPosition = iPlayer->PositionL().Int64();

    But I am not getting updated value even I am getting that value from which point I came back to do Rewind() moreover everytime I am using Player's Positional() to get updated position.

    Please help me out what I am missing here.

    Thanks & Regards
    Isha

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

    Re: CVideoPlayeUtility SetPostional()

    Hi,

    IIRC, in a lot of devices you have to do - pause, set position, play - in order for it to work. Just setting the position while playing does not always work.

    Hope that helps,
    Mark

    P.S. I don't remember if it's in 5th Edition or not (probably not), but future versions of the platform introduce proper support for these "trick modes" (i.e. rewind and fast forward).

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    36

    Re: CVideoPlayeUtility SetPostional()

    Hi,

    Thanks for your reply. I have already tried that mean pause, setPosition and Play. It is working but there is flikering on screen and it's very well visible.How can I avoid this.

    I am using 5th Edition only.

    Any kind of the suggestions would be a great help for me.

    Thanks & Regards
    Isha

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

    Re: CVideoPlayeUtility SetPostional()

    If you are trying to implement a visible rewind (what they call a trick mode in the video world) without flicker using the current CVideoPlayerUtility (public interface at least) then you are out of luck. If you look in the video chapter (Chapter 4) of "Multimedia on Symbian OS" then you'll find this is discussed, along with the solution which arrives in the next version of the operating system (not sure exactly which release that is under the new Symbian^N naming conventions yet).

    Mark

Posting Permissions

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