Kodi Community Forum
ATV2 and XBMC bufferring - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: ATV2 and XBMC bufferring (/showthread.php?tid=93514)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


Buffering Freezes XBMC - g33kboy - 2011-02-25

I have been running XBMC on my ATV2 for a couple weeks now. Everything works great and smooth, but whenever buffering occurs, it stops at 0% and totally freezes XBMC. Sometimes it will kick back to the menu, but when it does I have no access to the SMB files. I have to reboot my ATV2 using the menu and down button and relaunch, and then everything works great.

The buffering happens randomly every 30 min or so. I am connected wirelessly to a WinXP box where my files are stored. I have tried both greenpois0n and pawnage jailbreaks, made no difference.

Anyone else run into this?


- Habskilla - 2011-02-25

steve walken Wrote:ok, I just tried a 3gig 720p h.264 mkv now and I'm still having issues with it stuttering.


Upgrade to latest official, 10-7 and try it again.


- logan_x50 - 2011-02-25

barbro66 Wrote:It's only MKV's that are accelerated just now. MP4 720p won't work

I'm no expert but I think its h264 which has acceleration..mkv is just the container..mp4 is also just the container...although I think davilla said mkv was a better container for atv2 xbmc at this time

I don't have any smb issues...shared on external drive via my imac

maybe try ethernet cable instead of wireless just to be certain that's not the cause?


- hovnarr - 2011-02-26

I also cant understand why some movies are fine in iPad but not working with atv? Is it because of the display resolution?


- jhernandez86 - 2011-02-26

logan_x50 Wrote:I'm no expert but I think its h264 which has acceleration..mkv is just the container..mp4 is also just the container...although I think davilla said mkv was a better container for atv2 xbmc at this time

I don't have any smb issues...shared on external drive via my imac

maybe try ethernet cable instead of wireless just to be certain that's not the cause?

One thing I did find out with HD movies 720p or 1080p is that it works better if you are wire connected. In addition, if I use UPnP from my mac to my ATV2g everything works fine with no buffering, but if I try SMB I start getting buffering.

This is not the case with my boxeebos. I connected both of my hard drives to my boxee box and I am now streamming to my ATV2g using SMB with no buffering issues, except with 1080p mkv movies wich are over 10g


- lukenukem - 2011-02-26

barbro66 Wrote:It's only MKV's that are accelerated just now. MP4 720p won't work

I've been playing 720p h.264 MP4's and they work just fine.


- ajnicho - 2011-02-26

last night my 720p MKV's were driving me crazy. Constant buffering - whilst others work great.

Also, icefilm HD films seem to constantly buffer despite my 50mb connection. My iPhone and iPad both register a speed test of about 20mb/s in my room where the ATV2 is situated so it cant be the network.


- Capecodmacguy - 2011-02-26

ajnicho Wrote:last night my 720p MKV's were driving me crazy. Constant buffering - whilst others work great.

Also, icefilm HD films seem to constantly buffer despite my 50mb connection. My iPhone and iPad both register a speed test of about 20mb/s in my room where the ATV2 is situated so it cant be the network.

I'm having the same issue with icefilm HD too..

I have a 17 mb connection and still constant buffering....

driving me nuts..


- lakie1982 - 2011-02-26

I also have a wireless connection to atv2 this is a 20mbit so to speed is not the issue.

Some movies. 720p and even 1080p play very well and i don't get buffering.
Other files do get the buffer issue, even .avi with xvid codec of 780 mb.
The problem i think is that atv2 cant handle ALL the codecs good yet.
If i play a movie i found out cause when i hit the fast forward i doesn't go 30 sec ahead but it just hangs. With the movies that dont buffer i just skip 30 seconds ahead and then the movie plays on.


- Eric_S - 2011-02-27

Capecodmacguy Wrote:I'm having the same issue with icefilm HD too..

I have a 17 mb connection and still constant buffering....

driving me nuts..


Can you go to the icefilms.info site on your Mac/PC and attempt to stream a video that you know will stutter on ATV2? By this, you can determine if the issue is the server or the Apple TV (In addition to the PC, I would stream once again to ATV2 in order to, as much as possible, eliminate changing external network conditions as a cause for a different result between the 2 systems).


- Maetrik - 2011-02-27

i've just streamed the following 2hour 1080p mkv without any buffering (atv2 is wired, server is an underpowered synology ds209j):

video codec: x264 2 Pass @ L4.1
framerate: 23.976 FPS
bitrate: around 13500 kbps
resolution: 1920x800
audio1: German DTS 1510 kbps
audio2: English DTS 1510 kbps

so that was my final test, i guess i wont get that much files that have a higher bitrate than that one. my atv1 will be sold and i'll get another atv2. that little box is just awesome!


- pecinko - 2011-02-27

Afaict, problems are mostly with AC3.


- Maetrik - 2011-02-27

Well, i only have some AC3 XviDs in my library and all of those i've tested so far were running fine.


- lakie1982 - 2011-02-27

For example i have some codec info.

This one is buffering

Report for file: the tourist.mkv

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Video Codecs Used.................................AVC
Audio Codecs Used.................................DTS
File Format.......................................Matroska
Play Time.........................................1h 43mn
Total File Size...................................4.37 GiB
Total Stream BitRate..............................6 052 Kbps
Encoded with......................................mkvmerge v3.4.0 ('Rapunzel') Huh May 15 2010 09:38:20
Encoding Library..................................libebml v0.8.0 + libmatroska v0.9.0
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................V_MPEG4/ISO/AVC
Codec [email protected]
Frame Width.......................................1 280 pixels
Frame Height......................................534 pixels
Frame Rate........................................23.976 fps
Total Frames......................................148848
Display Aspect Ratio..............................2.35:1
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................CABAC / 8 Ref Frames
QF (like Gordian Knot)............................0.277
Codec Settings (CABAC)............................Yes
Codec Settings (Reference Frames).................8
Video Stream Length...............................1h 43mn 28s 208ms
Video Stream BitRate..............................4 541 Kbps
Bit Depth.........................................8 bits
Video Stream Size.................................3.20 GiB (73%)
Video Stream Title................................The.Tourist.2010.BluRay.720p.x264.DTS-MySiLU
Video Encoder.....................................x264 - core 114 r1900 60ef1f8
Video Encoder (Settings)..........................cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.20:0.20 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=4541 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=38000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Video Stream Language.............................English
Audio Stream #1
Codec.............................................DTS
Codec (FourCC)....................................A_DTS
Audio Stream Length...............................1h 43mn 28s 192ms
Audio Stream BitRate..............................1 510 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................6
Audio Channel's Positions.........................Front: L C R, Side: L R, LFE
Sampling Rate.....................................48.0 KHz
Bit Depth.........................................24 bits
Audio Stream Size.................................1.09 GiB (25%)
Audio Stream Language.............................English





This one is not.

Report for file: the white lies.mkv

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Total Subtitle Streams for this File..............1
Video Codecs Used.................................AVC
Audio Codecs Used.................................DTS
SubTitle Codecs Used..............................UTF-8
Available Sutbitle Languages......................English
File Format.......................................Matroska
Play Time.........................................2h 34mn
Total File Size...................................6.54 GiB
Total Stream BitRate..............................6 071 Kbps
Encoded with......................................mkvmerge v4.5.0 ('Speed of Light') built on Feb 1 2011 02:10:32
Encoding Library..................................libebml v1.2.0 + libmatroska v1.1.0
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................V_MPEG4/ISO/AVC
Codec [email protected]
Frame Width.......................................1 280 pixels
Frame Height......................................544 pixels
Frame Rate........................................24.000 fps
Total Frames......................................222061
Display Aspect Ratio..............................2.35:1
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................CABAC / 5 Ref Frames
QF (like Gordian Knot)............................0.273
Codec Settings (CABAC)............................Yes
Codec Settings (Reference Frames).................5
Video Stream Length...............................2h 34mn 12s 542ms
Video Stream BitRate..............................4 566 Kbps
Bit Depth.........................................8 bits
Video Stream Size.................................4.78 GiB (73%)
Video Encoder.....................................x264 - core 114 r1900 60ef1f8
Video Encoder (Settings)..........................cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4566 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Video Stream Language.............................English
Audio Stream #1
Codec.............................................DTS
Codec (FourCC)....................................A_DTS
Audio Stream Length...............................2h 34mn 12s 542ms
Audio Stream BitRate..............................1 510 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................6
Audio Channel's Positions.........................Front: L C R, Side: L R, LFE
Sampling Rate.....................................48.0 KHz
Bit Depth.........................................24 bits
Audio Stream Delay................................11ms
Audio Stream Size.................................1.63 GiB (25%)
Audio Stream Title................................French DTS 1509kbps
Audio Stream Language.............................French
Subtitle Stream #1
Language..........................................English
Format............................................UTF-8
Codec ID..........................................S_TEXT/UTF8
Codec Info........................................UTF-8 Plain Text
Menu / Chapters Stream #1

Maybe someone notice anything what can cause the problem.


- davilla - 2011-02-27

"CABAC / 8 Ref Frames", that is "out of spec" for High@L 4.1 h264 video content.