MPEG-4 vendor plugin data buffers

by HV » Wed, 16 Jun 2010 19:37:20 GMT


Sponsored Links
 Hi Folks,

 I have completed the plugin part and calling my decoder library using
the incoming buffers, but I have run into a strange issue. The 1st
buffer starts off OK with the VOL start code and the associated start
code. But after the VOL data ends, I was expecting the VOP start code/
data to start, but I see some junk (I've compared against the actual
bit-stream). Any idea why this is so?

 However, my decoder is able to decipher the VOL data correctly and
then I start reading the next buffer which indeed starts off with the
VOP header but the data does NOT point to the 1st I-Frame at all. It's
way off somewhere (again compared against the input file). I'm
guessing this problem will go away if I can fix the 1st issue (no VOP
start code following the VOL data).

 Also, I see that all the buffers (I get 3 calls into EmptyThisBuffer)
are of the same size (80 bytes). Would appreciate any feedback

Best regards
HV

-- 



MPEG-4 vendor plugin data buffers

by HV » Wed, 16 Jun 2010 22:11:30 GMT


 My bad on the size, I was using nSize instead of nFilledLen and hence
was always getting 80. With that change, I see that to being with i
get 32 bytes and then there is a huge chunk coming in which is indeed
the VOP data, but it is still not associated with the 1st I-frame!!

Next I took out my .cfg file and let the PV software based decoder
take over & printed the 1st few bytes of the input data. To my
surprise, I see the same data there as well. Is the MPEG-4 demux is
manipulating data here??

HV




-- 


Sponsored Links


MPEG-4 vendor plugin data buffers

by HV » Thu, 17 Jun 2010 16:06:43 GMT


 I checked with multiple clips and see the same behavior (the PV s/w
decoder does NOT get the 1st I-Frame). That said, what I'm confused
about is, how is it able to display the 1st I-Frame in the thumbnail
(within gallery)??

HV





-- 



Other Threads

1. Local service: how to tell activity when done?

Hi there,

starting from the example ServiceStartArguments.java of the "API
demos", the service "ServiceStartArguments" is creating a new Handler
object (ServiceHandler) which does all the work in a separate thread.
Once that work is completed, how can I tell other components that my
work is finished, and also provide data (that resulted from the work)
to them?

I tried something like startActivity(intent_transferred_via_msg) which
does not work, I'll get an exception because I call it "outside of the
service", which is technically true.

Greetings
--~--~---------~--~----~------------~-------~--~----~

2. access to internal telephony

Hello,

are there plans to make com.android.internal.telephony available public? As 
far as I understand it is currently not possible to write e.g. an answering 
machine "within" the current framework (standard sdk), because direct access 
to "acceptCall" and hangup methods is missing.

Best
G. Mudersbach


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

3. DownLoadManager does not work with proxy

4. runtime window layout change

5. How to start the BroadcastReceiver

6. Playing Hide and seek with menu items

7. (OT) Is the combination of Android Market and Google Checkout a joke?