HOW TO convert any video to your Nexus One

This is a discussion on HOW TO convert any video to your Nexus One within the Nexus One Tech Issues / Bug Reports forums, part of the Nexus One Discussion category; Dear Friends, Allow me to post the steps required to convert video's to MP4 (= M4V) with H.264 video and AAC audio. In my opinion, ...


Nexus One Forum Nexus One Forum RSS Feed Find us on Facebook Nexus One Twitter
Register Button
Go Back   Nexus One/Nexus S Forum - Google Phone Forum » Nexus One Discussion » Nexus One Tech Issues / Bug Reports

Nexus One Tech Issues / Bug Reports If you have a technical issue or a bug report specific to the Nexus One, please post it in here.

Reply
Old 01-13-2010, 04:15 AM   #1
Junior Member
 
Member #1226
Join Date: Jan 2010
Posts: 28
Phone: Not Listed
Carrier: BASE
Smile HOW TO convert any video to your Nexus One

Dear Friends,

Allow me to post the steps required to convert video's to MP4 (= M4V) with H.264 video and AAC audio.
In my opinion, that format is best suited for our beloved Nexus One.

Best regards,

A very satisfied N1 user.



STEP 1: Install Handbrake
HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows. It is packaged with all the needed libraries, so you don't have to go through the pain of compiling ffmpeg or mencoder with x264 support. Go to the download page and install it !

Note:
Ubuntu Linux users once again have the edge here; instead of downloading the installation package from the website, you can also add Ubuntu's Handbrake repository to your software sources, so that it's automatically upgraded and what not. Read all about it in the official HOW-TO.

STEP 2: Use Handbrake to convert your first video
Start Handbrake.

The easiest way to convert your first video is to:
  • open the input video (CTRL-O)
  • select the "iPhone and iPod Touch" preset on the right
  • click "Queue" -> "Start Queue" to start converting.

Now you're done ! Go do something else because this takes a while (about 1 hour to convert a 90-minute movie on my Intel Core Duo @ 2.33Ghz). When the video has finished converting, copy it to your Nexus One and try it out.

STEP 3 (optional): Customizations
Handbrake allows you to tweak your output video in many ways - take a look at the Handbrake Guide.

When you change one of the settings, be sure to save it in a preset (call it "Nexus One") so you can easily load it next time.

One thing that's really recommended, is using a higher video resolution (thanks dvdcatalyst). The "iPhone and iPod Touch" preset sets the video width to 480px, which is the maximum for those devices. That's pretty nice, but since the N1 can handle 800x480, you can take advantage of that like so:
  1. Go to View -> "Picture Settings"
  2. If your source video width is <= 800px, then check "Optimal for source" under "Storage".
  3. If your source video width is > 800px, then "Optimal width for source" will be bigger then your screen can display, so you'll be wasting storage space and CPU time. Manually setting the "Storage" width to 800px will alleviate this problem.
Here are a few things that you might want to experiment with:
  • Increase the video quality (on the "Video" tab) to 65%, although you proably won't notice this on your phone.
  • Under View -> "Picture Settings" you can customize the dimensions of the video, or...
  • ...enable the Deblocking filter (level 5-10) if your source video exhibits "blockiness".
  • Increase the audio quality (on the "Audio" tab) by increasing the AAC bitrate. Don't go over 160 (cfr. the phone specs) !
  • Burn in subtitles (on the "Subtitles" tab). I don't think the native "Gallery" video player supports .srt files (yet?). NOTE: I haven't done this, feel free to share your experience.
  • Toy around with the Anamorphic Modes - using them can make your files smaller without losing quality. Try "Loose Anamorphic" with an alignment of 16.

If you want to do this from command line, the following command should get your started:
Code:
 HandBrakeCLI -i "<inputfile>" -o "<outputfile>" -f mp4 -e x264 -q 0.60 --loose-anamorphic -x level=30:cabac=0:ref=2:mixed-refs:analyse=all:me=umh:no-fast-pskip=1 --deblock -E faac -B 128 -R 48 -6 dpl2
It does autocropping, a little deblocking, and loose anamorphic encoding at 60% quality.

