Go Back   Android Forums > Android Phones > Motorola Droid > Droid - How-to and Tips



Reply
 
LinkBack Thread Tools
Old November 13th, 2009, 07:05 PM   #201 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by dannydoes View Post
was hoping to change a preference, though that helps. Thanks Fab!
In that case, I would suggest the "Cinema" app. It has no OSD, rather all the controls are intuitive gestures (swipe to seek, tap to pause/play).

I'm glad you got some of your video troubles sorted out. Enjoy!

__________________
Overclocked Rooted Droid X with ApeX


Fabolous is offline  
Reply With Quote
Sponsors
Old November 13th, 2009, 07:07 PM   #202 (permalink)
Junior Member
 
The HITMAN's Avatar
 
Join Date: Nov 2009
Location: Syosset, NY
Posts: 51
 
Device(s): HTC Droid Incredible
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to The HITMAN Send a message via MSN to The HITMAN Send a message via Yahoo to The HITMAN Send a message via Skype™ to The HITMAN
Default

I just transferred an anime episode that was .mkv and it played fine.
The HITMAN is offline  
Reply With Quote
Old November 13th, 2009, 08:51 PM   #203 (permalink)
New Member
 
Join Date: Nov 2009
Location: United States
Posts: 5
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Linux users are not left out! The Droid is great for Linux, because you don't have to run iTunes to make full use of your device (like you would with the iPhone).

Install ffmpeg and use the following code. It will take SourceVideo.avi and transcode to DroidVideo.mp4. I've used it with several different sources and works great.

