2010-07-04, 01:21
I tried a lot of solution mention in this forum to get best performance to watch 1080p movies i tired XBMC R28256 on aTV OS and it is till now the most good version to handle 1080p Video but it did not give me the performance i need to enjoy watch the video.
i see the post with Sam.Nazarko [AppleTV] Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image so i tried and get socked with the performance but there was some bugs (always crash, big delay till the video start, .....)
but i do some modification to improve that i will explain what can be done to get much more performance
Prepare :
1- Get a USB Flash drive i use 16GB, 8GB it works
2- HOW-TO install a Miminal Ubuntu and XBMC with sound over HDMI on the AppleTV follow till Create the bootable USB flash drive and stop
3- Use the image from [AppleTV] Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image and copy it to the USB PATCHSTICK
4- Continue the link in step 2 and finish the Backup! section
Note :
This is an example on my harddisk 160GB if you have diffrent size you have to recalcule sizes
Now we are ready, I think you are still telnet to your Apple TV
Now with these modification i can enjoy playing 720p 1080p in mkv also i tried t2ms files in 1080p it did not work with me well with any aTV OS or any other version but now it works great every movie plays well even i stream from TimeCapsule 1TB i do this through run
you can also can downgrade your Time Capsule firmware to version 7.3.2 as described in this thread How can I use ubuntu linux with time capsule support for my atv?
I also give a try to the xbmc-live mention in the Step 3 and it is great image but also i did the resize as i used to the before and i get more more faster performance but i was greedy and i want to make the Apple TV adjust the refresh rate with my samsung B650 TV to able have smooth play for the movie but this need some other modification i will update later
Attention :
- Sorry for my bad English
- I tried to update the xbmc running from this img to the current but i have a bad performance again don't upgrade.
- The Example here for hard disk 160GB don't use it with other you have to modify the resize
- I figured what i did through google in internet i have no pervious experience
I have to thank XBMC Team, Davilla, Sam.Nazarko for the great work they do
i see the post with Sam.Nazarko [AppleTV] Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image so i tried and get socked with the performance but there was some bugs (always crash, big delay till the video start, .....)
but i do some modification to improve that i will explain what can be done to get much more performance
Prepare :
1- Get a USB Flash drive i use 16GB, 8GB it works
2- HOW-TO install a Miminal Ubuntu and XBMC with sound over HDMI on the AppleTV follow till Create the bootable USB flash drive and stop
3- Use the image from [AppleTV] Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image and copy it to the USB PATCHSTICK
4- Continue the link in step 2 and finish the Backup! section
Note :
This is an example on my harddisk 160GB if you have diffrent size you have to recalcule sizes
Now we are ready, I think you are still telnet to your Apple TV
Code:
# mount /dev/sdb3 /mnt
# dd if=/mnt/xbmc-r28256-crystalHD-1.0.3-alsa-1.019-nvidia100.14.19-hardy-cust_machkernel-2.6.24.27.img of=/dev/sda bs=4096
# parted /dev/sda unit s print
/* Note My Hard Disk is 160GB */
Model: ATA SAMSUNG HM160JC (scsi)
Disk /dev/sda: 312581808s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 40s 69671s 69632s hfs+ primary
2 69672s 6427049s 6357378s ext3 primary
3 6427050s 7831518s 1404469s linux-swap primary
#reboot
/* Tenlnet to your Apple TV again
/* Now i will resize the partition to increase it for the primary /
# cd /
# mkdir src dst
# parted -s /dev/sda mkpart primary ext3 30345453s 312319663s
# partprobe /dev/sda
# mkfs.ext3 -b 4096 -L Linux /dev/sda4
# parted -s /dev/sda unit s print
Model: ATA SAMSUNG HM160JC (scsi)
Disk /dev/sda: 312581808s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 40s 69671s 69632s hfs+ primary
2 69672s 6427049s 6357378s ext3 primary
3 6427050s 7831518s 1404469s linux-swap primary
4 30345453s 312319663s 281974211s ext3 primary
/* Backup partition before resize
# mount /dev/sda2 src
# mount /dev/sda4 dst
# cp -arp /src/* /dst/
# sync
# umount dst scr
# parted /dev/sda rm 3
# parted /dev/sda rm 2
# parted -s /dev/sda mkpart primary ext3 69672s 29296875s
# parted -s /dev/sda mkpart primary linux-swap 29296876s 30345452s
# partprobe /dev/sda
# mkfs.ext3 -b 4096 -L Linux /dev/sda2
# parted -s /dev/sda unit s print
Model: ATA SAMSUNG HM160JC (scsi)
Disk /dev/sda: 312581808s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 40s 69671s 69632s hfs+ primary
2 69672s 29296875s 29227204s ext3 primary
3 29296876s 30345452s 1048577s linux-swap primary
4 30345453s 312319663s 281974211s ext3 primary
# mount /dev/sda4 src
# mount /dev/sda2 dst
# cp -arp /src/* /dst/
# sync
# umount dst scr
/* Edit the boot
# mount /dev/sda1 /dst
# nano /dst/com.apple.Boot.plist
/* Change kernel argument to /dev/sda2 instead of /dev/sdb2 and save
# umount dst
# mount /dev/sda2 dst
/* remove the configuration comes with this image and start from default
# rm -r /dst/home/xbmc/.xbmc
# umount dst
# reboot
/* Now i remove the USB from the Apple TV and have running Ubuntu Linux and Crystal HD running
/* ssh to AppleTV and use xbmc as user and password
/* add missing file required to enable menu sound found in the link in step 2
# nano .asoundrc
add:
pcm.!default {
type plug
slave {
pcm "plughw:0,3"
}
}
/* UUID Fix
# ls -l /dev/disk/by-uuid/
/* copy the UUID linked to ../../sda2
# sudo nano /dst/etc/fstab
change the first UUID=xxxxxxxxxxxxxxx with the one from previous ls -l
change the second UUID=xxxxxxxxxxxxx refrance to swap to /dev/sda3
Go to XBMC Audio output settings and choose custom for the Audio output device.
Set it to: plughw:0,3
# sudo reboot
Now with these modification i can enjoy playing 720p 1080p in mkv also i tried t2ms files in 1080p it did not work with me well with any aTV OS or any other version but now it works great every movie plays well even i stream from TimeCapsule 1TB i do this through run
Code:
# sudo nano /etc/apt/source.list
change deb http://ppa.launchpad.net/team-xbmc-/ppa/ubuntu hardy main to deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu hardy main
# sudo apt-get update
# sudo apt-get smbfs
# mount //192.168.1.6/Data ~/Videos -o pass=passw0rd
where ip for the TimeCamsule and Data for the share name
I also give a try to the xbmc-live mention in the Step 3 and it is great image but also i did the resize as i used to the before and i get more more faster performance but i was greedy and i want to make the Apple TV adjust the refresh rate with my samsung B650 TV to able have smooth play for the movie but this need some other modification i will update later
Attention :
- Sorry for my bad English
- I tried to update the xbmc running from this img to the current but i have a bad performance again don't upgrade.
- The Example here for hard disk 160GB don't use it with other you have to modify the resize
- I figured what i did through google in internet i have no pervious experience
I have to thank XBMC Team, Davilla, Sam.Nazarko for the great work they do