FAQ
Why can't we just download a media player app that plays downloaded movies (for example, Xvid in AVI) ?
  1. There are to my knowledge no free apps that do this.
  2. If your video is encoded with H.264 AVC, you can benefit from the hardware acceleration, and you can stick with the built-in "Gallery" movie player.
  3. It doesn't hurt to convert your video's to H.264. In fact, they'll take less space for the same quality.
Known Issues
  • When rotating the video (by tilting the phone), it goes white. This has been seen when opening the video with ES File Explorer, but I have a feeling this always happens when you try to rotate a video on the Nexus One (thanks m1bxf).
  • Some users report having a different GUI (different menu's and such) in Handbrake 0.9.4. We haven't gotten to the bottom of that, so anyone who can confirm or deny this if free to do so.

Questions, tips, hints ? Post them here !
I'll update the HOW-TO and the FAQ accordingly.

Last edited by tomvb; 01-25-2010 at 08:35 AM. Reason: added feedback
tomvb is offline   Reply With Quote
Old 01-13-2010, 06:26 AM   #2
Junior Member
 
Member #1296
Join Date: Jan 2010
Posts: 13
Phone: Not Listed
Carrier: Not Listed
Excellent! This is a great guide that actually uses freeware programs
nDrg is offline   Reply With Quote
Old 01-13-2010, 06:34 PM   #3
Junior Member
 
m1bxf's Avatar
 
Member #1177
Join Date: Jan 2010
Location: Cambridge, UK
Posts: 16
Phone: Nexus One
Carrier: Vodafone UK
Good guide. The video does play however if I rotate the screen the image goes white and doesn't recover unless I restart the video file, the audio continues as normal - I'm using the default "iPhone and iPod Touch" preset.

EDIT: Updated with more info below:

It appears rotating the video (by orientating the phone) doesn't happen when you open a video from the gallery. I was originally opening the video file using ES File Explorer which seems to allow the video to rotate which cause the issue described above.

Gavin.

Last edited by m1bxf; 01-13-2010 at 07:08 PM.
m1bxf is offline   Reply With Quote
Old 01-14-2010, 01:05 AM   #4
Member
 
Member #661
Join Date: Jan 2010
Posts: 32
Phone: DynaTAC 8000X
Great guide, but I would definitely add something about changing the screen resolution to achieve a higher quality video.

The iPhone profile, while producing a good looking video is limited to 480x320 in resolution, while the Nexus has a resolution of 800x480. This basically results in that the video player on the Nexus pretty much doubles the resolution, which doesnt truly do justice to the quality of the video.

Specifically in regards of the h264 acceleration chip the Nexus has, I would certainly go for video files of a screen resolution closer to the resolution of the device.

edit:

Since I was doing trailers for my "Trailer Thread" anyway, I converted the 2012 trailer (full-screen option to eliminate black bars completely) to show the difference in resolution.
The source was a 720p MOV file obtained from Apple's Trailer website.

The mp4's are stream-capable, and should play while downloading, the zips are for PC download and manual transfer to your Nexus

iPhone 480x320 full screen

http://www.tools4movies.com/Nexus1/2012_fs_iphone.mp4
http://www.tools4movies.com/Nexus1/2012_fs_iphone.zip

Nexus One 800x480 full screen

http://www.tools4movies.com/Nexus1/2012_fs_nexus.mp4
http://www.tools4movies.com/Nexus1/2012_fs_nexus.zip

Note, the full-screen method used removes a small portion from the sides of the video. The different methods to achieve full-screen movies on your device is explained in detail in my original Movie Trailer thread for the Motorola Droid, and can be found here: http://www.droidforums.net/forum/dro...-trailers.html

Last edited by dvdcatalyst; 01-14-2010 at 01:24 AM. Reason: File links added :)
dvdcatalyst is offline   Reply With Quote
Old 01-14-2010, 03:44 AM   #5
Junior Member
 
Member #1345
Join Date: Jan 2010
Posts: 7
Phone: Nexus One
Carrier: Google
I like Handbrake, but it not works very well on Windows. I got the Aimersoft video converter to convert my videos before. Luckly, It fully support my Nexus One.
If some one need it too, free try it here:
http://www.aimersoft.com/video-converter.html#161
lovemarser is offline   Reply With Quote
Old 01-14-2010, 03:48 AM   #6
Junior Member
 
Member #1226
Join Date: Jan 2010
Posts: 28
Phone: Not Listed
Carrier: BASE
Thanks for all the feedback guys !

