Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > AppleTV

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-30-2009, 07:17 AM
DigitALL
Status: Offline
Member
 
Join Date: Apr 2008
Posts: 50
Rep Power: 4
DigitALL is on a distinguished road
Question ATV and mkv file - conversion?

I understand that most of the MKV movies have a high profile video and it is beyond the capabilities of the ATV hardware to play it in real time.

If that is the case, I wonder what format Apple Store uses when you rent/buy full HD movies? Because all their movies are playing just fine... Isn't that a high profile?

Further and most important: how we could convert the tons of MKV movies found on the net in something that will work on ATV? Does anyone have a how-to in details? Any suggestions please?

Last edited by DigitALL; 09-30-2009 at 07:19 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-30-2009, 10:27 AM
ash
Status: Offline
Senior Member
 
Join Date: Mar 2008
Posts: 242
Rep Power: 14
ash is on a distinguished road
Default

Try Handbrake or ffmpegx. Both apps are very easy to use and have some presets for AppleTV, iPod, etc ....

Apple uses H.264 in an MP4 container if I'm mistaken here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-30-2009, 03:06 PM
gbooker
Status: Online
Member
 
Join Date: Feb 2009
Posts: 39
Rep Power: 0
gbooker is on a distinguished road
Default

H.264 in MP4 or in MKV makes no difference whatsoever. What matters is the complexity of decoding the H.264 bitstream. High profile 720p (or higher) is beyond the processing capability of the ATV. Additionally if you are using Apple's H.264 codec to decode, it'll crash.

Apple encodes their 720p content in Main Profile. This is significantly easier to decode.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 09-30-2009, 03:42 PM
DigitALL
Status: Offline
Member
 
Join Date: Apr 2008
Posts: 50
Rep Power: 4
DigitALL is on a distinguished road
Default

Thanks guys.
However, let's keep in mind that when you purchase a full HD movie from Apple store, it will play nice without any problem. The size of their movie to be downloaded is about the same as we download a high profile MKV and this is what I don't understand. If the Main Profile could play these movies nicely, how we could convert our MKV movies in this type of media (MP4) and play all our movies.

I already have over one hundred movies and most of them are in MKV (micro HD-720p) but could not play them. Most of the movie sites are publishing in MKV and they have tons and tons of movies. I am sure that someone figured out how to convert them conveniently from MKV to MP4 profile, if this is the format we need to play on ATV. But we must find that person and ask to share the knowledge with us...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 10-18-2009, 11:20 PM
Darth Sipid
Status: Offline
Trial Member
 
Join Date: Oct 2009
Posts: 2
Rep Power: 0
Darth Sipid is on a distinguished road
Default

I've used MKVTools to quickly make mkv's into mp4's with "passthrough" for the video. Basically, (from what I understand) it changes the container without having to process the video.

It works with my Xbox 360 and PS3 but I'm having trouble with playing them on the Apple TV. iTunes will accept them but I get stuttering even when playing locally on the Apple TV.

Another alternative would be to use Quicktime Pro to export the mkv with the passthrough option selected. You would need to install Perian first in order for Quicktime to open the file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 10-19-2009, 12:35 AM
nitosoft
Status: Offline
Developer
 
Join Date: Jul 2008
Posts: 339
Rep Power: 18
nitosoft is on a distinguished road
Default

Quote:
Originally Posted by Darth Sipid View Post
I've used MKVTools to quickly make mkv's into mp4's with "passthrough" for the video. Basically, (from what I understand) it changes the container without having to process the video.

It works with my Xbox 360 and PS3 but I'm having trouble with playing them on the Apple TV. iTunes will accept them but I get stuttering even when playing locally on the Apple TV.

Another alternative would be to use Quicktime Pro to export the mkv with the passthrough option selected. You would need to install Perian first in order for Quicktime to open the file.
The h264 that im assuming is inside the file is probably high profile, no matter what you do short of encoding the appletv's processor is too weak to handle high profile h264 so you will always get stuttering.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 10-19-2009, 04:38 AM
gbooker
Status: Online
Member
 
Join Date: Feb 2009
Posts: 39
Rep Power: 0
gbooker is on a distinguished road
Default

Quote:
Originally Posted by nitosoft View Post
The h264 that im assuming is inside the file is probably high profile, no matter what you do short of encoding the appletv's processor is too weak to handle high profile h264 so you will always get stuttering.
Just FYI, with some experimenting in Perian's source, I've been able to get High Profile 720p H.264 to play at about 15-24 fps (original content was 24fps). This was done by skipping part of the decode process, which will slightly degrade the image. The end result is it is watchable, but I would judge a lower resolution file at full quality and framerate a more enjoyable experience. Sad thing is, just a slightly better CPU would make this file playable.

Quote:
Originally Posted by Darth Sipid View Post
Another alternative would be to use Quicktime Pro to export the mkv with the passthrough option selected. You would need to install Perian first in order for Quicktime to open the file.
Actually, far far better than this is not export, but rather select Save. If you select to save as a reference movie, then you will get a far smaller .mov file. Put this along side the .mkv file, and the ATV will use the .mov file as the container, pulling the actual stream data from the mkv file. This is particularly useful if the mkv file is initially on the ATV in the first place.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 10-19-2009, 06:29 AM
nitosoft
Status: Offline
Developer
 
Join Date: Jul 2008
Posts: 339
Rep Power: 18
nitosoft is on a distinguished road
Default

Quote:
Originally Posted by gbooker View Post
Just FYI, with some experimenting in Perian's source, I've been able to get High Profile 720p H.264 to play at about 15-24 fps (original content was 24fps). This was done by skipping part of the decode process, which will slightly degrade the image. The end result is it is watchable, but I would judge a lower resolution file at full quality and framerate a more enjoyable experience. Sad thing is, just a slightly better CPU would make this file playable.


Actually, far far better than this is not export, but rather select Save. If you select to save as a reference movie, then you will get a far smaller .mov file. Put this along side the .mkv file, and the ATV will use the .mov file as the container, pulling the actual stream data from the mkv file. This is particularly useful if the mkv file is initially on the ATV in the first place.
well i knew if ANYONE could get it to play well on the AppleTV's pathetically and inexcusably crappy processor it would be you. good work and kudos as always
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 10-20-2009, 12:41 AM
dafranca
Status: Offline
Member
 
Join Date: Feb 2008
Posts: 43
Rep Power: 0
dafranca is on a distinguished road
Default

To make a long history short, AppleTV will play 720p movies up to 3000kbs/s of bitrate on XBMC, nitoTV max is about 2000kb/s.
The problem is not the CPU it is lack of GPU power.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 10-20-2009, 05:31 AM
gbooker
Status: Online
Member
 
Join Date: Feb 2009
Posts: 39
Rep Power: 0
gbooker is on a distinguished road
Default

The GPU cannot do full acceleration, only partial. This means that the CPU still has a considerable amount of work that it must do, as it is only saved a few steps, such as the entropy coding. In order to actually play files like this very well, it either needs a GPU that can do full acceleration, or a faster CPU. BTW, Blue-ray (1080p High Profile, 40Mbps) level streams are quite hard to decode unless done entirely in the GPU, even with modern CPUs.

Lastly, the streams I tested in my experiments are over 3200kbps (I'm only counting the video bitrate here).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
mkv

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




All times are GMT +2. The time now is 05:06 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105