Media :: Save Encoded Video Steam From Encoder And Add Custom Composer Engine?
Dec 5, 2009
First, I want to save the encoded video stream from the encoder,And then, the encoder recieves the uncompressed video stream from camera. How can my application recieve the compressed stream from the encoder?
Second, I'd like to add the custom composer engine to media framework(opencore), And then I'll use the already-launched device, HTC Hero and Motrola Droid, etc. The custom composer engine will recieve the video stream from the encoder. And, save the stream using the custom file format. Is it possible add the custome engine using the already-lauched device? If it is posselbe, where can I find the references?
View 2 Replies
Apr 23, 2010
That isn't handbrake. I can't use handbrake. I keep getting a weird error with it when I try to compile my movies to mp4. The devs for handbrake basically said they were sorry but it wont work on my system. Anyway, anyone know of a good program I can use to encode for the droid?
View 2 Replies
View Related
Jun 17, 2010
My sister sent me a text which has a .3gp video attached. I have been trying to save the video but no success. I hold down on it and nothing pops up.
View 1 Replies
View Related
Jul 31, 2009
For a research project we need to capture video on the HTC magic and transmit this video over a network to other devices, both HTC magic's and desktop pc's (which have their own implementations of the codecs).For the transmission over the network we are using some of our own native libraries, which have all compiled fine and work. These libraries work via the RTP (Real time transfer) protocol. This poses a significant problem because RTP expects detailed information about the contents of each packet (exact timestamp, sampling rate, which part of which frame is in each packet etc.) So we tried the method described at http://www.mattakis.com /blog/kisg/20090708/broadcasting-video-with-an This appears the only way to get the MediaRecorder to send it's data to our native application. So we run a server-socket on the native side, send MediaRecorder output to a FileDescriptor of a javasocket. The native side does receive data. 2 problems however :
1. Like said in the blogpost : header information etc. is not filled in, so if we write the data to file from the native-side, it's not playable.
2. The socket we write to is TCP, so a stream implementation. So there is no clear way to know where each frame begins and ends (because the data comes in continuously). And that's the main problem : we can't package the data in good RTP packets for transmission! Nor can we get good information about the timing etc. So we looked into OpenCore a little bit, hoping to be able to do it through JNI-interfaces ourselves (or maybe even directly with the native implementations from our native code). This has proven a daunting task, because so little documentation can be found on these things. So the question is : Is it possible to get the encoded video (and audio) data with clear frame-separation and good timing-information for RTP transmission? (It is not an option to use anything but RTP, as the research is partly about RTP possibilities)
View 7 Replies
View Related
Apr 16, 2009
Does anybody know of a way to directly access the Video Encoders provided by the(android.media.MediaRecorder) API? I'd like to make changes to the raw camera data "before" it gets encoded.
View 4 Replies
View Related
Nov 18, 2009
When I add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. I am not finding what I am doing wrong.
setContentView(R.layout.camera);
preview=(SurfaceView)findViewById(R.id.surface);
previewHolder=preview.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
recorder = new MediaRecorder();
String url = "/sdcard/dcim/test.3gp";
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPreviewSize(352, 288);
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(url);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(480, 320);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.prepare(); recorder.start(); Thread.sleep(100000);
recorder.stop(); recorder.release();
} catch (Exception e) { e.getMessage(); }
View 3 Replies
View Related
May 26, 2009
I've been trying to develop an application for the android 1.5 sdk version that allows the user to simply recorder a video but it has been a long road. I can record audio with the simple example on the android developers website but when I put the VideoSource and the VideoEncoder lines it gives a 100 error that means that the Camera server died. Here is an example of the code.
recorder.setCamera(mCamera); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile("/sdcard/dcim/Camera/test.3gp");
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.MPEG_4_SP);
recorder.prepare(); recorder.start(); ...
Here is the debug error messages:
05-26 11:37:55.331: INFO/ServiceManager(30): service 'media.audio_flinger' died 05-26 11:37:55.331: INFO/ServiceManager(30): service 'media.player' died 05-26 11:37:55.331: INFO/ServiceManager(30): service 'media.camera' died 05-26 11:37:55.331: WARN/MediaPlayer(690): MediaPlayer server died! 05-26 11:37:55.331: ERROR/MediaPlayer(690): error (100, 0) 05-26 11:37:55.331: WARN/Camera(1462): Camera server died! 05-26 11:37:55.331: WARN/Camera(1462): ICamera died 05-26 11:37:55.341: ERROR/MediaPlayer(690): Error (100,0) 05-26 11:37:55.341: INFO/SONGSEARCH(690): album="The Assassination of Jesse James" 05-26 11:37:55.391: INFO/DEBUG(1485): debuggerd: Apr 21 2009 13:42:23 05-26 11:37:55.401: INFO/ActivityManager(60): Displayed activity org.reccamera.com/.camera: 5276 ms 05-26 11:37:55.421: ERROR/Camera(1462): Error 100 05-26 11:37:55.421: WARN/AudioSystem(60): AudioFlinger server died!
View 2 Replies
View Related
Sep 9, 2010
I am running a version of pl3x on my Moto Droid. I am not able to play any video (even youtube via the app). I have tried both the main player and kmplayer. I actually first noticed this earlier today when trying to play a video on youtube (it worked yesterday). I have run into this in the past and wrote it off as the rom (I do not remember which one I was running at the time) but restoring from an old backup followed by install of pl3x fixed it. I am really looking for an option other than flashing my phone again since it seems to happen multiple times on multiple roms.
View 1 Replies
View Related
May 24, 2010
Does anyone know of an app that can steam 700 WLW (Cincinnati channel) ? iheartradio does, but it only plays about 25% of the time.
View 3 Replies
View Related
Mar 22, 2009
Anybody knows how to create such the composer? I've searched OpenCore source for a sample from which I can do learn to create it. But I just found the one for MPEG4. Meanwhile, It looks like very complicated and I think it has little things relative with Audio/QCELP. So, any hint for this issue? And does the latest OpenCore have any composer for AAC or AMRNB(WB) ?
View 3 Replies
View Related
Nov 12, 2010
How do I get my custom ringtones from rooted media folder to show up in selection menus?
I am rooted and have successfully copied .ogg .wav or .mp3 ringtones to system/media/audio/ringtones, notifications or alarms folders. I can even play them from those folders on press.
My hassle is I am not able to select these as my tones. They don't show up in the menus. I want them in the root because if I am connected to my pc and an email/text/call comes in that is assigned a Custom tone on sd, then my tones revert back to a default tone and I have to reset them all when i disconnect from pc
View 4 Replies
View Related
Nov 23, 2008
Is it possible to save media files to my phone or sd card from an MMS message?? I get music files and video clips all the time, but I can't seem to save them. Any ideas?
View 7 Replies
View Related
Jul 21, 2010
I recently bought some gameloft games for my droid incredible but i noticed all the sounds of music of the games are showing up on my media players. Is there any fix for this issue?
View 2 Replies
View Related
Mar 24, 2012
Music takes up too much space on my phone.. What aac converter for music transfers to phones? it must preserve the tags in mp3s. the artworks etc
View 3 Replies
View Related
Feb 5, 2010
If someone sends me a picture, it keeps comming up as a vid (slideshow) I can't zoom or save the photo. I'm assuming I need to change a setting but can't seem to figure it out.
View 3 Replies
View Related
May 20, 2010
I have an MP4 video on my PC that I want to copy onto my sd card. When I connect the phone I can see various folders including MP3, however there isnt one for either videos (or photos for that matter). Do I just create one purely for videos and then it will play once it is dropped in there or is there something I am missing? Similalry if I want to copy photos do I just create a specific folder for photos and the phone will just "pick them up" when I go into the photos icon?
View 4 Replies
View Related
Jun 6, 2010
I've got a ringtone app that I like that lets me make ringtones on my computer & send 'em to my Droid as a MMS.
The making/sending part works but I can't figure out how to save the ringtone to my phone. Have searched the manual but it doesn't help.
Anybody know what to do to save a MMS?
View 1 Replies
View Related
Aug 11, 2010
Can anyone tell me how to store the encoded content which is in xml in to the string variable and after that i will display that in webview.
View 2 Replies
View Related
Oct 17, 2010
Obviously the answer is no... right? The reason I ask is because I have this string defined in XML for an Android app:
<string name="foo"><![CDATA[<html><body><p>This%20is%20a%20test</p></body></html>]]></string>
All I do to the string is read it, and display in an HTML view. I would not have expected the %20s to be interpreted, yet they are. Is this the correct behaviour, or is Android being typically buggy?
View 1 Replies
View Related
Oct 12, 2010
How do I save MMS'ed pictures to Media.
View 1 Replies
View Related
Oct 29, 2010
Does any 1 know how to save mms picture messages from the inbox sum one.
View 2 Replies
View Related
Jun 2, 2010
How to do RSA encryption of byte array with base-64 encoded public key?
After reading the couple of articles( of google search ) on how to do RSA encryption in Java, found the following snippet.
CODE:.........
I have public key as a base64 encoded string (126 characters), How do i create 'PublicKey' with the encoded string and use it with Cipher.
View 1 Replies
View Related
Aug 2, 2010
I want to record audio in MP3 format in my android application. I know I can read PCM audio using the audioRecord class. Is there a java library compatible with android that will encode PCM to MP3? Is it possible to use the Lame mp3 encoder library?
View 1 Replies
View Related
Jan 28, 2014
I get a new phone a month ago.(tronsmart TS7 - mtk6582) and in some place the hebrew language (my longuage) doesn't render
for example:
when I port a rom from another MTK6582 phone (W450) the font was perfect, but a lot other thing was a mess (cam,GPU driver/codec) my Q is with file is the one that make this "render" so I can port just this file from the other phone rom?
View 1 Replies
View Related
Nov 6, 2009
I know this phone has been out for like 2 hours some places but hopefully someone can help.
I am trying to get a custom ringtone I made free online from a text message. I can play the ringtone from the text but can't figure out how to save it. I press the menu button and it just takes me back to the text. Any ideas?
View 1 Replies
View Related
Dec 1, 2011
When I open a txt file the text is encoded and cannot be read.The file can be opened with Adobe; but ThinkFree automatically opens the file.
View 1 Replies
View Related
Jan 9, 2014
I have Alcatel OneTouch Idol 6030x, rooted with framaroot, and I wanted to install an other launcher. I have installed Nova Launcher, press the Home Button and it asks me which launcher to go. I select Nova launcher and set as default. But everytime I lock/unlock my phone, default settings are gone and it asks me again. It's annoying. I have tried with other launchers.
View 4 Replies
View Related
Nov 27, 2010
Friend sent me through text some songs to save as ringtones but cant seem to figure this out. It says I saved them but when I go to sounds then ringtones they are not there.
View 1 Replies
View Related
Nov 6, 2008
Here is a cool trick to save videos to your G1.If you use firefox web browser you will need to download a plugin called download helper.Now you go to youtube and find a video you like.then wait for it to load.then when you select download helper in the top right corner you select from dropdown menu the file name of video followed by .flv.when you download the .flv file then i use xvidforpsp and convert the .flv to mp4 ot h.264 and then copy it to the G1 memory card and tada you just saved the youtube video for playback to your G1 to play at anytime and save without having to find it again.
View 32 Replies
View Related
Jul 15, 2010
Is it possible to capture a frame from a video in android and save it or use it in any way in the application?
View 1 Replies
View Related