WMV codec question

by Wei » Thu, 08 Jan 2009 03:38:15 GMT


Sponsored Links
 Hi all,

As I know the WMV codec is the value add feature for PV OpenCORE.
What kind of wmv codec support by PV? WMV 8, WMV 9, VC-1

BRs,
weichung
--~--~---------~--~----~------------~-------~--~----~



WMV codec question

by Wei » Thu, 08 Jan 2009 03:41:14 GMT


 Hi all,

As I know the WMV codec is the value add feature for PV OpenCORE.
Is any one know what kind of wmv codec support by PV? WMV 8, WMV 9,
VC-1


BRs,
Wei
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


WMV codec question

by rktb » Thu, 08 Jan 2009 03:50:17 GMT


 Hi,

VC-1 is the standard. WMV9 is an implementation. PV supports WMV7,
WMV8, and WMV9.


-Ravi



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



WMV codec question

by Weichung Tseng » Thu, 08 Jan 2009 04:30:02 GMT


 Hi Ravi,

If we have VC-1 HW codec, is the PV wmv parser support the HW decoder?

- wei

2009/1/8 rktb <yend...@pv.com>



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



WMV codec question

by rktb » Thu, 08 Jan 2009 05:07:13 GMT


 Hi,

Is your codec OMX compliant? Or, do you plan to wrap it inside it's
own node?

-Ravi




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



WMV codec question

by Wei » Thu, 08 Jan 2009 06:18:19 GMT


 Hi,

The codec will be a OMX compliant.
I hope I can use pv decoder node.






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



WMV codec question

by rktb » Thu, 08 Jan 2009 09:24:31 GMT


 Ok. The ASF parser should then be able to support your OMX codec.

-Ravi






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



WMV codec question

by Wei » Fri, 09 Jan 2009 02:11:58 GMT


 okay,
the ASF parser need to license, is that correct?





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



WMV codec question

by Wei » Fri, 09 Jan 2009 03:19:03 GMT


 okay,
the ASF parser need to license, is that correct?
And the VC-1 can not compatibly with wmv7 & 8,
Is the parser supoort to separate to wmv 7/8 & wmv 9 for HW OMX
codec?

~ wei




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



WMV codec question

by umesh » Fri, 06 Mar 2009 23:26:27 GMT


 So whatever the android open source we get does it support VC-1
software code  (wmv9,wmv8,wmv7).
Because whenever I am trying to play the file I get error  E/
MediaPlayer( 1119): error (-4, 0)  that mean not supported.




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



WMV codec question

by rktb » Sat, 07 Mar 2009 00:07:43 GMT


 Yes. ASF parser needs to be licensed.

The parser is the same irrespective of the codec.


-Ravi




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



WMV codec question

by rktb » Sat, 07 Mar 2009 00:10:09 GMT


 OpenCORE does not support VC1/WMV.

-Ravi





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



Other Threads

1. OpenGL texture corrupted when there's an interruption.

I took the source from API demos (TriangleRenderer.java)

Here's the code on how textures are loaded in onSurfaceCreated():

////////////////////////////////////////////////////////////////
/*
         * Create our texture. This has to be done each time the
         * surface is created.
         */

        int[] textures = new int[1];
        gl.glGenTextures(1, textures, 0);

        mTextureID = textures[0];
        gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);

        gl.glTexParameterf(GL10.GL_TEXTURE_2D,
GL10.GL_TEXTURE_MIN_FILTER,
                GL10.GL_NEAREST);
        gl.glTexParameterf(GL10.GL_TEXTURE_2D,
                GL10.GL_TEXTURE_MAG_FILTER,
                GL10.GL_LINEAR);

        gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,
                GL10.GL_CLAMP_TO_EDGE);
        gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T,
                GL10.GL_CLAMP_TO_EDGE);

        gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,
                GL10.GL_REPLACE);

        InputStream is = mContext.getResources()
                .openRawResource(R.drawable.robot);
        Bitmap bitmap;
        try {
            bitmap = BitmapFactory.decodeStream(is);
        } finally {
            try {
                is.close();
            } catch(IOException e) {
                // Ignore.
            }
        }

        GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
        bitmap.recycle();

////////////////////////////////////////////////////////////////



And here's how I mapped my texture:

/////////////////////////////////////////////////////////////////
public void onDrawFrame(GL10 gl) {

        //Init
        gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
                gl.glMatrixMode(GL10.GL_MODELVIEW);
                gl.glLoadIdentity();

//Draw Cube
                gl.glPushMatrix();
                        gl.glTranslatef(0, 0, -2);
                        gl.glRotatef(azimuthZ, 0, 0, 1); //azimuthZ is
from the sensors
//texBuff and boxBuff are texture and box coordinates
                        gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, texBuff);
                        gl.glVertexPointer(3, GL10.GL_FLOAT, 0, boxBuff);

                        //top
                        gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);
                        //bottom
                        gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 4, 4);
                        // followed by left, right, front and back
sides...
               gl.glPopMatrix();

/////////////////////////////////////////////////////////////////
Problem:
1. The box is rendering normally.
2. I press 'Call' button, the Dialer app comes up.
3. I press 'Back' button. My box app comes up.
4. The texture became corrupted...

- This does not happen if I press back while in the box app, and re-
launch the box app.

- This also does not happen in the Textured Triangle in API demos.

I've no idea what did I do wrong. -_-

Thank you in advance.
--~--~---------~--~----~------------~-------~--~----~

2. Liniting no of values in Grid

Hello all,

Is it possible to limit the number of values in the GridView?

I want a gridView which will display only 9 elements(like Images 3X3)
at a time while user can move it in horizontal way so that next
elements will replace the current Elements in same View.


Thanks in advance.


Regards;

Swapnil Dalal.


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

3. Let a view bigger than screen

4. Back Navigation to defined Activity

5. prting procedure for Android on SMDK2440 board

6. GoogleLognServiceHelper

7. how can I use dmtracedump?