AV Sync

by Sukesh TM » Tue, 27 Jan 2009 02:22:56 GMT


Sponsored Links
 Hi,

Can some one tell me how is AV Sync acheived in AV playback? Is there any
tech notes available on AV Sync?

Warm Regards,
Sukesh

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



AV Sync

by Dave Sparks » Tue, 27 Jan 2009 03:47:12 GMT


 You'll find detailed information on A/V sync in the OpenCore
documents.

In the Android implementation, the audio sink adjusts the playback
clock to keep it in sync with the audio clock. If there is no audio,
the playback clock is driven by the system clock.



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


Sponsored Links


AV Sync

by Paranoia » Tue, 27 Jan 2009 10:32:54 GMT


 mediaoutputnode and audio_output_mio




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



AV Sync

by MMF » Tue, 27 Jan 2009 11:21:49 GMT


 Hi,

It would be a great help if you can explain in detail.

Thanks
~






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



AV Sync

by Paranoia » Tue, 27 Jan 2009 12:11:38 GMT


 i have no code in hand.
you can find the mediaoutputnode in opencore/nodes, where the video
clock is synced with playback clock
and audio_output_mio in opencore/android, where the playback clock is
modified by audio clock.





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



AV Sync

by Dave Sparks » Tue, 27 Jan 2009 18:12:38 GMT


 The latency reported by the audio sink is added to the timestamp of
the buffer just processed and used to update the playback clock. There
is an upper limit on the amount of clock adjustment allowed per buffer
to prevent completely stalling the video playback if the video is too
far ahead.

The playback clock in OpenCore is monotonic, so if the playback clock
is adjusted backwards, it freezes all the passive MIO's until the
adjusted playback time is greater than or equal to the previous
playback time before it is adjusted.





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



AV Sync

by hanchao3c » Thu, 29 Jan 2009 15:24:12 GMT


 Hi Spark .

I find Audio sink node can be implented base on MediaOutput
( PvmiMIOControl)  or a General Node.
Do you mean Only using MediaOutput , the Audio sink node can give
feedback to AV/Sync ?



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



AV Sync

by rktb » Thu, 29 Jan 2009 18:01:57 GMT


 Let me try to answer...

Sync is determined by comparison the playback clock. (i) Any component
can register to be notified of the clock state by registering to
PVMFMediaClockStateObserver. (ii) To obtain the clock value itself,
the component needs to implement the PvmiClockExtensionInterface
interface (method SetClock). (iii) A MIO that implements these
interfaces and makes use of them to control AV sync is known as an
Active MIO.

Now, theoretically, any component that implements these interfaces can
control the clock, and hence the AV sync. But, practically, only the
audio/video components have the means to compare the playback clock
with another time value (duration played). So, "feedback to AV/Sync"
does not depend on PvmiMIOControl.

Also, there is really no "feedback" being given during the AV sync
control. An active MIO component can only control the clock value. The
MediaOutputNodePort has a reference of the playback clock. Before
pushing out data to the corresponding MIO, it compares the clock value
against the timestamp value of the media message being pushed out. If
the playback clock is ahead of the timestamp by a fixed margin, the
media message is dropped. And so on.

-Ravi



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



AV Sync

by hanchao3c » Sat, 31 Jan 2009 14:03:21 GMT


 Thank you very much




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



Other Threads

1. Multiple alarms in sdk 2.0

hi all,
I have been working on sdk 1.6. My application used to set multiple
alarms and i could successfully execute it. But now in sdk 2.0 i have
been facing a problem. Cant set multiple alarms only the alarm set
last will be shown.Can anyone please check and let me know how to do
it.

-- 

2. Location doesn't have a bundle with satellite count any more?

Excuse me for resurrecting an old thread but there don't seem to be
any newer ones.  I can't believe there's so little comment on this.

The docs for Location still say that getExtras should return
satellites.

How's it going with you Richard?

Regards

Neil


On Oct 6, 9:53pm, Richard Schilling <richard.rootwirel...@gmail.com>







-- 

3. Kekacauan berlanjut

4. sms send error

5. project

6. Help getting platform

7. WVGA432 and long/notlong