Jump to content

.mkv on Apple TV?


  • Please log in to reply
35 replies to this topic

#1
Vlado

Vlado

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Are there any plugins that can alow the AppleTv to play HD .mkv files?I'd like to buy an Apple Tv , but if it can't play this type of files i'l have to go for the Mac Mini Core Solo.

#2
mingistech

mingistech

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Location:Detroit
The AppleTV can't playback .mkv files even though most are encoded using x264 or h264 encoders.

I have an AppleTV and download TONS of 720p.x247.mkv files. Mostly HDDVD and BluRay rips.

For playback I convert them over to .mp4 files with VisualHub.

The AppleTV can playback these 720p files beautifully. And there is no quality loss on the video. After conversion they look exactly like their .mkv originals. The biggest change on these files is the Stereo AAC audio after conversion.

#3
Vlado

Vlado

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
How much time dose it take to encode them to mp4?Let's say a 4GB movie?Are shure there aren't any codecs that would permit the Apple Tv to run .mkv?

#4
bxsci(macuser)

bxsci(macuser)

    Insane in the Bronx

  • Members
  • PipPipPipPipPipPip
  • 455 posts
  • Gender:Male
hacks can make a machine do anything... the question is whether they are there yet or not - search it

#5
asap18

asap18

    O RLY?

  • Donators
  • 1,423 posts
Perian 1.0 should do just fine :pirate2:

#6
Carniphage

Carniphage

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Perian 1.0 should do just fine :P



If the MKV is 720p and the content is on a network drive then Perian 1.0 will not do fine.
Under these circumstances Perian struggles even on a Mac Pro.

Perhaps the next (optimized) version of Perian will improve things.

C.

#7
Novaoblivion

Novaoblivion

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
I have a question along the same lines, I have a SD mkv file but when I try to play it through the aTV it says something like file format not recognized. Do I need to do anything special to make it play mkvs? I have perian 1.0 installed and use ATVfiles to try and play it, I have tried both over a NFS mount and from the local Movies folder.

#8
asap18

asap18

    O RLY?

  • Donators
  • 1,423 posts
@Camiphage

Perian has nothing to do with you're slow network, I've used 720p content mkv's on the lowest macbook without a sweat.

#9
Carniphage

Carniphage

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
I'll describe what I see, and if you are getting a better outcome, I'd really like to hear.

I am currently able to play 720p MP4 content from a shared drive on my AppleTV. It works great, but means I have to transcode, and I lose Dolby Digital audio
I would like to be able to play 720p MKV files held on a shared network drive. These files are about a Gig for 45 mins. Which I reckon averages at 0.5 Megabytes per second.
That's easily within the speed of my network.

According to the Perian people - their forum and the to-do tickets in the project....
Perian needs to fully load the entire MKV file prior to playing. This is an acknowledged issue, and is scheduled to be improved in subsequent releases.

On a Mac Pro - with a 270mbs 802.11n network (which delivers 9megaBYTES per second) - VLC will play 720pMKV content flawlessly across the network.

But, if I use Quicktime/Perian 1.0 to load a 720p MKV file on a network drive, I see a loading bar in Quicktime. Perian has to pre-scan all MKV files.
For a 1GB file, it takes about 3-4 mins to load the file fully before playing. A wired gigabit ethernet link would be a bit faster.
If I press play *before* the loading completes, I get stuttering.
With the same file on a local drive, the loading is obviously faster (about a minute) and stuttering goes away if I press play early.

But on the AppleTV Perian's MKV implementation poses another problem.

The h264 module on the AppleTV only plays a subset of h264 content.
This means that only 50% of MKVs will play, the rest get a black screen.

Replacing the h264 component will result in that being fixed, but the replacement component is much less efficient on the Apple TV.
Not only is it not fast enough for 720p MKVs - it means that 720p MP4s will not play smoothly either.

So the choice is 50% of MKVs are black.
Or
No 720p content at all.

NitoTV uses Mplayer to play MKVs without Perian's pre-loading process.
However it drops a lot of frames, which would not be too bad, except that frame drops cause the audio and video to go out of sync.

If anyone has made more progress than this, I'd be pleased to hear.

C.

#10
replicant

replicant

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
Carniphage,

I cannot believe that finally someone is having the exact same struggles that I am with their AppleTV and their mkv content. I am in the EXACT same boat and have been trying furiously to convert them to a usable format that will stream to the AppleTV, either it be by playing them through ATVFiles or nitoTV. So far my attempts have been futile, as it seems that all of my mkv files are the type that you mentioned that AppleTV just doesn't like (i.e. black screen in ATVFiles, massive studdering in nitoTV). Bottom line, I have too many mkv files and the time it takes to convert/transcode them is way too long. Though I'm willing to try to find the right conversion process/settings. I'm still thinking that I may have to go for a mac mini instead. A disappointment since the ATV is obviously MUCH cheaper. I'd really love to hear if you've had any other progress in this area.

Thanks!

#11
dhomi

