Android :: Video Conversion From Flv To Mp4
Mar 24, 2010
I have been trying to convert .flv to .mp4 in the server with ffmpeg ,and stream it through the android browser:-This is the command I have been using: ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 25 -b 560000 -s 610x340 -acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4* The output streams like a charm on the iPhone,but i have had no luck on the android G1 developer phone,has any one tried this?If so what are the parameters that I may be missing.I am not even a beginner as far as media related libraries are concerned. Any pointers will be helpful.
View 8 Replies
Aug 4, 2010
I have quite a few videos recorded in .m4v which will noth play on the Incredible. I have Hand Brake and DVD Fab 7. I tried DVD Fab 7 but it errors out trying to record them in WMV. Hand Brake seems to only record them in .m4v. Anyone have a good converter to recommend? I tried syncing with Media player but it still puts it in the wrong format.
View 2 Replies
View Related
Jun 20, 2010
I just found this deal that is only good for the remainder of the day. It's free video conversion software - can be used for the Evo. Giveaway of the Day - free licensed software daily. Today: WinX HD Video Converter Deluxe (World Cup 2010 Special Edition) - WinX HD Video Converter Deluxe fully meets video fans? needs who are looking for website video down loader, HD video convert
View 1 Replies
View Related
Feb 14, 2010
Anyone know the best conversion settings? frame rates etc, i have cucusoft ultimate converter.
View 20 Replies
View Related
Jul 6, 2010
I have looked at several forum posts on several sites to find a solution to my problem, but have failed. I have a G1 that does not seem to like mp4s. The various forums all recommended this file type (some recommended ipod presets, others iphone) but I've successfully converted files to mp4 using a few different converters that will still not play on my G1. Is there some problem with my specific phone?
View 1 Replies
View Related
Apr 30, 2010
I was hoping to get some feedback from those of you that are in the advanced category for smart phones and media. I'm gearing up and converting many of MY videos to MP4 in anticipation of watching them on my hotly anticipated new 4.3" screen.
In regards to the conversion of MY OWN PERSONAL video files, I had some questions about settings and the process for making the videos look and work best on the EVO. I realize this question may be premature given the actual phone isn't out yet, but any info would be appreciated.
My main questions are:
What settings people would recommend for using Handbrake to convert the files?
What settings will use the least amount of resources and memory, but will still give the best playback/image possible on the EVO?
I have waded through what information I could find on the forum in the EVO and Incredible (closest match to EVO) threads and this is what I have found in case anybody wants to use it for reference. THANK YOU to those posters who have supplied the following information, it got me moving in the right direction.
--------------------------------------------------------------
Programs available to convert files to MP4: (These were the most often mentioned, but there are several others available to use as well)
XDA Video Encoder - [APP][REF]Video encoding GUI - xda-developers - Appears to be free, instructions listed on web link for operation. "Probably the best movie converter. It was designed for converting movies for older, less powerful HTC devices, but it'll still work great for this. Extremely easy to use, and produces small file sizes with great quality. Works pretty fast too. I highly, highly recommend it for converting movies to use on Android phones."
ANYDVD - SlySoft AnyDVD | any dvd, region free, dvd copy, copy dvd movies, dvd decoder, dvd ripper, macrovision, dvd copying software - Free for 30 days, $$$$ after that. Updates often and seems to be regarded as best for decrypting files.
DVDFAB - DVD Copy Software from DVDFab | Copy DVD to PSP, DVDR or iPod - Free for 30 days, then $$$ after that. Full package looks like you are able to convert files for all kinds of uses and to all types of players including mobile phones.
Handbrake - HandBrake - Free. Seems to be the most popular here on the android forums. Easy to use and so far has done a good job converting for me.
DVD Converter Pro - InterTech DVD Converter - Free trial, then $$$. 1 comment from poster "I'm impressed by dvd converter pro. It worked well and seems to be much easier than dvd fab. I will probably purchase it. The incredible photo viewer is not well suited for displaying videos though."
-------------------------------------------------------------
Tutorials and help: (comments taken from different threads here on Android forum)
- Well, to get the ball rolling, here are quite a few guides on how to convert DVD to an Android-compatible standard h.264 video format.
Guide, How To, Tutorial and Article list - VideoHelp.com
- Jerry Hildenbrand (Gbhill) @ Android Central wrote a great how to on video conversion using Handbrake as well as Double Twist on the Android Central Blog. It can be found HERE
- Here is another, more general, video guide which discusses Handbrake in more detail for those who are interested. I personally like the step by step guides with lots of pictures... I consider myself an advanced technical user, but sometime I just want to get it done quick.
Here are the links...
The Power User's Guide to Video Encoding with Handbrake | Maximum PC
The Last DVD and Blu-Ray Ripping Guide You'll Ever Need | Maximum PC
- If you use Handbrake uncheck the CABAC entropy coding under the Advanced tab. You can use it but it will limit you to yxflash (a pay for app) for the player. I can say that if you rip correctly it looks amazing on the AMOLED screen of the N1. Even Spongebob has amazing color resolution. But thats 90mb per 12 minute episode.
-------------------------------------------------------------
Resolution and Settings Comments:
- I am using DVDfab. I have read that they should be set to 480 X 272 and use the preset setting for apple tv. I have encoded some to mp4 and they play really nice on my computer.
- I would recommend keeping either the horizontal or vertical resolution the highest the device supports which is either 800 vertical or 480 horizontal.
- Isn't the display resolution 800x480? So how did someone come up with 480x272? To get the best picture, I would set it to 800x? or ?x480.
- If it's a dvd, you want to keep it at the same resolution of 720x480 (or whatever the 4:3 res is, but why you would use 4:3 on this phone is beyond me).
- 480x272 is a 16:9 aspect ratio, the ratio that is used for movies as that is the ratio that most widescreen TVs are (e.g., 720p = 1280x720 and 1080p = 1920x1080).
I think 800x450 would be the best resolution as it's the closest to the native resolution of the display while still maintaining the 16:9 aspect ratio -- important if you want the proportions to look how they're supposed to look. Use this resolution only if the source video is HD, though. DVD videos are 720x480 (I think 720x400 is viewable since it's letterboxed), so encoding to any resolution above that would just be a waste of space by creating a larger video file.
- Yeah, I just encoded a movie using 480x272 and it looks great. Even on my 15" laptop screen. I think when you encode a movie from 5 gig to 800 meg it probably doesnt make a huge difference if you use 800 x 480 or 480 x 272.
- Folks, this is a classic debate, but recording the vids at full Inc resolution has drawbacks with no gains (unless you also plan on playing them back on a bigger display- laptop is example).
1. Drains more battery
2. Takes up over twice the space
Please download a video for PSP or iPod, iPhone (or format one this) and you will see that you will not notice a difference between the vids on a 3.7" display.
Output from the composite video of the Inc will also not use the higher resolution either. Composite video out is the constraint there. Not 720p output like the EVO (that puppy will run hot outputting that res to a display).
- So i put a movie on my Incredible that was set to the 480 x 272. It plays perfect and looks perfect.
View 27 Replies
View Related
Mar 1, 2010
Does anyone know the best video codec settings for the Galaxy?I've tried converting with NPS, but it messes up the aspect ratio, so I'd like to convert some files with another program, but would like to figure out what's best. Anyone with some insight?I've been using the meridian player.
View 8 Replies
View Related
Jul 16, 2010
I have a wave file and would like to convert into MP4 format which can be play back in Android phone thru android audio sdk. Please share your experiences. I have tried conversion using QUICKTIME. But could not work.
View 4 Replies
View Related
Jun 26, 2009
I want to play the flv files in Android. So what I thought is to convert the flv file to mp4 or 3gp(for which there is a decoder in Android). OpenCore can be used to convert. I have looked into opencore code, there is a class in opencore "/android/external/opencore/fileformats/mp4/composer" to create the mp4 file. It has apis like AddTrack AddSampleToTrack. I should give the input as frames, but in Flv I will get the Sorenson Video and Mp3 audio frame(after doing some trivial string operations to remove the headers). Can I use these directly as input to above apis or is there any good way to convert flv to mp4? And also I have looked into "/android/external/opencore/nodes/pvmp4ffcomposernode" but it reads from ports not able to know how to send input to this class.
View 3 Replies
View Related
Jun 4, 2009
"HT-03A" will be release to the market in Japan, I'm lookig forward to it. Then I wonder whether String class support following charset type. String unicode = new String(jis); try { unicode = new String(unicode.getBytes("ISO2022JP"), "ISO2022JP"); } catch (Exception e)
View 2 Replies
View Related
Feb 14, 2009
We can convert from Intent to URI and from URI to Intent. From Intent to URI string Intent intent1 = new Intent ();
String uriString = intent1.toURI ();
From URI string to Intent Uri uri = Uri.parse (uriString);
Intent intent2 = new Intent ();
intent2.setData (uri)
After conversion, intent1 and inten2 should be same. for example:
Intent intent1 = new Intent ();
intent1.addCategory (Intent.CATEGORY_HOME);
intent1.addCategory (Intent.CATEGORY_LAUNCHER);
Log.v ("", "Intent1 = " + intent1);
if (intent1.hasCategory (Intent.CATEGORY_HOME))
Log.v ("Intent1", "#1 hasCategory TRUE");
else Log.v ("Intent1", "#1 hasCategory FALSE");
String str = intent1.toURI ();
Uri uri = Uri.parse (str);
Intent intent2 = new Intent ();
intent2.setData (uri);
Log.v ("", "Intent2 = " + intent2);
if (intent2.hasCategory (Intent.CATEGORY_HOME))
Log.v ("Intent2", "#2 hasCategory TRUE");
else Log.v ("Intent2", "#2 hasCategory FALSE");
result Intent1 = { categories=android.intent.category.HOME,android.intent.category.LAUNCHER} } #1 hasCategory TRUE
Intent2 {data=#Intent;
category=android.intent.category.HOME;
category=android.intent.category.LAUNCHER;
end } #2 hasCategory FALSE
In this sample code, Intent2 is a conversion result from Intent1. If you run this sample code, Intent1 result and Intent2 result are different. Because Intent1 and Intent2 have a same Intent.CATEGORY_HOEM, the result should be Intent1 and Intent2 is TRUE (intent.hasCategory). I think this is bug. And the hint is Intent1 and Intent2 's toString result is different.
Intent1 = {categories=android.intent.category.HOME,android.intent.category.LAUNCHER}
Intent2 = { data=#Intent;category=android.intent.category.HOME
category= android.intent.category.LAUNCHER;end }
I don't know how to convert Intent to URI(String) and convert URI (String) to Intent. I want to save Intent to DB and read Intent from DB.
View 3 Replies
View Related
Sep 4, 2010
i want to develop apps based on speech to text conversion.can you please share your suggestions and how to develop this app.
View 2 Replies
View Related
Sep 23, 2010
I am having a date/time value as 2010-07-26T11:37:52Z , now i wants date in 26-July-2010 (dd-mm-yyyy) format, how do i do it?
View 2 Replies
View Related
Nov 10, 2010
I have entered a value to my database as $1000000000. it stored in Database also its looks like as same. when retrieve it from using the DB. Its converted to $1e+09 automatically. how to restrict it.
View 1 Replies
View Related
Nov 26, 2009
I am looking at the source code of a Camera Preview application and learning that the preview buffers coming from the sensor is in YUV422 format. However, this preview frame is showed on the display in RGB. Can someone please let me know where the pixel format conversion happens? Is it inside Surface Flinger? If yes, can you please point me to the code?
View 5 Replies
View Related
Nov 13, 2010
I am using Google translate api in my application,i have done in text conversion is ok but translate-text to speech is pending.
http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html
this code i am using how can implement translate text voice in android.
http://www.freeimagehosting.net/uploads/c382dd10f8.png
this above screenshot display text conversion is ok,click audio button image listen translate text in audio-player how can implemented
my code
//audio button click event..........
submit = (ImageView) findViewById(R.id.ImageView01);
submit.setOnClickListener(new View.OnClickListener()
{ public void onClick(View v)
//speech code how can implemented
/////////////////// translate button code//////////////////////
((Button)findViewById(R.id.Button01)).setOnClickListener(new OnClickListener() {...............
View 1 Replies
View Related
May 11, 2009
I am trying to convert my project o SDK 1.5. It won't build with the errror: "Conversion to Dalvik format failed with error 2"
I have seen other threads refer to problem with annotations, but the code that is causing problems for me has absolutely no java annotations in it (no at-signs whatsoever, except inside javadoc comments). Is there any way to get feedback from Eclipse or the android tools about what the problem is? How am I supposed to even begin to debug this problem?
I am more than happy to change the code where there are problems (the problem is actually a large library that I use, but I use the library as raw code, not a foreign jar, so I have access to the code), but I don't know what to change. That error just doesn't give me much to go on.
View 8 Replies
View Related
Apr 8, 2010
My input String is: 2010-03-24T17:28:50.000Z
Output pattern is like: DateFormat formatter1 = new SimpleDateFormat("EEE. MMM. d. yyyy");
I convert this like this: formatter1.format(new Date("2010-03-24T17:28:50.000Z"));//illegalArgumentException here the string "2010-03-24T17:28:50.000Z"
Ouput should be like this: Thu. Mar. 24. 2010 idea.
But i get a illegalArgumentException.
Stacktrace message is:
CODE:...............
View 1 Replies
View Related
Aug 16, 2010
i want to ask about that can we convert the input source type data in android. my prob is here that i get the data from the url not in tags form. i fetch output in the inputsource type. after that i want to parse the data in meaningful form is this possible or not? if this possible then how can i implement?
View 1 Replies
View Related
Aug 10, 2010
I faced to the serious problem when building my environment. I use below software for compiling. android SDK (android 2.1) eclipse 3.5.2. At first, this problem occurred on eclipse 3.6. I looked for the reason and countermeasure on the web. As the result, I re-installed eclipse 3.5.2. however, the problem was not fixed yet... after building, the below message has been displayed. "Conversion to Dalvik format failed with error 1" if you know other countermeasure for this.
View 3 Replies
View Related
Apr 10, 2009
I include JMF in my application. When i run my application the following type of error will occurring...
CODE:...........
How can i resolve this error?
View 8 Replies
View Related
Apr 28, 2009
I just updated to SDK 1.5 and all of my projects are failing to build with the following error:
[2009-04-28 15:53:23 - Utilities] no classfiles specified [2009-04-28 15:53:23 - Utilities] Conversion to Dalvik format failed with error 1 ("Utilities" is the name of this specific project.)
I'm on Ubuntu 9.04 x64. Before the update to 1.5 everything worked fine.
View 20 Replies
View Related
Sep 7, 2010
Develop one app speech to text conversion on mobile phones.i want to develop it for supporting all mobile(android,iphone,wince,windows 7,webos).for that i would like to develop one api.
is there any way develop api for supporting all above os.Please Let me know and suggest me.
View 1 Replies
View Related
Nov 19, 2010
I have a simple app I coded for android that I want to go on Blackberry too - How easy is it to get the code over to their SDK and run it working as intended? I was only wondering if anyone knew from experience. The only API's on Droid I really use are camera and face detect.
View 3 Replies
View Related
Apr 22, 2010
I'm trying to use the SmugFig SmugMug API on Android. It was designed for J2SE I would imagine, so I'm not sure it will even work on Android, but I figured it was worth trying as opposed to trying to create my own API. When I load the project though, I get the following error: Conversion to Dalvik format failed: Unable to execute dex: null. It doesn't say what package it fails on, just "Android Packaging Problem", but it did not do this before I added SmugFig and it's dependency JARS to the build path. Where should I look? Or does this mainly me that it just won't work with those libraries?
View 3 Replies
View Related
Jul 9, 2009
I've been trying to use Eclipse and the Export Wizard to create a signed apk. unfortunately, I cannot seem to generate an UNSIGNED apk. Every time I "clean and build" I get the error below, which I read I can get rid of by "reload" or refresh then building again. however, the debugger automatically signs with the debug key after I do this, defeating the purpose. how do I build the apk w/o signing it?
View 5 Replies
View Related
Apr 21, 2010
In my Android appliction in eclipse I get the following error:
UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/xmlpull/v1/XmlPullParser;....
Conversion to Dalvik format failed with error 1
This error only appears if I add a specific external Jar to my project.
I search long time to the right solution but all possible solutions don't work.
I even tried to change to android 1.6 instead of 1.5(current version I use)
View 6 Replies
View Related
Jun 14, 2009
I have a working(Released) project that needs some updating. The Project was created with SDK 1.1 on Windows and Ecplise 3.4. A couple months ago i moved away from Windows to Mac and installed all tools on the mac including Android SDK 1.1. Everything was working fine at that time.
I never bothered compiling the project against SDK 1.5 as the program was running fine on a 1.5 Device. But now i need to do some changes and installed SDK 1.5, following the installation guideline (http://developer.android.com/sdk/1.5_r1/ upgrading.html#UpdateYourProjects).
So I build my project against SDK 1.1 (as suggested) and failed with the following error messages : - no classfiles specified - Conversion to Dalvik format failed with error 1
I receive the same error if I compile with SDK 1.5 (clean + build).
First i thought there is something wrong with my code but could not find anything. After that I tried the example JetBoy and received the same error. Using "Fix Project Properties" was without effect for booth projects.
View 4 Replies
View Related
Sep 24, 2010
Anyone know why I would be getting the errors below. The message below is showing up in the Console view, and I'm getting a "Conversion to Dalvik format failed with error 1".
My app has been working quite well for some time, and I just tried to update the SDK and DDMS to 0.9.9, and now it won't build.
I've done a search for the CharBuffer class and don't find any matches in my files, but I am using several API's (BUMP, C2DM, Admob). I definitely don't use any of the core-library in my code. If the error message is correct, I just can't quite figure out how to tell which API is the problem without almost wiping out my code base, or starting a new project and copying a few files at a time.
Oh... but the two files at the bottom of the file are missing android-6sdk.properties and android-5sdk.properties. Anyone know where I find them?
I have tried uninstalling and reinstalling but so far, no joy :).
CODE:.........................
In something other than a core library. It is likely that you have attempted to include in an application the core library (or a part thereof) from a desktop virtual machine. This will most assuredly not work. At a minimum, it jeopardizes the compatibility of your app with future versions of the platform. It is also often of questionable legality.
If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine distribution, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message.
If you go ahead and use "--core-library" but are in fact building an application, then be forewarned that your application will still fail to build or run, at some point. Please be prepared for angry customers who find, for example, that your application ceases to function once they upgrade their operating system. You will be to blame for this problem.
If you are legitimately using some code that happens to be in a core package, then the easiest safe alternative you have is to repackage that code. That is, move the classes in question into your own package namespace. This means that they will never be in conflict with core system classes. If you find that you cannot do this, then that is an indication that the path you are on will ultimately lead to pain, suffering, grief, and lamentation.
CODE:................
View 5 Replies
View Related
Jul 22, 2010
I did a search & can't find anything on this. my question is, does anyone know how to convert .GCD ring tone files to .mp3 (or any other EVO-able ringtone file type)? Has anyone else run into this trouble?
View 9 Replies
View Related