Quote:
ffmpeg -i SourceVideo.avi -y -threads 0 -subq 6 -deinterlace -level 30 -f mp4 -acodec libfaac -ab 160k -ar 48000 -ac 2 -vcodec libx264 -b 2000k -maxrate 2000k -bufsize 2000kb -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -coder 0 -refs 2 -flags +loop -vol 256 -trellis 1 -me_method umh -async 1 DroidVideo.mp4
If it complains that "deinterlace failed" then simply remove "-deinterlace".
Also, some VOB files have a black border running across the top and the bottom that you will want to crop (ffmpeg doesn't have autocrop). In this case, find out the size of the original video (through either gxine, VLC under "tools" section, or "mplayer FILE.VOB" on command line) and compare to output from "mplayer FILE.VOB -vf cropdetect". In most cases, cropping about 60 lines off top and bottom will work, can add "-croptop 60 -cropbottom 60".

You can get a smaller file with almost as good quality by lowering the bitrate from 2000 to something lower, such as 1000 by changing to "-b 1000k -maxrate 1000k"

The only time this gets complicated is when you are using a high definition file where the width is greater than 852 (standard DVD's are 720 and work fine with the above method). In this case, you need to do some manual work (ffmpeg cannot automatically downsize like handbrake can). You will have to insert a size value with the "-s" parameter (and must use even numbers!). Here are the guidelines:
Find out the size of the original video (through either gxine, VLC under "tools" section, or "mplayer FILE.VOB" on command line).
If file SMALLER than 852 x 480: Don't use -s
If file LARGER than 852 x 480:
Find aspect ratio of original video (width / height)
If <1.775 then:
Height 480
Width is 480 x original aspect ratio
If = 1.775 then "-s wvga" (example, 1920 x 1080)
If >1.775 then
Width is 852
Height is 852 / aspect ratio (example, 1920 x 800 is "-s 852x354)

ffmpeg is also available on Windows and MAC and should work fine there too, although most people were prefer a GUI method such as Handbrake.
NobodySpecial is offline  
Reply With Quote
Old November 13th, 2009, 10:40 PM   #204 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 54
 
Device(s):
Thanks: 2
Thanked 15 Times in 6 Posts
Default

Wow, this thread is growing at lightspeed. I can't even keep up with it. But an idea for why sound is not syncing properly with video. A video producer friend of mine said that they are on seperate tracks in the file. and that the sound is made to work with 30 fps. (that is the one they use to get a "film" quality look" higher gives a digital look) When you process the video at a higher or lower frame rate, he said that it messes up the sync. According to him the sound is locked at 30 fps. maybe as a test, try to choose the option closest to 30 for the video. I'm converting my first attempt right now, and thought of this after starting.
Also as a side note, I have used Pocket-DVD Studio in the past for my sons PSP and my Omnia. and it also had a garbley sound for the first 10 - 15 minutes. So there has to be a universal problem with that sound.
(Now I have to go back and read the last five pages of posts)lol
iclickjohn is offline  
Last edited by iclickjohn; November 13th, 2009 at 10:53 PM. Reason: edit smartmouth comment out.
Reply With Quote
Old November 14th, 2009, 08:49 AM   #205 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Default

Quote:
Originally Posted by NobodySpecial View Post
Install ffmpeg and use the following code. It will take SourceVideo.avi and transcode to DroidVideo.mp4. I've used it with several different sources and works great.
Any chance you could make a shell script to do all that? I suck at making scripts. I could make one for the basic command line, but nothing that could handle the variables if you wanted to crop, etc.
Tymanthius is offline  
Reply With Quote
Old November 14th, 2009, 09:20 AM   #206 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Default Ubuntu 9.10 Problems

Just tried this:

Quote:
ffmpeg -i SourceVideo.avi -y -threads 0 -subq 6 -deinterlace -level 30 -f mp4 -acodec libfaac -ab 160k -ar 48000 -ac 2 -vcodec libx264 -b 2000k -maxrate 2000k -bufsize 2000kb -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -coder 0 -refs 2 -flags +loop -vol 256 -trellis 1 -me_method umh -async 1 DroidVideo.mp4
Turns out that libfaac isn't enabled for Encode in 9.10. This sucks. Any ideas on what audio I can use? Mp3 isn't enabled for encode either in ffmpeg.

I am too lazy to go and compile ffmpeg & libs and any programs I want to use it properly.
Tymanthius is offline  
Reply With Quote
Old November 14th, 2009, 11:31 AM   #207 (permalink)
Member
 
may2700's Avatar
 
Join Date: Nov 2009
Location: Sound Beach, New York
Posts: 192
 
Device(s): Droid
Thanks: 7
Thanked 2 Times in 2 Posts
Default used handbrake

i used handbrake and the settings above and works great, audio is snyced and the picture is beautiful. thanks for the help.

ps - double twist is a great program also, just like itunes for the droid, a little glitchy once in a wile but for the most part works very well and very easy app for transfering programs back and forth and best of all, its free
may2700 is offline  
Reply With Quote
Old November 14th, 2009, 11:43 AM   #208 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Unhappy

Handbrake is currently broken b/c of a gtk issue. Should be fixed in 0.9.4, but no eta.

I think I'll just go compile . . . .
Tymanthius is offline  
Reply With Quote
Old November 15th, 2009, 01:04 AM   #209 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Default

Ok, so I compiled ffmpg & the x264 codec. But EVERYTHING I've tried to convert so far has come out choppy. (

Any thoughts? I don't want to have to wait for handbrake.

On the Left is a file I created, on the right is Fab's sample. Only thing I see is the Frame Rate.
Attached Images
File Type: jpg WhatIsWrong.jpg (23.6 KB, 15 views)
Tymanthius is offline  
Last edited by Tymanthius; November 15th, 2009 at 01:16 AM.
Reply With Quote
Old November 15th, 2009, 01:39 AM   #210 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I updated my ffmpeg script on my Linux box that served me well during my e71 days...love the new resolution

source file info:
$ file TEST.HDTV.XviD.avi
TEST.HDTV.XviD.avi: RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)


encode script example:
$ cat testscript.sh
#!/bin/sh
ffmpeg -y -i $1 -acodec libfaac -ab 160k -s 720x480 -aspect 16:9 -vcodec libx264 -b 500k \
-qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 300 \
-keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 \
-directpred 3 outputTEST.mp4
exit

syntax:
./testscript.sh TEST.HDTV.XviD.avi

720x480 works like a charm...wish I could say the same for 848x480

Tried a few variations, unfortunately I'm experiencing some pretty bad pixelation during playback of higher res. output mp4 files...

seems ffmpeg is also available for windows...your mileage may vary

manny
mr_manny is offline  
Reply With Quote
Sponsors
Old November 15th, 2009, 07:37 AM   #211 (permalink)
New Member
 
Join Date: Nov 2009
Location: United States
Posts: 5
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Tymanthius View Post
Ok, so I compiled ffmpg & the x264 codec. But EVERYTHING I've tried to convert so far has come out choppy. (

Any thoughts? I don't want to have to wait for handbrake.

On the Left is a file I created, on the right is Fab's sample. Only thing I see is the Frame Rate.
Tymanthius - not sure what went wrong. I converted the "Red Cliff" Trailer from apple.com/trailers. It runs perfectly without any problems. The frame rate is 23.97 - I'm not sure if that matters. You can force a frame rate with the script by "-r 23.97" or "-r 25".

Another thing to try would be to lower the bit rate: "-b 1000k -maxrate 1000k" or even "-b 500k -maxrate 500k" if needed.

Experiment with a small file first. If you want to use a large file, use "-t 60" to have it just do the first 60 seconds for testing purposes.
NobodySpecial is offline  
Reply With Quote
Old November 15th, 2009, 08:31 AM   #212 (permalink)
New Member
 
Join Date: Nov 2009
Location: United States
Posts: 5
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mr_manny View Post
I updated my ffmpeg script on my Linux box that served me well during my e71 days...love the new resolution

source file info:
$ file TEST.HDTV.XviD.avi
TEST.HDTV.XviD.avi: RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)


encode script example:
$ cat testscript.sh
#!/bin/sh
ffmpeg -y -i $1 -acodec libfaac -ab 160k -s 720x480 -aspect 16:9 -vcodec libx264 -b 500k \
-qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 300 \
-keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 \
-directpred 3 outputTEST.mp4
exit

syntax:
./testscript.sh TEST.HDTV.XviD.avi

720x480 works like a charm...wish I could say the same for 848x480

Tried a few variations, unfortunately I'm experiencing some pretty bad pixelation during playback of higher res. output mp4 files...

seems ffmpeg is also available for windows...your mileage may vary

manny
mr_manny - I previously did a transcode of a video from apple/trailers, so this time I went to YouTube, downloaded a High Def Vid in mp4 format and ran the script - it worked fine.

Both the vids I did were 1280 x 720 which is an aspect ratio of 1.777. So on the script I added "-s wvga" to set the width and height. Runs with occasional slight choppiness, but no pixelation.

Also, I did try converting an FLV video, but couldn't get that one to end up looking very good - must need a different parameter, but I haven't had time to experiment.
NobodySpecial is offline  
Reply With Quote
Old November 15th, 2009, 02:40 PM   #213 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Default

Quote:
Originally Posted by NobodySpecial View Post
Tymanthius - not sure what went wrong. I converted the "Red Cliff" Trailer from apple.com/trailers. It runs perfectly without any problems. The frame rate is 23.97 - I'm not sure if that matters. You can force a frame rate with the script by "-r 23.97" or "-r 25".

Another thing to try would be to lower the bit rate: "-b 1000k -maxrate 1000k" or even "-b 500k -maxrate 500k" if needed.

Experiment with a small file first. If you want to use a large file, use "-t 60" to have it just do the first 60 seconds for testing purposes.

Could you maybe post a direct dwnload link to that trailer, and your exact command so I can try to replicate it? At least then it would let me know if it's me, or maybe my pc just refueses. It's a bit old (not even multicore ) But that should just make it take longer, not make it screw up.
Tymanthius is offline  
Reply With Quote
Old November 15th, 2009, 05:54 PM   #214 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Default

Just to keep things interesting. That same file that I can't get to convert with ffmpeg converted wonderfully on my g/f's puter with Handbrake. So I have a solution. I just can't stand it. :/
Tymanthius is offline  
Reply With Quote
Old November 15th, 2009, 06:03 PM   #215 (permalink)
Member
 
Join Date: Oct 2009
Posts: 348
 
Device(s): Droid 3
Thanks: 8
Thanked 19 Times in 17 Posts
Default

So far it looks like there's two clear solutions.

1) Use handbrake with settings set forth in this thread for more quality and control of your output file. You then manually sync it to your device.