dhomi

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
I guess still no solution to play 720p x264 files without having to convert them ?
I would definitely fall for the ATV then ! If only they could put a newer processor into it, and a newer software as well :)
I think it's a bit of a waste to use the Mac Mini as a mere media player, but sure I would if I could afford it :)

#12
neologicspasm

neologicspasm

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
I play .mkv files on my ATV with perian, but firstly I transcode the .mkv with Visual Hub to an avi then use mkvmerge and select the avi video and the original .mkv audio to create a new .mkv file.

For best performance I select the movie and pause it whilst it caches up the whole movie.

neo

#13
dhomi

dhomi

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts

I play .mkv files on my ATV with perian, but firstly I transcode the .mkv with Visual Hub to an avi then use mkvmerge and select the avi video and the original .mkv audio to create a new .mkv file.

For best performance I select the movie and pause it whilst it caches up the whole movie.

neo

Do you lose quality when u're doing that conversion, and more importantly can you do that with 720p x264 files. The ATV would be such a great machine if it could natively read 720p x264 files, I mean if you have a hdmi lcd TV, that's what you want, you don't want to upscale low resolution avi videos...
Unfortunately, ATV & Mac minis are far from top priority to Steve Jobs...

#14
prototype_sx

prototype_sx

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
I have a solution that may work :) On my hackintosh, I installed perian which allows me to playback alot of material, but it I still couldnt add mkv's or avi's to itunes (I could place an alias folder in the movies folder and I could browse to it from within frontrow but I wanted more :)

SO, I found a program that allows me to convert almost any file (except mpeg's) to mov. It's done without transcoding so it takes seconds. All it does it put the audio and video track in a mov container. I have since been able to add all my content to itunes an thus to appletv.

The program is mpeg steamclip 1.9 With mkv's you have to open it within the program from files, open files, then change it to all files then select your mkv then when it says unsupported format select open anyway and you will be able to open it. I have replaced all the media files I have with the ones wrapped in mov and couldnt be happier.

So, check it out and see if it helps you cause it helped me as I DREADED having to transcode my videos and messing up the quality as well as it takeing a WHILE to transcode, but with this method I didnt have to worry about any of that

#15
dhomi

dhomi

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts

I have a solution that may work :thumbsup_anim: On my hackintosh, I installed perian which allows me to playback alot of material, but it I still couldnt add mkv's or avi's to itunes (I could place an alias folder in the movies folder and I could browse to it from within frontrow but I wanted more :) SO, I found a program that allows me to convert almost any file (except mpeg's) to mov. It's done without transcoding so it takes seconds. All it does it put the audio and video track in a mov container. I have since been able to add all my content to itunes an thus to appletv. The program is mpeg steamclip 1.9 With mkv's you have to open it within the program from files, open files, then change it to all files then select your mkv then when it says unsupported format select open anyway and you will be able to open it. I have replaced all the media files I have with the ones wrapped in mov and couldnt be happier.So, check it out and see if it helps you cause it helped me as I DREADED having to transcode my videos and messing up the quality as well as it takeing a WHILE to transcode, but with this method I didnt have to worry about any of that

No way, you're saying you are able to convert 720p x264 mkv files to mov files without any loss in terms of quality ? That would amazing, and I would definitely be tempted to buy an ATV then (I'm bringing my PC into living room just to be able to read those mkv files).

Just tried it. Couldn't open the mkv file. I get a "file open error: can't find video or audio tracks" message after I did "Open anyway".

#16
prototype_sx

prototype_sx

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
its not transcoded, the app jus takes the video feed no matter the type, and the audio, no matter the type, and puts them in a mov container so its the same audio and video so no change whatsoever except the container. You can then add the files to itunes :thumbsup_anim: One thing though, is that you will have to use the same program if you wish to go back to mkv or any other format, reason being is that clearly x264 and ac3 is not in the .mov container specs normally, so programs like mkvtoolnix try to use the standard mov reader and cant extract from it. Also, u can use visualhub to go to dvd

#17
Carniphage

Carniphage

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
In the mean time...

NitoTV seems to have improved some.
NitoTV is an AppleTV app based on the open-source Unix media player: MPLAYER

The latest version will natively play 720p MKVs on the Apple TV but it is still dropping frames.
HOWEVER Audio seems to stay in sync, and the number of dropped frames seems a lot better.

Has anyone had success with the latest versions?

C.

#18
pbjr

pbjr

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts

In the mean time...

NitoTV seems to have improved some.
NitoTV is an AppleTV app based on the open-source Unix media player: MPLAYER

The latest version will natively play 720p MKVs on the Apple TV but it is still dropping frames.
HOWEVER Audio seems to stay in sync, and the number of dropped frames seems a lot better.

Has anyone had success with the latest versions?

C.


Hello,

Mine seems better as well with the new update. Still needs work.

- Mike

#19
Oyinko

Oyinko

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
any update about this features ?

#20
krrr

krrr

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 421 posts
@Oyinko, I can play this files by using Boxee on my AppleTV :unsure:





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy