video encoding on device

by berliner » Thu, 15 Jul 2010 16:48:32 GMT


Sponsored Links
 Hi,

I'm working on a project whose objective is to show synthesized video messages 
to the user. The first approach was to do the video / image processing directly 
on the device. But I'm not sure anymore that this is good idea. The basic 
workflow for the service (and the activity that shows the final video) I want 
to create is to generate a set of images based on speech parameters, using a 
c++ library (AAM Library:  http://code.google.com/p/aam-library ). That works so 
far, takes a bit time but this step is not so time critical. For the 
presentation to the user I figured that it would need a video file in order to 
show a proper animation. At the beginning I did the image animation with the 
animation class on the java side, but since all images need to be decoded into 
bitmaps this is hitting the memory limit very fast (working on the emulator), 
after approximately 40 to 50 images. So that seems to be the wrong way. The 
next idea was to use ffmpeg to generate the video on the c / c++ side of the 
application. But I suppose (without experience) that using ffmpeg would hit 
memory limits as well.

What would be the alternatives to the described approach? Video processing on a 
server and streaming of the generated video to the device?
I would be thankful about any hints, experience or general suggestions.

best regards,
berliner

--



video encoding on device

by berliner » Fri, 16 Jul 2010 07:17:55 GMT


 Hi,

I'm working on a project whose objective is to show synthesized video messages 
to the user. The first approach was to do the video / image processing directly 
on the device. But I'm not sure anymore that this is good idea. The basic 
workflow for the service (and the activity that shows the final video) I want 
to create is to generate a set of images based on speech parameters, using a 
c++ library (AAM Library:  http://code.google.com/p/aam-library ). That works so 
far, takes a bit time but this step is not so time critical. For the 
presentation to the user I figured that it would need a video file in order to 
show a proper animation. At the beginning I did the image animation with the 
animation class on the java side, but since all images need to be decoded into 
bitmaps this is hitting the memory limit very fast (working on the emulator), 
after approximately 40 to 50 images. So that seems to be the wrong way. The 
next idea was to use ffmpeg to generate the video on the c / c++ side of the 
application. But I suppose (without experience) that using ffmpeg would hit 
memory limits as well.

What would be the alternatives to the described approach? Video processing on a 
server and streaming of the generated video to the device?
I would be thankful about any hints, experience or general suggestions.

best regards,
berliner

--


Sponsored Links


video encoding on device

by berliner » Fri, 16 Jul 2010 07:18:51 GMT


 Hi,

I'm working on a project whose objective is to show synthesized video
messages to the user. The first approach was to do the video / image
processing directly on the device. But I'm not sure anymore that this
is good idea. The basic workflow for the service (and the activity
that shows the final video) I want to create is to generate a set of
images based on speech parameters, using a c++ library (AAM Library:
 http://code.google.com/p/aam-library ). That works so far, takes a bit
time but this step is not so time critical. For the presentation to
the user I figured that it would need a video file in order to show a
proper animation. At the beginning I did the image animation with the
animation class on the java side, but since all images need to be
decoded into bitmaps this is hitting the memory limit very fast
(working on the emulator), after approximately 40 to 50 images. So
that seems to be the wrong way. The next idea was to use ffmpeg to
generate the video on the c / c++ side of the application. But I
suppose (without experience) that using ffmpeg would hit memory limits
as well.

What would be the alternatives to the described approach? Video
processing on a server and streaming of the generated video to the
device?
I would be thankful about any hints, experience or general
suggestions.

best regards,
berliner

--



Other Threads

1. Ko ga bisa buka Root Explorer yah? ada yang tau kenapa?

ada yang pernah ngalamin jg ga nih?




-- 
"Indonesian Android Community [id-android]" 

2. Kalo Cara aktifin APPS2SD gimana ya? HTC MAGIC 32A Eclair 2.1 [MADE BY ME/XDA DEVELOPER]

Bro, pake handset apa? Dan skr lagi pakai rom apa?




hee,,,

maksih om info nya,mungkin penghuni dari milis ini ada yang tau.hee

yang lengkapnya yang lain ada yang tau kali,ato ngga
threadnya...hehehhehe







...
<id-android%2bunsubscr...@googlegroups.com<id-android%252bunsubscr...@googlegroups.com>

> id android Developer:

3. Kalo Cara aktifin APPS2SD gimana ya? HTC MAGIC 32A Eclair 2.1 [MADE BY ME/XDA DEVELOPER]

4. Ko ga bisa buka Root Explorer yah? ada yang tau kenapa?

5. Dialer One

6. HTC Desire's Sense UI ported to Droid

7. Animation fillAfter(true) and click locations