playing YUV files from generated by the PVplayer test

by George C » Wed, 21 Apr 2010 06:30:50 GMT


Sponsored Links
 Hello,

I am trying  to visualize the out put of PVPlayer unit tests.
I ran the PVPlayer  Test Case 1. It looks that it ran successfully.
Then I tried to play/visualize  the output file generated by this test
i.e. "test_player_openplaystop_test_mp4_video.dat". My understanding
is that  the output is a YUV 420 file, however the tools I used
( YUVPlayer Deluxe and YUVTools3.0 ) cannot play it or more precisely
the output displayed is bogus (nothing to do with the input test file
test.mp4, just a bunch of distorted colors). The same happened when I
ran other tests (for instance Test 54). Any suggestion why these files
cannot be played/visualized?

Thanks,

George

-- 



Other Threads

1. How to Handle Multiple Adapters for one ListView

Currently I'm trying to find an efficient way to handle the following
scenario.  Please comment on my current implementations and all
feedback is greatly appreciated!

I have about 7 adapters with data.  This data comes from database and
some come from xml queries over the internet which are kept static in
memory.  In my current implementation I re-use one ListView constantly
to display this data as requested by the user.

Here are the questions:
1. Is this a proper approach? or should I have a ListView for every
Adapter?

2. Every time I re-use that ListView I just use setAdapter( adapter )
and it replaces any data with the new data.  Is this a proper way to
do it?  What about if one adapter requires a header view and than I
place a new adapter to it?


There are many cases I can mention here but my main concern is if I
need to massage the ListView every time I set a new adapter and if I'm
adding a header view for certain adapters?

Thanks and sorry for the semi explanatory post...
Moto!
--~--~---------~--~----~------------~-------~--~----~

2. accessing local content from webview

i realise there's plenty of prior art around the network on this one, 
i'd like the official line if possible.

i'm wondering why i can't reference static local content in a page 
which is coming in off the network. the specific situation i have is 
that my application's HTML depends on fairly heavy javascript 
libraries and currently i have to drag them off the network each time 
a page loads.

ideally i would be able to reference these cached copies with <script 
src=file:///android_asset... /> but it seems that this is 
specifically not allowed.

initially i tried getting round this by writing a content provider, 
but then  i got the error "this file can not be opened as a file 
descriptor, it is probably compressed" on calling 
assetmanager.openfd(). er, what? i can get a stream to a file in a 
zip, why can't the asset manager?

is there a way around this? i'm still not really seeing why it's a 
security issue to load stuff out of your own apk.

(and, as always, the list hates any address i register with it, so 
please copy me directly on any replies.)

thanks muchly
-- 
jason.software.particle

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

3. Audio Recording not working in Android

4. Setting a scrollbar position.

5. Android TLS implementation

6. Need some help with Intent Filter to add my app to other menu's

7. get geolocation from a website