Android codec support questions

by F H » Fri, 06 Mar 2009 16:56:44 GMT


Sponsored Links
 As I understand it devices can extend the audio encoders (and other codecs)
available.  The format to be used for recording is specified by an enum
value (AMR).  If I wanted to add an mp3 encoder for audio, are there a
pre-allocated enum for this somewhere. (We can't all go inventing our own).

Also where H263 is specified as a base android codec - is that H263, H263+
or H263++ flavour?

Lastly, am I right in saying that there's no video recording in Android at
the moment (or is it there in cupcake, but not v 1.0?)

Many Thanks.

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

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



Other Threads

1. Problem for porting g-sensor driver

Hi,
I implemted a g-sensor driver as input device. I could see a node
created in \dev\input. I also could get event when i shake the g-
sensor. During boot up, i saw following message from user layer.

I/SystemServer( 1869): Starting Sensor Service.
W/HAL     ( 1869): load: module=/system/lib/hw/sensors.smdkc100.so
error=Cannot find library
W/HAL     ( 1869): load: module=/system/lib/hw/sensors.default.so
error=Cannot find library
I/SystemServer( 1869): Starting Window Manager.
W/HAL     ( 1869): load: module=/system/lib/hw/sensors.smdkc100.so
error=Cannot find library
W/HAL     ( 1869): load: module=/system/lib/hw/sensors.default.so
error=Cannot find library
D/SensorManager( 1869): found sensor: null, handle=0

Is there anyone known why sensormanager could not find sensor handle?
Do i need to register my driver specifically?

Thanks!

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

2. Sorry,can't play this video

Hi,

We are porting Android1.6 SDK on OMAP 3430 board.
While the board is booting correctly & showing different Android
Application icons on screen,
it is unable to display video on screen.

We tried to play a file with .mp4 type using Meridian video player, &
when we start player,
it shows the error message as "Sorry,can't play this video". & NOTHING
HAPPENS AFTERWARDS.


The audio files are being played successfully but its not playing
video on screen.

I am showing logcat message at the time when we started the Meridian
video player.



VideoView( 1000): reset duration to -1 in openVideo
I/ActivityManager(  827): Displayed activity
org.iii.ro.iiivpa/.VideoPlay: 519 ms (total 519 ms)
D/VideoMio34xx( 1017): Creating Vendor(34xx) Specific MIO component
D/VideoMio34xx( 1017): Calling Vendor(34xx) Specific initCheck
D/VideoMio34xx( 1017): Use Overlays
V/VideoMio34xx( 1017): using Vendor Speicifc(34xx) codec
D/VideoMio34xx( 1017): number of buffers = -19
V/VideoMio34xx( 1017): sendEvent(MEDIA_SET_VIDEO_SIZE, 240, 210)
<6>binder: release 1017:1028 transaction 5106 in, still active
binder: release 1017:1028 transaction 5106 in, still active
<6>binder: send failed reply for transaction 5106 to 1000:1000
binder: send failed reply for transaction 5106 to 1000:1000
I/ServiceManager(  802): service 'media.audio_flinger' died
I/ServiceManager(  802): service 'media.player' died
I/ServiceManager(  802): service 'media.camera' died
W/AudioSystem(  827): AudioFlinger server died!
W/MediaPlayer( 1000): MediaPlayer server died!
E/MediaPlayer( 1000): error (100, 0)
E/MediaPlayer( 1000): Error (100,0)
D/VideoView( 1000): Error: 100,0
I/        ( 1032): ServiceManager: 0xac38
W/AudioHardwareInterface( 1032): Creating Vendor Specific
AudioHardware
E/ALSALib ( 1032): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
E/AudioHardwareALSA( 1032): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/ALSALib ( 1032): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidRecord
E/AudioHardwareALSA( 1032): Unable to attach mixer to device
AndroidRecord: No such file or directory
W/HAL     ( 1032): load: module=/system/lib/hw/acoustics.omap3430.so
error=Cannot load library: load_library[984]: Library '/syste
m/lib/hw/acoustics.omap3430.so' not found
W/HAL     ( 1032): load: module=/system/lib/hw/acoustics.ldp1.so
error=Cannot load library: load_library[984]: Library '/system/li
b/hw/acoustics.ldp1.so' not found
E/ALSALib ( 1032): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
I/AudioHardwareALSA( 1032): Initialized ALSA PLAYBACK device default
I/AudioFlinger( 1032): AudioFlinger's thread ready to run for output 0
E/ALSALib ( 1032): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
E/ALSALib ( 1032): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib ( 1032): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
E/AudioService(  827): Media server died.
I/ServiceManager(  827): Waiting for sevice media.audio_flinger...
I/AudioHardwareALSA( 1032): Initialized ALSA PLAYBACK device default
I/CameraService( 1032): CameraService started: pid=1032
E/AudioService(  827): Media server started.

 CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.3    | VT102 |
Offline


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

3. Poll Screen On/Off state

4. Is the SQLiteDatabase thread-safe?

5. Market search and Top free/paid result order

6. ActivityThread.ContextCleanupInfo leaking memory?

7. wrong intent getting supplied to OneTimeAlarmReceiver.