2) Use doubleTwist which converts *and* syncs to device in one without any setup for each video file.

Number 1 gives best output and quality for those with high quality originals. Number 2 gives ok output with extreme simplicity albiet sometimes flaky.

Any more word on the Motorola sync tool and how it works?
MicroNix is offline  
Reply With Quote
Old November 15th, 2009, 06:09 PM   #216 (permalink)
New Member
 
sudo's Avatar
 
Join Date: Nov 2009
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by NobodySpecial View Post
Linux users are not left out! The Droid is great for Linux, because you don't have to run iTunes to make full use of your device (like you would with the iPhone).

Install ffmpeg and use the following code. It will take SourceVideo.avi and transcode to DroidVideo.mp4. I've used it with several different sources and works great.

The only time this gets complicated is when you are using a high definition file where the width is greater than 852 (standard DVD's are 720 and work fine with the above method). In this case, you need to do some manual work (ffmpeg cannot automatically downsize like handbrake can). You will have to insert a size value with the "-s" parameter (and must use even numbers!). Here are the guidelines:
Find out the size of the original video (through either gxine, VLC under "tools" section, or "mplayer FILE.VOB" on command line).
If file SMALLER than 852 x 480: Don't use -s
If file LARGER than 852 x 480:
Find aspect ratio of original video (width / height)
If <1.775 then:
Height 480
Width is 480 x original aspect ratio
If = 1.775 then "-s wvga" (example, 1920 x 1080)
If >1.775 then
Width is 852
Height is 852 / aspect ratio (example, 1920 x 800 is "-s 852x354)

ffmpeg is also available on Windows and MAC and should work fine there too, although most people were prefer a GUI method such as Handbrake.
I tried several different way of converting my .avi file (640x272) to convert to MPEG-4 to no avail. Well, what I mean to say that nothing I've done has successfully played on my Motorola Droid altough they've all compiled fine and played fine on the PC.

This method:
Quote:
ffmpeg -i SourceVideo.avi -y -threads 0 -subq 6 -deinterlace -level 30 -f mp4 -acodec libfaac -ab 160k -ar 48000 -ac 2 -vcodec libx264 -b 2000k -maxrate 2000k -bufsize 2000kb -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -coder 0 -refs 2 -flags +loop -vol 256 -trellis 1 -me_method umh -async 1 DroidVideo.mp4
provided by NobodySpecial, is the only thing that half-worked for me so far. All the other version I'll just hear the audio, this one I could hear it, but it was displaying at about 1 FPS.

I've tried hadbrake on my Windows partition also to no avail. I have all the latest libraries and other dependencies for FFMpeg as per this helpful Ubuntu Forum thread. Still, nothing has worked well.

Please, any help would be greatly appreciated. Also, the .avi file is 1.4GB.
sudo is offline  
Reply With Quote
Old November 15th, 2009, 08:29 PM   #217 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default

to Fabo (mostly). Just curious why the 848 and not 854 which is apparently the width of Android screen??

And based on info below, how about 854 and a bitrate of 300?? I may try that next:

This from dev of Act1 video app (great interface!)
The tricky part here is converting the videos so that Android understands them. Fortunately, there's a lot of desktop software out there that will do the trick. Since Android phones play the same video format as iPod (mp4/h264), you could just use anything that converts for iPod. But the iPod screen is much smaller than most Android devices, so the quality won't be as great. What you really want is something that will convert for your screen size. Most Android devices right now have a 320x480 screen. The new Droid has a 480x854 screen. Whatever your screen size, it's good to convert your video to be within the bounds of your screen, and optimally exactly matching one of the dimensions to prevent Android from having to scale the video.

Remember one important thing: converting videos with a lower bitrate makes for smaller files, smoother playback, and less battery consumption during playback. If you want to optimize your video playing experience, try tuning the video conversion to the lowest tolerable bitrate. I usually end up with videos using ~300kbps. Some applications like Videoa default to twice that rate, which I think is excessive. I mean, it's a small screen, and how much quality do you think you can expect from it? :-)
drumtrucker is offline  
Last edited by drumtrucker; November 15th, 2009 at 09:18 PM. Reason: left something out
Reply With Quote
Old November 15th, 2009, 10:32 PM   #218 (permalink)
Junior Member
 
kmfdmk's Avatar
 
Join Date: Nov 2009
Location: Vancouver, WA / Louisville, KY
Posts: 82
 
Device(s): Moto Droid - 4109
Thanks: 0
Thanked 17 Times in 4 Posts
Default

Quote:
Originally Posted by Fabolous View Post
Hey everyone, I think I found some great settings to convert with (for Handbrake):

I'm not sure about ripping straight from a DVD, but when you have a file (mine are 720/1080p .MKVs in 16:9), you can use these following settings:

Easy way: Select iPod legacy, change width to 848 (should turn box green automatically)

Exact Settings:

848x480 resolution, H.264 codec, 1500kbps avg bitrate, AAC 48KHz 160Kbps


Here's a sample I made yesterday, watch it on your Droid and your eyes will be pleased!

MEGAUPLOAD - The leading online storage and file delivery service

No copyright infringement intended.

It takes me ~45min to convert a full length movie with these settings. This is with a Ph. II X4 940 quad core at 3.7GHz. My guess is that if you have a quad core it will take roughly an hour, dual core, perhaps 2.

Let me know if these settings work for you!

Worked for me, FINALLY... thank god.

I'm going to re-try with the same audio bitrate as the original file, as well as the same video bitrate, and going to try to match the FPS, as well as having it do a dual pass, 1st pass Turbo.

I'm now having an issue where the Audio is out of Synch with the Video. Audio is leading by about 1/3 a second or so.
__________________
Rusty, Moto Droid Nerd - How to Add Fav's to Google Nav | Droid LED Flashlight | Get the Most out of your Droid | Protective Cover that Fits in GPS Mount/Media Dock

Watashi
To use an MP3 as a ringtone, just play the song in the android media player and while it's playing tap the menu key and select "Use as Ringtone".
kmfdmk is offline  
Last edited by kmfdmk; November 15th, 2009 at 10:40 PM.
Reply With Quote
Old November 15th, 2009, 11:19 PM   #219 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by drumtrucker View Post
to Fabo (mostly). Just curious why the 848 and not 854 which is apparently the width of Android screen??
For some strange reason, Handbrake won't let me put in 854, but when I input 848, it works.

So basically, using Handbrake's GUI, the highest working resolution I can get is 848x480.

Which is OK with me. I'd rather sacrifice 6 lines of resolution to use a simple program to make very good looking videos for my Droid

But if you're going to use a different encoding program with more flexibility in customizing the resolution, then by all means use the native resolution of the Droid. It may even help, as the Droid won't need to upscale at all. Could it save CPU cycles?
Fabolous is offline  
Reply With Quote
Old November 15th, 2009, 11:27 PM   #220 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Fabolous View Post
For some strange reason, Handbrake won't let me put in 854
That is strange. I can (apparently).

I am trying a couple at 500 frame rate which yields a file 1/3 size of 1500. Will report back after viewing.
Attached Images
File Type: jpg handbrake 854.jpg (83.6 KB, 17 views)
drumtrucker is offline  
Last edited by drumtrucker; November 15th, 2009 at 11:31 PM.
Reply With Quote
Sponsors
Old November 16th, 2009, 12:11 AM   #221 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by drumtrucker View Post
That is strange. I can (apparently).

I am trying a couple at 500 frame rate which yields a file 1/3 size of 1500. Will report back after viewing.
Aha! You're absolutely right. Silly me, I saw red and assumed no-go.

I am currently encoding at 854x480. Let's see how it turns out. Thanks for pointing that out!
Fabolous is offline  
Reply With Quote
Old November 16th, 2009, 12:16 AM   #222 (permalink)
Member
 
Join Date: Nov 2009
Location: Florida
Posts: 109
 
Device(s): D.R.O.I.D.
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Fabolous View Post
For some strange reason, Handbrake won't let me put in 854, but when I input 848, it works.
You may have to set the anamorphic to "loose".

I compared two files encoded at the two different widths (848, 854) and was not able tell the difference, I think the screen is so dense that 6 pixels difference is not perceivable. The source was a 180p mkv. The only difference was a few bytes of the output file.
lemodular is offline  
Reply With Quote
Old November 16th, 2009, 12:44 AM   #223 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by lemodular View Post
You may have to set the anamorphic to "loose".

I compared two files encoded at the two different widths (848, 854) and was not able tell the difference, I think the screen is so dense that 6 pixels difference is not perceivable. The source was a 180p mkv. The only difference was a few bytes of the output file.
Yeah, I have to redo it now because it stretched out my movie vertically. Thanks for pointing out the fix!

So it seems 848 is the easy solution, as it will detect the aspect ratio for you.

Still, if you really want those extra 6 lines, it can be done, but you'll need to be more careful about the aspect ratio.

Ahh, trade offs. Lol.
Fabolous is offline  
Reply With Quote
Old November 16th, 2009, 12:47 AM   #224 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default if you want smaller files...

Turns out the AVI file I was fighting with was problematic. D/L'd a different version and just ran through HB with 854 width and 500 frame rate (yes 500 not a typo) and got a much smaller file that fills the screen with ZOOM OFF and sync seems fine (just checked in about middle of movie). Going to run another time with width 640 and 300 bit rate.
drumtrucker is offline  
Reply With Quote
Old November 16th, 2009, 12:49 AM   #225 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by drumtrucker View Post
Turns out the AVI file I was fighting with was problematic. D/L'd a different version and just ran through HB with 854 width and 500 frame rate (yes 500 not a typo) and got a much smaller file that fills the screen with ZOOM OFF and sync seems fine (just checked in about middle of movie). Going to run another time with width 640 and 300 bit rate.
How large did the file end up being? I'm seeing about 1GB for a 1 hour 30 minute movie @1500kbps.

Was your file really only ~350MB?
Fabolous is offline  
Last edited by Fabolous; November 16th, 2009 at 01:04 AM.
Reply With Quote
Old November 16th, 2009, 12:59 AM   #226 (permalink)
Member
 
Join Date: Nov 2009
Location: Virginia Beach, VA
Posts: 421
 
Device(s): Casio Commando
Thanks: 27
Thanked 57 Times in 34 Posts
Default

You gent's are a bit brighter than I, but I do appreciate all the effort.
This thread took me from a complete beginner botching everything I tried.... to managing to work out something useful, for me anyway.
__________________________________________________ __________
If any of you own Windows based "ImToo DVD Ripper", I have found a way to get the output to work at 854x480. Pretty nicely too, based on the two DVD's I have done.

This involves the existing profiles for Ipod, Zune, HD, etc.
Select the "HD MPEG4" profile, set the max bitrate at 10,000, and save it as a user-defined profile named "Droid".
Look in the ImToo driectory and open the "Profile\user\Droid.pf" file using Notepad. Change the s=0 line to read" "s=0, "", "854x480", 1, {"Auto", "848x480", "854x480", "720x480"}". Save it.

Reopen the program and you can now save standard DVD's as MP4's that fit the full width and look pretty good. I figured having the option of 848x480 and 720x480 would be helpful....maybe.
Try the different "Zoom" settings, depending on the source format....you can test them in the built-in viewer.

I can now go straight from DVD to Droid in one pass.
I hope this helps someone besides myself.

You may want to change the first few lines to read as follows, so the "Droid" designation appears everywhere you see this profile. Not required, but it is less confusing.
Name=Droid
SName=Droid
Format=mp4
ExtName=mp4
Desc=Droid MPEG4 Video File.


$
RAF
Rafael is offline  
Last edited by Rafael; November 16th, 2009 at 01:02 AM.
Reply With Quote
Old November 16th, 2009, 01:17 AM   #227 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Fabolous View Post
How large did the file end up being? I'm seeing about 1GB for a 1 hour 30 minute movie @1500kbps.

Was your file really only ~350MB?
710mb input yielded 473mb file

gonna run a bigger ~1.2gb through at 640 and 500kbps
drumtrucker is offline  
Reply With Quote
Old November 16th, 2009, 01:21 AM   #228 (permalink)
Senior Member
 
Redflea's Avatar
 
Join Date: Oct 2009
Posts: 2,598
 
Device(s): Droid2, Rooted Tweaked Stock
Thanks: 33
Thanked 245 Times in 136 Posts
Default

FYI - I'm using a bit rate of 800 in Handbrake and movies look fantastic...no need for high bit rates.
Redflea is offline  
Reply With Quote
Old November 16th, 2009, 01:43 AM   #229 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default

what is diff between mp4 and m4v?

never mind, found this (below), but now question is does it matter for Droid?

http://forums.macrumors.com/showthread.php?t=441377
drumtrucker is offline  
Last edited by drumtrucker; November 16th, 2009 at 03:14 AM.
Reply With Quote
Old November 16th, 2009, 10:00 AM   #230 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Having problems

I converted my DVD using Handbreak. However, it still tells me that it can't play the video on my droid eris. I converted to mp4
opraman is offline  
Reply With Quote
Sponsors
Old November 16th, 2009, 10:08 AM   #231 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default encoding

How long does it take to encode a DVD using Handbreak?
opraman is offline  
Reply With Quote
Old November 16th, 2009, 04:09 PM   #232 (permalink)
Member
 
thegreen's Avatar
 
Join Date: Nov 2009
Location: Chicago
Posts: 157
 
Device(s): Galaxy Nexus, OG Droid
Thanks: 4
Thanked 13 Times in 7 Posts
Default

Quote:
Originally Posted by opraman View Post
How long does it take to encode a DVD using Handbreak?
It depends on the length of movie and your comps. processor... mine is sorta slow so it can sometimes take anywhere from 3-6 hours. I usually start a conversion at nigh before bed so it's done the next morning. It might be faster on your machine.
thegreen is offline  
Reply With Quote
Old November 16th, 2009, 06:16 PM   #233 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by thegreen View Post
It depends on the length of movie and your comps. processor... mine is sorta slow so it can sometimes take anywhere from 3-6 hours. I usually start a conversion at nigh before bed so it's done the next morning. It might be faster on your machine.
Oof, that's harsh.

For me, the most a movie has taken was about 45 mins to encode. Helps to have a 3.7GHz quad core though, lol.

And to follow up on handbrake using 848 vs 854, turns out the result is the same anyways.

Using either number ends up with a video of width 848.
Fabolous is offline  
Reply With Quote
Old November 16th, 2009, 06:22 PM   #234 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 41
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Easiest way I have found to get movies is that work great is just to download them from sites like mp4pig.webs dot com or under the movie section on crackberry. There is tons of titles already shrank and formated to work on mobile phones I have not had any problems playing them on my Droid
GixxerJoe is offline  
Reply With Quote
Old November 16th, 2009, 08:24 PM   #235 (permalink)
Member
 
Join Date: Nov 2009
Location: BR, LA
Posts: 150
 
Device(s): MotoDroid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Tymanthius Send a message via Yahoo to Tymanthius
Default Ubuntu 9.10 Encoding SOLVED!!

Found the solution finally. And it's 'out of the box' if you have Ubuntu.

h264enc

It's a script, and it's in the repositories. Just

Code:
sudo apt-get install h264enc

h264enc -3p -p iphhq
Adjust the settings as needed. There is a way to make a 'preset' file, and i'm working on that. When I'm happy with it, I'll post it.

Tymanthius is offline  
Reply With Quote
Old November 16th, 2009, 08:46 PM   #236 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 44
 
Device(s):
Thanks: 1
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by GixxerJoe View Post
Easiest way I have found to get movies is that work great is just to download them from sites like mp4pig.webs dot com or under the movie section on crackberry. There is tons of titles already shrank and formated to work on mobile phones I have not had any problems playing them on my Droid
This. I have maybe 9 movies. I just download them, and move them to my SD card.
drew3739 is offline  
Reply With Quote
Old November 16th, 2009, 09:34 PM   #237 (permalink)
Member
 
Join Date: Nov 2009
Location: Florida
Posts: 109
 
Device(s): D.R.O.I.D.
Thanks: 0
Thanked 0 Times in 0 Posts
Default

interesting site, but what quality are those movies? Video encoded using Handbrake from a high quality source is almost HD quality on the Droid's screen. If your images quality is not as good as Fabulous's sample (post #152 or 218), it's not worth the download.
lemodular is offline  
Last edited by lemodular; November 16th, 2009 at 09:38 PM.
Reply With Quote
Old November 16th, 2009, 09:58 PM   #238 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 44
 
Device(s):
Thanks: 1
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by lemodular View Post
interesting site, but what quality are those movies? Video encoded using Handbrake from a high quality source is almost HD quality on the Droid's screen. If your images quality is not as good as Fabulous's sample (post #152 or 218), it's not worth the download.
90 perecnt of the movies on there were made the same way as posted. Majority are perfect and super clear but You will eventually get a bad quality one. But a 10 minute download as opposed to a 4 hour turnaround is worth a quick delete for me.
drew3739 is offline  
Reply With Quote
Old November 16th, 2009, 11:36 PM   #239 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know that H264 is of much better quality, but in all honesty; has anyone noticed that much of a difference in that format vs MP4 on the playback of our phones?
JTAC is offline  
Reply With Quote
Old November 17th, 2009, 12:21 AM   #240 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,139 Times in 696 Posts
Default

Quote:
Originally Posted by drew3739 View Post
90 perecnt of the movies on there were made the same way as posted. Majority are perfect and super clear but You will eventually get a bad quality one. But a 10 minute download as opposed to a 4 hour turnaround is worth a quick delete for me.
Seems to me those movies are encoded for PSP, which has a resolution of 480x272. So, while they may be "clear", that's only 32% of the pixels on the Droid. For some it may not matter, for others it may. I'm glad we have both methods posted in this thread.

Quote:
Originally Posted by JTAC View Post
I know that H264 is of much better quality, but in all honesty; has anyone noticed that much of a difference in that format vs MP4 on the playback of our phones?
There are various types of MP4, with H.264 being one of them. H.264 is superior in image quality as well as compression. The trade off of course is that it takes longer to encode.
Fabolous is offline  
Reply With Quote
Sponsors
Old November 17th, 2009, 12:42 AM   #241 (permalink)
Junior Member
 
Theibault's Avatar
 
Join Date: Nov 2009
Location: Colorado Springs
Posts: 89
 
Device(s): Xoom, Razr, Thunderbolt, Rezound, X2, Xperia, Droid X, Droid, Eris, Ally
Thanks: 2
Thanked 11 Times in 8 Posts
Default

Ok, so I'd like some input on this. I have a huge DVD collection (over 1K) and I'd like some help. Easiest way I've found for ripping is using bitRipper. I then use Moto Media Link for a quick drag and drop to Droid. The issue I'm having is that regardless of what settings I use in bitRipper regarding aspect and resolution, once MML moves the file to my Droid, it shrinks it so only 2/3rds the screen is used. Picture is great, no frame drops, and no audio sync issues, however, it doesn't fill that gorgeous screen!!! What gives? Anyone out there have any insight? Anyone using bitRipper and/or MML for this?
*it seems MML will only do hi-res if you pay for the premium version
Theibault is offline  
Last edited by Theibault; November 17th, 2009 at 01:33 AM.
Reply With Quote
Old November 17th, 2009, 01:11 AM   #242 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have my own Motorola Droid preset in HandBrake. I am trying to encode a test chapter in H264, but I cannot get the video to display...only get audio. I have it the video format as MP4, video codec as H264, iPod 5G Support checked, and 1500 KBPS. Any idea what I am doing wrong?
JTAC is offline  
Reply With Quote
Old November 17th, 2009, 02:03 AM   #243 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Theibault View Post
Ok, so I'd like some input on this. I have a huge DVD collection (over 1K) and I'd like some help. Easiest way I've found for ripping is using bitRipper. I then use Moto Media Link for a quick drag and drop to Droid. The issue I'm having is that regardless of what settings I use in bitRipper regarding aspect and resolution, once MML moves the file to my Droid, it shrinks it so only 2/3rds the screen is used. Picture is great, no frame drops, and no audio sync issues, however, it doesn't fill that gorgeous screen!!! What gives? Anyone out there have any insight? Anyone using bitRipper and/or MML for this?
*it seems MML will only do hi-res if you pay for the premium version
act1 video player has zoom feature that will (with aspect setting choice) fill the droid screen and I cannot see the difference. 640 wide file look great!
drumtrucker is offline  
Reply With Quote
Old November 17th, 2009, 02:37 AM   #244 (permalink)
Member
 
drumtrucker's Avatar
 
Join Date: Nov 2009
Location: in my big-truck
Posts: 164
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default Using Handbrake I am leaning towards these conclusions

The most influential parameter is the bit rate in the video tab.

I have run the same input files through at 300 500 800 kbps and produced output files of 360mb 514mb 746mb respectively. The input file size seems to have little or no effect on the output file size using the same settings. Been using 2 AVI files of 716mb and 1.2gb original sizes and they both produce the ~sizes above.


setting the resolution to 848 (which as fabo says is the result even if you enter 854), for some reason produces a slightly smaller file than if you have set at 640 (744 and 746). If you want to fill your droid screen without a player that has zoom (act1 video player does, see my post above), use the 848 width setting.

the 500 bit rate looks great but sound sync seems a hair off (when peoples lips are moving), but the 800 seems to SYNC better (the issue that got obsessed with this), at least on the 2 films I have been testing with.


I am not sure why am losing so much sleep trying to figure this out, I will probably rarely ever actually watch a movie on it. It is fun to blow people away with the quality though.
drumtrucker is offline  
Reply With Quote
Old November 17th, 2009, 08:11 AM   #245 (permalink)
Member
 
Join Date: Nov 2009
Posts: 331
 
Device(s): Droid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to tsaunders Send a message via Yahoo to tsaunders Send a message via Skype™ to tsaunders
Default

I just tried handbrake and it just gives me a 1KB file. It runs to fast to see the error.

Does anyone know how to see what is causing the issue?
tsaunders is offline  
Reply With Quote
Old November 17th, 2009, 11:05 AM   #246 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 21
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

check out ipodme. its a free program that quickly converts to mp4 format. I just converted a full movie in 20 minutes and quality is great for the droid. Was an avi file. will need to experiment with other types.
bl80 is offline  
Reply With Quote
Old November 17th, 2009, 11:26 AM   #247 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 71
 
Device(s):
Thanks: 0
Thanked 2 Times in 2 Posts
Default

For some reason, using Handbrake H.264 encoding doesn't work for me (no video on the Droid) so I'm using FFmpeg encoding and that works perfect. Not sure of the quality difference, but with the lower resolution of the Droid (compared to 720p or 1080p) I'm not going to complain.
ginigma is offline  
Reply With Quote
Old November 17th, 2009, 11:33 AM   #248 (permalink)
Member
 
Join Date: Nov 2009
Posts: 331
 
Device(s): Droid
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to tsaunders Send a message via Yahoo to tsaunders Send a message via Skype™ to tsaunders
Default

I am trying to convert a 2GB+ .m4v file to a format that will play on my Droid.
tsaunders is offline  
Reply With Quote
Old November 17th, 2009, 03:56 PM   #249 (permalink)
Member
 
MonmouthDroid's Avatar
 
Join Date: Nov 2009
Posts: 226
 
Device(s):
Thanks: 19
Thanked 6 Times in 6 Posts
Default

Ok so i read through the first few pages of this thread. I got 1 video to look pretty good. It had black bars on the sides AND it looked squished, so pretty much it needed to be full screen. Was the first chapter of iron man widescreen dvd. I have tried the ipod legacy, ipod video, all of that and changed the width to 848 but the videos come out TINY, no where near full screen. I am using hand break. any suggestions.

720x480 has awesom picture quality and is full height, but it is squished with black bars on the side


EDIT: If any one else is having an issue where the videos are tiny regardless of how they rip it AND they are using Motorola Media Link to sync, Media link may be the problem. I looked and a video (chapter 1 of iron man) was 133 MB on my computer, after sync it had been compressed to 26MB! drag and drop fixed the issue. 848x480 looks AMAZING on the Droid screen for widescreen videos. AMOLED on the Moment is still low res, there no way it looks as good as this.
MonmouthDroid is offline  
Last edited by MonmouthDroid; November 17th, 2009 at 05:04 PM.
Reply With Quote
Old November 17th, 2009, 07:33 PM   #250 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default transferring video to droid

I ran my dvd through Handbreak using Mp4 and it came out all distorted in my computer folder on the c: When I went to drag it to my droid, it told me it was to large. I'm clueless how to get it to work.
opraman is offline  
Reply With Quote
Sponsors
Reply

Motorola Droid
Current Rating:
Rate this Phone:

The Motorola Droid - the first ever Verizon Android Phone - exploded onto the mobile market with an incredibly successful ad campaign that brough Android to the masses. With a huge and vibrant touchscreen, solid metal body, full QWERTY keyboard, 5M... Read More


Bookmarks


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - How-to and Tips User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting Videos on Droid X bumpylemon Droid X - Support and Troubleshooting 9 October 27th, 2010 04:46 PM
Videos: death grip on Droid X, EVO, Droid Incredible, Nexus One, Galaxy 1, G1, etc. AndroidFan2 Android Lounge 12 July 25th, 2010 09:48 PM
Need help streaming videos on a Droid! MWeldon Application Development 2 July 22nd, 2010 12:55 AM
Bad Videos on Droid (see one here) FireChief Motorola Droid 32 February 23rd, 2010 03:09 PM
Videos on the Droid almostemerica17 Motorola Droid 1 November 7th, 2009 02:47 PM



All times are GMT -5. The time now is 09:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo


SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.