Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2003
    Nice, France

    Playing 2 Videos without "waiting time"?

    Hi all.

    I am trying to play 2 videos successively, and hoping that there will be no "idle time" between the 2 plays.

    Unfortunately, nothing I tried worked...

    I initialized one CVideoPlayerUtility, and I prepared the first video (OpenFileL and Prepare on MvpuoOpenComplete).
    On MvpuoPrepareComplete, I play the first one (Play).
    On the MvpuoPlayComplete(), I prepare the second video by calling OpenFileL - but MvpuoOpenComplete is never called, and the application quits without any warning or error...

    The only way I found to play 2 videos was to delete the CVideoPlayerUtility and to recreate it - which of course is not matching the "no delay between 2 videos" need...

    I also tried to create 2 CVideoPlayerUtility, and to prepare the second one on the MvpuoPrepareComplete of the first one, but as soon as I call the OpenFileL for the second, application quits again without any warning - and the first time I tried, the phone restarted!!

    It seems it's not possible to do what I want - or did I miss something?

    Thanks for your attention,

  2. #2
    Regular Contributor
    Join Date
    Oct 2005
    London, UK

    Re: Playing 2 Videos without "waiting time"?

    Im still new to symbian programming but not new to programming in general. So my thinking is, why not create two threads, one for each video, create ur video player in each thread so its all set up and ready to play, then one finishes playing u can tell the second to start.
    Viru Doshi
    ~ No Style Without Substance ~

Similar Threads

  1. amr file not playing full
    By S.S.Sudhakar in forum Symbian
    Replies: 9
    Last Post: 2008-01-17, 11:22
  2. Callback after audio file stopped playing
    By gojkoa in forum Symbian
    Replies: 6
    Last Post: 2005-11-18, 09:11
  3. AudioStream playing is interrupted.
    By khurshed79 in forum Symbian
    Replies: 0
    Last Post: 2005-09-11, 15:35
  4. Incoming phone call messes up video playing
    By shairetd in forum Mobile Java General
    Replies: 3
    Last Post: 2005-04-20, 17:12
  5. Playing back many videos with the MMAPI
    By delpiano in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2005-01-18, 04:15

Posting Permissions

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