Reply
Thread Tools
Posts: 739 | Thanked: 220 times | Joined on Dec 2009 @ Surrey, UK
#1
I have been experimenting with trying to get a DVD onto the N900. It is my own made DVD so doesn't have any copyright but have tried several options and settings with the Handbrake software but haven't managed to have the N900 play it.

Is there some specific file type and settings that I need to ensure so that the N900 will play it?
__________________
There is a way that seems right to a man, but in the end it leads to death. Proverbs 14:12
 
Posts: 24 | Thanked: 61 times | Joined on Dec 2009
#2
You've got a couple of options with the new handbrake.

If you're just targeting stock codecs, you'll need to use mp4 containers (and remember to turn on the web extensions if you're going to stream!). Inside that you can use the basic divix mode, but it's much better to use h.264.

Start with the iphone profile and then make a few tweaks to take advantage of the n900's extra power.

1) You can raise the number of ref frames to 4 safely, and probably 5.

2) You won't need to scale down the video to iphone resolutions, but you will need to resize, because the default media player can't handle non-square pixels (which is what all DVDs have).

Resize 4:3 DVDs to 640x480. For 16:9 DVDs, it's a little trickier. You can expand them to 848x480 (or 1024x576 for PAL) but that's higher than native. I'd suggest 800x448 which is what the media player will use anyway.

3) For bitrate, you have two choices. If you're only going to use the files off a memory card or the internal memory, then use constant quality mode and use something around 20. If you're going to stream the file, you will be limited by the media player's broken buffering. In my tests, I found that a the overall rate (audio + video) must be around 1Mbit/s at the most. After subtracting audio (assuming 128kbps), that leaves 865 for video. So use fixed rate at 865 with two pass to make the most of what you've got.

4) For audio, transcode to aac.

5) If you're using the extra codec pack, then you can use mkv containers and keep ac3 audio tracks, but those will be decoded with the cpu, wasting battery, and you won't get surround sound, so it's pretty pointless.

Hope that helps
 

The Following 8 Users Say Thank You to philipl For This Useful Post:
R-R's Avatar
Posts: 739 | Thanked: 242 times | Joined on Sep 2007 @ Montreal
#3
 

The Following 3 Users Say Thank You to R-R For This Useful Post:
Posts: 739 | Thanked: 220 times | Joined on Dec 2009 @ Surrey, UK
#4
Thanks Philipl and R-R.

R-R I couldn't see a download link from your url. Am i missing it or something?
__________________
There is a way that seems right to a man, but in the end it leads to death. Proverbs 14:12
 
Posts: 247 | Thanked: 91 times | Joined on Jan 2008 @ London/M4 Corridor
#5
Originally Posted by R-R View Post
http://mediautils.garage.maemo.org/tablet-encode.html

might help
I see that the date on the webpage is 2007. I suspect it may be missing the best settings for the N900...
 
Posts: 661 | Thanked: 690 times | Joined on Jul 2007
#6
I agree that that page referenced is for the older tablets. I remember from back then.
Also, someone else referenced the N900's extra power. What exactly is this? From what I have read it uses the same processor as the iPhone. I do not ask facetiously. I do want to know if indeed the N900 has hardware that is superior in some way.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#7
Originally Posted by Alan_Peery View Post
I see that the date on the webpage is 2007. I suspect it may be missing the best settings for the N900...
The latest version was released in November and features an N900-specific preset with very high bitrate and full 800x480 encoding.

Ripping a DVD to the best possible quality and putting it directly on the N900 is a case of:

Code:
tablet-encode -p n900 --hq -2 dvd: /media/n900/.videos/
The problem with the phrase "ideal" is what your criteria are: quality, encoding time, file size, ... :-)
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 2 Users Say Thank You to Jaffa For This Useful Post:
Posts: 739 | Thanked: 220 times | Joined on Dec 2009 @ Surrey, UK
#8
[QUOTE=Jaffa;429705]
Ripping a DVD to the best possible quality and putting it directly on the N900 is a case of:

Code:
tablet-encode -p n900 --hq -2 dvd: /media/n900/.videos/
[QUOTE]

Ok, I am a windows man so what, how, where. Could you explain the above code. I think I have the gist of it but would be useful to clarify.

Is the code relying upon a dvd in the drive? How would I specifiy a specific file and where would that line of code be run from?
__________________
There is a way that seems right to a man, but in the end it leads to death. Proverbs 14:12
 

The Following User Says Thank You to cardiff-blues For This Useful Post:
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#9
Originally Posted by cardiff-blues View Post
Ok, I am a windows man so what, how, where. Could you explain the above code. I think I have the gist of it but would be useful to clarify.
Windows, you need:
You unpack the tablet-encode tarball and the basic usage is:

Code:
tablet-encode input.avi output.avi
To get a list of presets and help:

Code:
tablet-encode -p list
tablet-encode -h
Is the code relying upon a dvd in the drive? How would I specifiy a specific file and where would that line of code be run from?
Command Prompt. Yes, instead of an input file on the above, you can use dvd: to mean "the DVD in the drive". It also features episode extraction for multiple title DVDs.

However, on Windows if you don't like the command line, you may be better off with Handbrake, Nokia's Internet Tablet Video Converter or Media Converter.

More info at: http://wiki.maemo.org/Video_encoding
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
Posts: 661 | Thanked: 690 times | Joined on Jul 2007
#10
Can you tell me more about where this "extra power" comes from? I am genuinely interested in this. A friend who is interested has asked what the big deal is, and if it does have some hardware superiority I'd like to be able to point it out.

[QUOTE=philipl;428415]

Start with the iphone profile and then make a few tweaks to take advantage of the n900's extra power.

1) You can raise the number of ref frames to 4 safely, and probably 5.
.....
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:21.