<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://thecastle.me.uk/index.php?action=history&amp;feed=atom&amp;title=Nokia_800_Stuff</id>
	<title>Nokia 800 Stuff - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://thecastle.me.uk/index.php?action=history&amp;feed=atom&amp;title=Nokia_800_Stuff"/>
	<link rel="alternate" type="text/html" href="https://thecastle.me.uk/index.php?title=Nokia_800_Stuff&amp;action=history"/>
	<updated>2026-05-30T16:31:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://thecastle.me.uk/index.php?title=Nokia_800_Stuff&amp;diff=6496&amp;oldid=prev</id>
		<title>90.219.46.51: Created page with &quot;/home/william/handbrake -2 -t 1 -w 400 -l 240 -b 512 -r 25 -B 128 -R 44100 -i path_to_VTS_files -o output_filename.mp4   Script for easy conversion of DVD to mpgs for N800  #F...&quot;</title>
		<link rel="alternate" type="text/html" href="https://thecastle.me.uk/index.php?title=Nokia_800_Stuff&amp;diff=6496&amp;oldid=prev"/>
		<updated>2021-08-04T16:14:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;/home/william/handbrake -2 -t 1 -w 400 -l 240 -b 512 -r 25 -B 128 -R 44100 -i path_to_VTS_files -o output_filename.mp4   Script for easy conversion of DVD to mpgs for N800  #F...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/home/william/handbrake -2 -t 1 -w 400 -l 240 -b 512 -r 25 -B 128 -R 44100 -i path_to_VTS_files -o output_filename.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Script for easy conversion of DVD to mpgs for N800&lt;br /&gt;
&lt;br /&gt;
#Feel free to reuse this script&lt;br /&gt;
#And when you are finished hacking it to bits drop me a line and I will happily&lt;br /&gt;
#add the hacked bits to this script for others&lt;br /&gt;
#But dont forget to go and get a Purple alert Card for those emergencies&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# This will convert all titles on a DVD to N800 in fairly good quality.&lt;br /&gt;
# $1 = DVD/VIDEO_TS (eg. /media/TitleOfDVD )&lt;br /&gt;
# $2 = ~/dvds/titlename/title1 to $3 &lt;br /&gt;
# ($3 = number of titles)&lt;br /&gt;
# if no args then show do ls of /media and of /mnt&lt;br /&gt;
# and if no $2 then show number of titles in $1&lt;br /&gt;
#./handbrake -2 -t 1 -w 400 -l 240 -b 512 -r 25 -B 128 -R 44100 -i $1 -o $2     &lt;br /&gt;
#&lt;br /&gt;
echo &amp;quot;# This will convert all titles on a DVD to N800 in fairly good quality.&amp;quot;;&lt;br /&gt;
echo &amp;quot;# 1st argument is the DVD path eg = /mnt/ &amp;quot;;&lt;br /&gt;
echo &amp;quot;# 2nd argument is the actual DVD path name eg if /mnt/dvd then just dvd&amp;quot;;&lt;br /&gt;
echo &amp;quot;# 3rd arugment is the start title to convert&amp;quot;;&lt;br /&gt;
echo &amp;quot;# 4th argument is the final title to convert&amp;quot;;&lt;br /&gt;
echo &amp;quot;# if no argumentss then program will do ls of /media and of /mnt so you can determine the DVD path names&amp;quot;;&lt;br /&gt;
echo &amp;quot;# and if no 3rd argument then it will show the number of titles in the path given&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;# SAMPLE COMMAND : ./DVDtoN800.sh /media/ MyDVD 1 8 &amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;# the sample command will convert titles 1 to 8 on the DVD and output the new mini files to ~/N800DVDS&amp;quot;;&lt;br /&gt;
echo &amp;quot;# Note the space between /media/ and MyDVD this allows the folder to be created in N800DVDS&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;; &lt;br /&gt;
if [ ! -d ~/N800DVDS ]; then&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
	echo &amp;quot;Creating ~/N800DVDS directory for DVDs&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
	mkdir ~/N800DVDS;&lt;br /&gt;
fi&lt;br /&gt;
if [ $3 ]; then&lt;br /&gt;
# do the work&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;Converting DVD&amp;quot;;&lt;br /&gt;
mkdir ~/N800DVDS/$2;&lt;br /&gt;
echo &amp;quot;Converting chapters $4 to $5 &amp;quot;;&lt;br /&gt;
for COUNTER in `seq $4 $5`;&lt;br /&gt;
  do&lt;br /&gt;
   echo &amp;quot;Converting Title $COUNTER&amp;quot;;&lt;br /&gt;
   echo ./handbrake -2 -t $COUNTER -w 400 -l 240 -b 512 -r 25 -B 128  -i $1$2/VIDEO_TS -o ~/N800DVDS/$2/$2$COUNTER.mp4;&lt;br /&gt;
   ./handbrake -2 -t $COUNTER -w 400 -l 240 -b 512 -r 25 -B 128  -i $1$2/VIDEO_TS -o ~/N800DVDS/$2/$2$COUNTER.mp4;&lt;br /&gt;
   let COUNTER=COUNTER+1 &lt;br /&gt;
  done&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;;&lt;br /&gt;
echo &amp;quot;#&amp;quot;; &lt;br /&gt;
exit;&lt;br /&gt;
fi&lt;br /&gt;
if [ $1 ]; then&lt;br /&gt;
#show titles&lt;br /&gt;
echo &amp;quot;Showing you the titles - you need the number of them I can find on the DVD&amp;quot;;&lt;br /&gt;
echo &amp;quot;As soon as you see the number eg. 2 to 11 you can press CTRL+C to break then rerun and put which titles you want to convert into the second arg&amp;quot;;&lt;br /&gt;
./handbrake -t 0 -i $1$2/VIDEO_TS	;&lt;br /&gt;
echo &amp;quot;----End of List----&amp;quot;;&lt;br /&gt;
exit;&lt;br /&gt;
else&lt;br /&gt;
echo &amp;quot;You have not supplied any arguments - I will show you a list of what your DVD access may be :-&amp;quot;;&lt;br /&gt;
echo &amp;quot;Under the media folder is :-&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;quot;;&lt;br /&gt;
ls -ad /media/*;&lt;br /&gt;
echo &amp;quot;&amp;quot;;&lt;br /&gt;
echo &amp;quot;--------------------&amp;quot;;&lt;br /&gt;
echo &amp;quot;Under the mnt folder is :-&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;quot;;&lt;br /&gt;
ls -ad /mnt/*;&lt;br /&gt;
echo &amp;quot;&amp;quot;;&lt;br /&gt;
echo &amp;quot;--------------------&amp;quot;;&lt;br /&gt;
fi&lt;/div&gt;</summary>
		<author><name>90.219.46.51</name></author>
		
	</entry>
</feed>