freshplanet / ANE-Video

Air Native Extension (iOS and Android) for playing videos
Apache License 2.0
58 stars 18 forks source link

.mkv file support #2

Closed andrius-k closed 11 years ago

andrius-k commented 11 years ago

When I try to play .mov file it works just fine, but .mkv does not. Is it just not compatable witj iOS video player or is it some kind of a bug?

dornad commented 11 years ago

ANE-Video relies on Apple's MPMoviePlayerController.

MKV are just container files, you might want to check the codec you are using against Apple's specs.

As a rule of thumb, I use MP4 or MOV files.

Edit: In order to play a non supported format, you need to write your own decoder which may be very difficult. You have to study each format, the relative documentation etc. Otherwise, you can look for open source codecs in obj-c, or port them from another language.

andrius-k commented 11 years ago

Thanks allot for info :)