pv: adjusting playback speed for video

by John Au » Mon, 21 Sep 2009 01:09:17 GMT


Sponsored Links
 Hi All,

I'm trying to set the fast forward button in android video view to
perform video fast forward as the iphone is doing : video playback
with faster pace, instead of jumping constant interval as in android
default video view.

I have located there is an API: PVPlayerInterface::SetPlaybackRate()
in the PV framework (pvplayer_engine_api.pdf, p19) and also the
related classes: playerdriver.h, playerdriver.cpp,
MediaPlayerInterface.h, MediaPlayerService.h, MediaPlayerService.cpp
which are crucial.

My questions are:
1. how can I implement PlayerDriver::handleGetPlaybackRate()  in
playerdriver.cpp?
   (Tthe description of GetPlaybackRate() in the
pvplayer_engine_api.pdf (p.9) is confusing, what is the appropriate
value of aTimebase if using the "real-time" clock as mediaclock time
base?


2. what should be the correct implementation in the playerdriver.cpp
for this new API with parsing values from JNI layer:
    "void PlayerDriver::handleSetPlaybackRate(PlayerGetPlaybackRate*
command)"   in playerdriver.cpp?

Thanks a lot~

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Mod: Undangan untuk Komunitas ID-Android-Dev, Press Release 'IM2 Android Application Contest'

Syarat:

1. Member milis id-android-dev:

2. MOTOROLA DROID X Atau HTC Evo 4G

Bingung neh ada yang nawarin 2 HH as Subject.
Kalau menurut teman2 milis yang mana yg baik dari segi Layar/
gambar,Suara/Speaker dan performanya..?

makasih

Regard

Putri

-- 
===============
"

3. Ganti Account di HH

4. Froyo running by 2.6.29?

5. Streaming video

6. what is the source version at the source.android.com website?

7. admob ads in android app not showing all the time