H.264 Encoding Not Working

by Tom » Tue, 08 Mar 2011 05:45:33 GMT


Sponsored Links
 Hello,

I have an unresolved problem with h.264 encoding on my HTC MyTouch 3G
Slide. Rather than repeating my tale of woe here, I will link you to
it:

 http://stackoverflow.com/questions/5146661/android-video-encoding-h-264-and-setting-framerate-not-working 

I really need to be able to use H.264 encoding for my senior design
project. Any ideas would be greatly appreciated!

-Tom

-- 



Re: H.264 Encoding Not Working

by Doug » Tue, 08 Mar 2011 16:53:36 GMT


 Does your device support h264 encoding?

 http://developer.android.com/guide/appendix/media-formats.html 

Spoiler: the answer is "no" since it does not run Android 3.0.

Doug




-- 


Sponsored Links


Re: H.264 Encoding Not Working

by gjs » Wed, 09 Mar 2011 05:31:02 GMT


 Hi,

Query the CamcorderProfile to see what is supported, then try setting
parameters accordingly -

 http://developer.android.com/reference/android/media/CamcorderProfile.html 

Regards





-- 



Other Threads

1. tslib issue...

1) Please find below the commands I used to build TSLIB.


-I/usr/local/android/tools/arm-2007q1/lib" --enable-all-static --
disable-shared --prefix=/usr/local/android/andfs1-bkup/system



Is there any problem in the configure command?

How do I build the plugins of tslib?


2) Also I tried changing the ./configure command as below:

 ./configure  --host=arm-none-linux-gnueabi LDFLAGS="--static
 -L/usr/local/android/andfs1-bkup/system/lib" --enable-debug
 --disable-shared --prefix=/usr/local/android/andfs1-bkup/system/
 --enable-static

During make, I get the following warning:

"warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking"

Android does not use glibc instead it uses bionic.
Could this be a problem why I'am not able to statically build tslib?

Regards,
Divya


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. managedQuery cursor causes crash, need help

Hello,

Can someone help me take a look at some of the code I've written and
tell me what is wrong with my use of managedQuery? My app crashes
whenever I manage to change from landscape to portrait as my adapter
is still loading data from a managed cursor, or by pressing the home
button or opening something else that pauses/stops my activity.

I have a background service that loads data into an SQLite database
that is accessible via a content provider as illustrated in the
documentation and in several of the same applications. I've found it
really hard to trace this down to any specific point in the
application other than it takes place shortly after postResume().

Here is the main activity that contains the list that uses the managed
cursor:
http://code.google.com/p/andtweet/source/browse/trunk/src/com/xorcode/andtweet/view/TweetList.java

Also, here is my detail view of a list item:
http://code.google.com/p/andtweet/source/browse/trunk/src/com/xorcode/andtweet/view/Tweet.java

And here is my service:
http://code.google.com/p/andtweet/source/browse/trunk/src/com/xorcode/andtweet/AndTweetProvider.java

I do not call cursor.close() anywhere as far as I can tell, so what
closes the cursor? And why is the ListView or whatever still trying to
read data from the cursor if it has been handled by the life cycle of
the activity and as such closed before the ListView is stopped/
destroyed?

I am at my wits end with these managed cursors. What am I doing wrong?

Thankful for any kind of light you guys can shed on this. Let me know
if you need stack traces or anything like that and I'll send them
over!

Warm Regards,
Torgny
--~--~---------~--~----~------------~-------~--~----~

3. XMPP file Transfer

4. Android Dev Phone 1

5. SurfaceFlinger and HW integration.

6. Tmobile Android touch screen not working after 2 minutes broswing.

7. touch hanging