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. selecting text

Hi,
I want the user to be able to select text from the screen..much like
we do when we copy paste from one document to another. Is there an
easy way to do this? I need to know the exact string selected by the
user.

Thanks,
Sylvester
--~--~---------~--~----~------------~-------~--~----~

2. referring to res-id across packages

Hi:

  In the example
http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/view/LabelView.html
refers to
http://code.google.com/android/samples/ApiDemos/res/layout/custom_view_1.html

In java file, I see code to access new derived attributes using
"R.styleable.LabelView_textColor"

Can I access "android:background" in Java??
Given that the LabelView resides in a different package, what is the
programmatic way to access android:background in java code?  Is this
prohibited?

thanks
Jey

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

3. How to use a WindowAnimation?

4. Android Reviews

5. scalable vector graphics scalable vector graphics scalable vector graphics

6. scalable vector graphics scalable vector graphics scalable vector graphics

7. (D)GPS good to 10 cm