URGENT - video playing problem

by manoj » Sat, 07 Mar 2009 17:32:12 GMT


Sponsored Links
 Hi,

I have written a small video playing application.

I installed it on Android dev phone.

I am trying to play a video file, but got the following error.

E/QCvdecH264(   31): get_parameter: unknown param 0ff7a347
W/QCvdec  (   31): vdec: opened
W/QCvdec  (   31): VDL_Configure_HW: Interface Not supported
E/QCvdec  (   31): Driver Layer hardware config failed with error code
7
W/QCvdec  (   31): error - H264Decoder::InitializeDecInternal()
failed!!
W/QCvdec  (   31): There is no input node available
E/QCvdec  (   31): partner/qct/proprietary/libOmxH264Dec/
vdecoder_i.cpp:952 *** ERROR ASSERT(0)
W/        (   31): [vdec_core] vdec_queue error: 5
W/        (   31): [vdec_core] frame buffer malloc failed, index: 8
W/QCvdec  (   31): Unable to allocate buffers (out of memory)
W/QCvdec  (   31): VDL_Configure_HW: Interface Not supported
E/QCvdec  (   31): Driver Layer hardware config failed with error code
7
W/QCvdec  (   31): error - H264Decoder::InitializeDecInternal()
failed!!

can any one please help me to solve this problem.

Thanks,
Manoj.
--~--~---------~--~----~------------~-------~--~----~



URGENT - video playing problem

by Freepine » Sat, 07 Mar 2009 19:29:33 GMT


 It looks Qualcomm omx decoder couldn't be initialized successfully for your
video clip. Perhaps you can try with another video file.





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


Sponsored Links


URGENT - video playing problem

by manoj » Sat, 07 Mar 2009 19:34:33 GMT


 can't I do anything to play it perfectly?

Thanks,
Manoj.




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



URGENT - video playing problem

by Freepine » Sat, 07 Mar 2009 19:44:25 GMT


 Probably not:)







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



URGENT - video playing problem

by manoj » Sat, 07 Mar 2009 19:47:05 GMT


 thanks for your reply.







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



URGENT - video playing problem

by Freepine » Sat, 07 Mar 2009 19:59:13 GMT


 You are welcome, and It might be possible to use a video transcode tool to
convert the original clip to lower profile, resolution or frame rate, but I
guess using another file would be the easiest way :)








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



URGENT - video playing problem

by manoj » Sat, 07 Mar 2009 20:03:43 GMT


 can you please suggest me how to use the transcode tool to convert the
original clip to lower profile?

I will be thankful to you if I got this answer.

Thanks,
Manoj.








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



URGENT - video playing problem

by Freepine » Sat, 07 Mar 2009 20:09:16 GMT


  have no specific knowledge about the error code returned ( perhaps a
Qualcomm or HTC guy can give some hints:), so I can't give you concrete
suggestions about what to do exactly...
Anyway, I did a search in google and found below link might be helpful to
you:
http://techlime.com/mobiles-cellphones-handhelds-pda/mp4htchd-new-easy-video-transcoding-tool-for-the-htc-touch-hd

On Sat, Mar 7, 2009 at 8:03 PM, manoj <manojkumar.m...@gmail.com> wrote:


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



URGENT - video playing problem

by Dave Sparks » Sun, 08 Mar 2009 02:21:51 GMT


 he H.264 codec in the G1 is baseline profile Level 1.3. Maximum frame
size is 480x320 (happily the same dimensions as the screen).
Recommended maximum bit rate is 384Kbps. Maximum frame rate is 30 fps.
It does not support B-frames (consistent with baseline profile). If
you stay within these bounds, you should have good performance.

That said, with a good encoder, you can push the bit rate a bit
higher. The important thing is that it not be too bursty, the decoder
can handle a few frames at double the bit rate, but eventually it will
fall behind. I've even had the audio track screw up when I pushed it
too hard.

On Mar 7, 4:08am, Freepine <freep...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Using Preferences to login?

Hi,
I want to use Preferences to get data in EditText to login my app. So
I can get data in EditText but I can't compare the data of EditText in
file Login and in file Preferences. Would you tell me how I can do?
Preferences file :
XML:

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/
android">
     <PreferenceCategory android:title="UserName">
          <EditTextPreference
               android:key="cusername"
               android:title="Change UserName"
               android:summary="Click to pop up a field for entry"
               android:dialogTitle="Enter new User"/>
     </PreferenceCategory>
     <PreferenceCategory android:title="Password">
          <EditTextPreference
               android:key="cpassword"
               android:title="Change Password"
               android:summary="Click to pop up a field for entry"
               android:password="true"
               android:dialogTitle="Enter new Password"/>
     </PreferenceCategory>
