XBMC can't handle H264 video in avi container?
#1
In Korea, many HD video files are being released in avi format. All files are encoded with H264 codec. I don't know why they using avi container, but these files are not played so well in ATV2 or iPad. MKV files remuxed with mkvmerge from the same avi files are have no problem at all in ATV2 or iPad.

XBMC can't hw decode h264 video in avi containers?

debug log files and mediainfo files are here:
AVI file mediainfo
MKV file mediainfo
ipad xbmc debug log (avi playing)
ipad xbmc debug log (mkv playing)
win7 xbmc debug log (avi playing)
win7 xbmc debug log (mkv playing)
Reply
#2
Known issue. Atv2 is not powerful enough to handle the trans-coding(?).
I just convert them to mkv files.

Torrent sites are seeing the light though. More and more rips are encoded In a way that atv can handle without having to convert the files again yourself.
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#3
jabba_29 Wrote:Known issue. Atv2 is not powerful enough to handle the trans-coding(?).
I just convert them to mkv files.

Torrent sites are seeing the light though. More and more rips are encoded In a way that atv can handle without having to convert the files again yourself.

Wrong. No transcoding goes on here (XBMC, on any platform, does not transcode anything). AVI is just a container, and the video is in h.264. It should work.
Reply
#4
Thanks for the clarification, terminology wrong Undecided

I have never been able to get any avi's in this format to play smoothly.
Handbraking the files to mkv container has allowed me to stream successfully.
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#5
yeah, I've noticed this problem long ago too. From my experience you need to use either the .mp4 or .mkv container with h264 encoded video to get smooth playback on AppleTV. In handbrake I transcode everything recorded from my MythTV box to .mp4 format, this works well on not only the AppleTV but also the PS3 and XBOX 360.
Reply
#6
It also depends on what YOU find acceptable as far as dropped frames/stuttering.
Some peeps just don't seem to bother.

I hate it, so almost exclusively use my ATV2 for music playback now.
Reply
#7
For price/performance ratio the apple tv is admirable. Sure it'd be nice to have more power but overall it's very serviceable. I'm personally hoping that aTV3G will have enough power to take on avi 720p.
Reply
#8
You're all wrong. This is a bug. AVI or MKV, it doesn't matter. The codec (h.264) matters, and it should play just fine on the ATV2.
Reply
#9
Ned Scott Wrote:You're all wrong. This is a bug. AVI or MKV, it doesn't matter. The codec (h.264) matters, and it should play just fine on the ATV2.

I agree in theory yes. It should make no difference since it's all h264. I'm just saying that in practice it does make a difference as we've obviously noticed. Again, for some odd reason (legitimate or not) the AppleTV2 only seems to play back h264 video "properly" if it's in an mkv or mp4 container. I don't know why, and yes, this is probably a bug. But then again, why bother using such an archaic container like avi anyhow? You don't need to even transcode, just remux your files to something more modern like mp4 or mkv, it takes 2 seconds.
Reply
#10
I keep saying AVI is a crappy container, does not matter what's in it, it's still crap. Why do you ask... because avi encoders do stupid things like totally messing up pts so much that we cannot depends on it and force to dts when we detect an AVI.
Reply
#11
yabbiman Wrote:It also depends on what YOU find acceptable as far as dropped frames/stuttering.
Some peeps just don't seem to bother.

I hate it, so almost exclusively use my ATV2 for music playback now.

well, you can certainly use the Apple TV to be a home media centre with Handbraking.
Think you could get more ideas to enjoy with ATV from this tips sites:
http://wiki.awkwardtv.org/wiki/AppleTV_2
http://www.appletvhacks.net/2011/03/02/h...pple-tv-2/
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC can't handle H264 video in avi container?0