How to overlay text on video from camera (using Mediarecorder)

by 小械褉谐械泄 袦邪褑邪泻 » Fri, 23 Apr 2010 08:02:10 GMT


Sponsored Links
 How to overlay text or any other object(image or draw something)
during recording video from camera using Mediarecorder ?
For example I need to record video with date and time over.
Is it any way to overlay or draw something ?

--



Other Threads

1. Question: How to do EXIF reading and writing

Hi everyone,

I've been looking around on the net and in this group, but i have not
found any java package that can read and write EXIF data.

I tried Sanselan. They say they don't use ImageIO/AWT, but they
actually do use AWT. The class can not be loaded because there is an
AWT dependency:

06-17 18:18:36.883: WARN/dalvikvm(11197): VFY: unable to find class
referenced in signature (Ljava/awt/image/BufferedImage;)
06-17 18:18:41.693: WARN/dalvikvm(11197): VFY: unable to find class
referenced in signature (Ljava/awt/color/ICC_Profile;)
06-17 18:18:47.433: ERROR/dalvikvm(11197): Could not find method
java.awt.color.ICC_Profile.getInstance, referenced from method
org.apache.sanselan.Sanselan.getICCProfile
06-17 18:18:47.433: WARN/dalvikvm(11197): VFY: unable to resolve
static method 1446: Ljava/awt/color/ICC_Profile;.getInstance ([B)Ljava/
awt/color/ICC_Profile;
06-17 18:18:47.433: WARN/dalvikvm(11197): VFY:  rejecting opcode 0x71
at 0x001a
06-17 18:18:47.433: WARN/dalvikvm(11197): VFY:  rejected Lorg/apache/
sanselan/Sanselan;.getICCProfile (Lorg/apache/sanselan/common/
byteSources/ByteSource;Ljava/util/Map;)Ljava/awt/color/ICC_Profile;
06-17 18:18:47.433: WARN/dalvikvm(11197): Verifier rejected class Lorg/
apache/sanselan/Sanselan;


What i want is not so much creating my own EXIF data, but preserving a
JPEG's meta-data (EXIF). I'm planning to load a JPEG, edit its bitmap
and write it out again to a(nother) JPEG with the same meta-data as
its original.

What are my options?
Thanks!
--~--~---------~--~----~------------~-------~--~----~

2. Consume a key event

I have a custom camera application...

I'm using a BroadcastReceiver to launch it when the Camera button is
pressed.  Unfortunately, once my camera app is launched the camera
button KeyDown event used to launch my camera activity is also passed
to it, which cause it to immediately attempt to capture a picture.

Is there a way to consume the KeyEvent so that this doesn't happen?

... or any other elegant solutions other then some flag toggle?

Thanks.


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

3. DEVELOPER CHALLENGE 2 - Can update of existing published app can participate?

4. Cover phone's screen & not quit

5. Does Android browser support SSL?

6. How to create an Eclipse Project for Apps-For-Android

7. How do I test an exported .apk file before shipping?