I'm going to incorporate all of them in the How-To, I'm experimenting with the higher resolutions at the moment.
tomvb is offline   Reply With Quote
Old 01-14-2010, 04:51 PM   #7
Junior Member
 
Member #1164
Join Date: Jan 2010
Posts: 16
Phone: Nexus One
Carrier: T-Mobile
Send a message via Yahoo to BrandonG777
Working on a post processing script for SABnzbd, will probably incorporate your settings. Good looking out!
BrandonG777 is offline   Reply With Quote
Old 01-15-2010, 03:47 AM   #8
Junior Member
 
Member #1226
Join Date: Jan 2010
Posts: 28
Phone: Not Listed
Carrier: BASE
Interesting, BrandonG777 - are you going to add an "Copy downloaded movies to Nexus One" option to SABnzbd or something ?
tomvb is offline   Reply With Quote
Old 01-15-2010, 08:48 AM   #9
Junior Member
 
Member #1164
Join Date: Jan 2010
Posts: 16
Phone: Nexus One
Carrier: T-Mobile
Send a message via Yahoo to BrandonG777
Quote:
Originally Posted by tomvb View Post
Interesting, BrandonG777 - are you going to add an "Copy downloaded movies to Nexus One" option to SABnzbd or something ?
No, it'll just convert downloaded content automatically/optionally for easy playback on a nexus one. Going to try and find a common setting that will playback on ps3/Xbox 360 too since I own a few of those too and in combination with twonkyserver you'll be able to stream to those devices from the nexus one.
BrandonG777 is offline   Reply With Quote
Old 01-16-2010, 08:02 PM   #10
Junior Member
 
Member #1504
Join Date: Jan 2010
Posts: 8
Phone: Not Listed
Carrier: Not Listed
Settings for HandBrake 0.9.4?

Hi, thanks for the guide. It is exactly what I am looking for... the only problem is, I cannot actually follow the instructions on a Mac under 0.9.4. Are there new instructions or am I missing something?

Specifically, where is "Optimal for source" under "Storage?"

From:

One thing that's really recommended, is using a higher video resolution (thanks dvdcatalyst). The "iPhone and iPod Touch" preset sets the video width to 480px, which is the maximum for those devices. That's pretty nice, but since the N1 can handle 800x480, you can take advantage of that like so:
  1. Go to View -> "Picture Settings"
  2. If your source video width is <= 800px, then check "Optimal for source" under "Storage".
  3. If your source video width is > 800px, then "Optimal width for source" will be bigger then your screen can display, so you'll be wasting storage space and CPU time. Manually setting the "Storage" width to 800px will alleviate this problem.
Cheers

Last edited by dlp1000; 01-17-2010 at 09:23 PM.
dlp1000 is offline   Reply With Quote
Reply

Lower Navigation
Go Back   Nexus One/Nexus S Forum - Google Phone Forum » Nexus One Discussion » Nexus One Tech Issues / Bug Reports

Tags
gallery, h.264, h264, handbrake, video, video converter, videos, x264

Divider


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Search tags for this page
"nexus one" handbrake
,
handbrake "nexus one"
,

handbrake nexus one

,
handbrake nexus one preset
,
handbrake optimal for source
,
handbrake presets nexus one
,
handbrake profile for nexus s
,
how to convert nexus one video
,
how to convert videos for android
,
how to convert videos for nexus one
,
mencoder nexus s
,
nexus one handbrake profile
,
nexus one handbrake settings
,

nexus one video converter

,
nexus one video resolution
,
nexus one video size
,
settings in handbrake for nexus 1
,
ubuntu video nexus one konvertieren
,
video converter nexus one
,
x264 settings for nexus one
Click on a term to search our sites for related topics.

Thread Tools
Display Modes

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
Nice Nexus One video review chazman1117 Nexus One Audio / Video 3 01-14-2010 03:47 AM
How-ToHow-To: Convert any video to your Nexus One tomvb Staging 0 01-13-2010 06:56 AM
hello from iphone convert sifugazz New Member Introductions & Site Assistance 1 01-10-2010 01:19 PM
A new video of the Nexus One is out. WERA689 Nexus One Audio / Video 3 12-23-2009 06:11 PM
Nexus One - Video Clips JimMariner Nexus One General Discussion 2 12-17-2009 08:59 PM