</PreferenceScreen>

Java:
Java:

import android.os.Bundle;
import android.preference.PreferenceActivity;

public class ChangeUser extends PreferenceActivity {
     @Override
      protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           addPreferencesFromResource(R.xml.changeuser);
     }
}


This is my Login file:
Java:

public class Login extends Activity  {
        private TextView tempUser;
     private TextView tempPass;

     private EditText eUser;
     private EditText ePass;
     private Button mLog;
     private Button mClose;
 public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login);

        eUser = (EditText) findViewById(R.id.username);
        ePass = (EditText) findViewById(R.id.password);

        SharedPreferences
prefs=PreferenceManager.getDefaultSharedPreferences(this);
        tempUser.setText(prefs.getString("cusername", ""));
        tempPass.setText(prefs.getString("cpassword", ""));

        mLog = (Button) findViewById(R.id.loginbutton);
        mLog.setOnClickListener (mLogListener);
        mClose = (Button) findViewById(R.id.closebutton);
        mClose.setOnClickListener (mCloListener);
}
 private OnClickListener mLogListener = new OnClickListener()
{
     public void onClick(View v) {

     }
    };

    private OnClickListener mCloListener = new OnClickListener() {
     public void onClick(View v) {
          finish();
     }
    };
}

Login.xml
XML:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
     android:layout_width="fill_parent"
        android:layout_height="fill_parent">
<ScrollView
     android:layout_width="fill_parent"
        android:layout_height="fill_parent">
<LinearLayout
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:scrollbars="vertical">
     <TextView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical|center_horizontal|
center"/>
     <TextView
         android:id="@+id/logintext"
         android:layout_height="wrap_content"
         android:text="TEST"
          android:textStyle="bold"
          android:textSize="20px" android:layout_gravity="center"
android:layout_width="fill_parent"/>
     <TextView
          android:layout_width="fill_parent"
          android:layout_height="20px"
          android:layout_gravity="center_vertical|center_horizontal|
center"/>
     <TextView
         android:id="@+id/usertext"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:layout_gravity="center_vertical|center_horizontal|
center"
         android:text="USERNAME"/>
    <EditText
         android:id="@+id/username"
         android:layout_height="wrap_content"
          android:focusableInTouchMode="true"
          android:layout_gravity="center_horizontal"
          android:layout_marginRight="5dip"
          android:layout_marginLeft="5dip"
          android:layout_width="320dip" android:singleLine="true"
android:focusable="true"/>
     <TextView
          android:layout_width="fill_parent"
          android:layout_height="10px"
          android:layout_gravity="center_vertical|center_horizontal|
center"/>
     <TextView
         android:id="@+id/passtext"
         android:text="PASSWORD"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:layout_gravity="center_vertical|center_horizontal|
center"/>
    <EditText
         android:id="@+id/password"
         android:layout_height="wrap_content"
          android:focusableInTouchMode="true"
          android:layout_gravity="center_horizontal"
          android:layout_marginRight="5px"
          android:layout_marginLeft="5dip"
          android:layout_width="320dip"
          android:password="true" android:singleLine="true"/>
     <TextView
          android:layout_width="fill_parent"
          android:layout_height="30px"
          android:layout_gravity="center_vertical|center_horizontal|
center"/>
<LinearLayout
     android:orientation="horizontal"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:layout_width="wrap_content">
     <Button
         android:id="@+id/loginbutton"
         android:layout_height="50dip"
          android:text="LOGIN"
          android:layout_width="103dip"/>
     <Button
          android:id="@+id/closebutton"
          android:layout_height="50dip"
          android:text="CLOSE"
          android:layout_width="103dip"/>
</LinearLayout>
     <TextView
          android:layout_width="fill_parent"
          android:layout_height="30px"
          android:layout_gravity="center_vertical|center_horizontal|
center"/>
</LinearLayout>
</ScrollView>
</RelativeLayout>


Thanks,

--Alex
--~--~---------~--~----~------------~-------~--~----~

2. Android Killswitch

I am looking for any information on the Android Kill switch ?
Is this a application ? is it a service ? is it part of Cupcake ?
What
is the path in the source code  for kill switch ?
Please help
--~--~---------~--~----~------------~-------~--~----~

3. Doesn't Android-1.0 support Recording Video well?

4. How to communicate between 2 activities

5. How to use two different icon in two different themes

6. restore savedInstance

7. how to send mail in SDK 1.5