• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 15
Buffering issues - atv2 - wired
#16
Thanks for replying. i an running afp zeroconf, and are still buffering ;/
Reply
#17
GnarusLeo Wrote:Thanks for replying. i an running afp zeroconf, and are still buffering ;/

Have you tried setting audio output to Optical/coax (even though you're not using it)? System > Settings > System > Audio output

Edit: Forget it, I saw you'd already tried it... Smile
Reply
#18
hafr Wrote:Have you tried setting audio output to Optical/coax (even though you're not using it)? System > Settings > System > Audio output

Edit: Forget it, I saw you'd already tried it... Smile

Please post the mediainfo of the file you want to play. 11 Ref Frames as of the log sounds a bit out of spec for h264 ... some of these files which are not encoded in spec won't work propaly on hardware decoders ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#19
Hei Memphiz, is this what you wanted?

Code:
General
Unique ID                                : 245689737735481151990331026245632527583 (0xB8D61F4E9DCC048FAF257E0B545A0CDF)
Complete name                            : /Volumes/Data/Filmer/The Other Guys (2010)/The Other Guys.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 8.43 GiB
Duration                                 : 1h 56mn
Overall bit rate                         : 10.4 Mbps
Encoded date                             : UTC 2011-07-23 04:28:42
Writing application                      : mkvmerge v4.8.0 ('I Got The...') gebaut am May 24 2011 03:12:58
Writing library                          : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 11 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 56mn
Bit rate                                 : 7 358 Kbps
Width                                    : 1 280 pixels
Height                                   : 534 pixels
Display aspect ratio                     : 2.40:1
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.449
Stream size                              : 5.81 GiB (69%)
Title                                    : x264
Writing library                          : x264 core 108 r1790 8eaf8a6
Encoding settings                        : cabac=1 / ref=11 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=tesa / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=80 / rc=2pass / mbtree=1 / bitrate=7358 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=2:0.90
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 1h 56mn
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Delay relative to video                  : 11ms
Stream size                              : 1.23 GiB (15%)
Language                                 : German
Default                                  : Yes
Forced                                   : Yes

Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 1h 56mn
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : 11ms
Stream size                              : 1.23 GiB (15%)
Language                                 : English
Default                                  : No
Forced                                   : No

A friend of mine has exactely the same setup, and he does not experience any buffering with the same files as I have. (Same version ATV2, same nightly).

Only thing separating us is that he use wireless-N over two floors to the time capsule :confused2:

EDIT: It is not just this file buffering, mostly of my library experience issues.
Reply
#20
Here is another file which is buffering the same amount:

Code:
General
Complete name                            : /Volumes/Data/Serier/Homeland/Homeland.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.33 GiB
Duration                                 : 54mn 42s
Overall bit rate                         : 3 471 Kbps
Writing application                      : x264.exe
Writing library                          : mkv2rls x264-tv version built on 2011. febr. 17

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 54mn 42s
Bit rate                                 : 3 018 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.137
Stream size                              : 1.15 GiB (87%)
Writing library                          : x264 core 118 r2085+614 d1cc25d
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / fade_compensate=0.00 / 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=1 / chroma_qp_offset=-3 / threads=36 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=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=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Codec ID                                 : A_AC3
Duration                                 : 54mn 42s
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 150 MiB (11%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

I can log this also if you want?
Reply
#21
Mind if i bump this one? Still experiencing issues. Both buffering and stuttering :/
Reply
#22
Same problem for me.
XBMC is buffering most videos, usually after a couple of minutes of playing. ATV2 is wired to the file server (WHS)

Today I got sick of it. To try a fresh start, I reinstalled XBMC completely (apt-get remove org.xbmc.xbmc-atv2 --purge + removed the xbmc folder from Libary/Preferences). Installed the base version and then the latest nightly (11/20/2011). Still buffering.
Tried switching video source from SMB to FTP. Didn't help.
Tried setting the audio to Coax/Optical. Didn't help.

Here is the XBMC log.
Here is the mediainfo for the video file.
Seems like the buffering is related to something audio, but I'm not entirely sure what it means.

Would appreciate any advice on this.
Reply
#23
Do you downmix to stereo or do you use a av receiver with passthrough?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#24
Pass through to an A/V Receiver.
Reply
#25
I also have lots of buffering on some dvd but not all:

mediainfo: http://pastebin.com/9T0FvEdC

I've tried changing audio output.

I'm using samba but haven't tried ftp (since I'm not sure how to set it up on my server :o)
Reply
#26
I have installed a number of ATV2+XBMC to friends. and for some users, streaming buffer. Since its live stream i thought internet issue. But then after i playback a live stream for 2 minute i unplug the ethernet wire. and the stream kept going for about 40-60sec with buffering. which means its nothing to do with the network, as it has downloaded ahead of the streaming and kept it in cache. However ATV2 with xbmc has an issue, i have not tried the optical setup, however will give it a go tonight.

I use latest built from 26th november.
Reply
#27
I agree. I have posted logs, but have yet to find a sollution.

My network has been like this for a long time, and to compare, my WDTV Live did not buffer one single time on 2-3 years.

After changed alot of settings like Vertical Blank Sync, Audio sync etc, it is better. However, during a 1.5 hour playback, it buffers roughly 10-15 times. Huh
Reply
#28
Make sure you are not streaming non h264 video at greater than sd resolution. Or - you can only stream h264 at 720p+

nero12 Wrote:I have installed a number of ATV2+XBMC to friends. and for some users, streaming buffer. Since its live stream i thought internet issue. But then after i playback a live stream for 2 minute i unplug the ethernet wire. and the stream kept going for about 40-60sec with buffering. which means its nothing to do with the network, as it has downloaded ahead of the streaming and kept it in cache. However ATV2 with xbmc has an issue, i have not tried the optical setup, however will give it a go tonight.

I use latest built from 26th november.
Reply
#29
g-off Wrote:Make sure you are not streaming non h264 video at greater than sd resolution. Or - you can only stream h264 at 720p+

The answer seems obvious that ATV2 will never be able to pass HD content that is not h264 without some issues. I don't have a problem with that except that my ATV1 with a CrystalHD running on the other TV does not like h264 and has no buffering issues with any 720p HD content.

Do we wait for the ATV3 with the A5 processor and resign ourselves to Steve's hobby? Personally, I monitor this board on a more or less daily basis but have not bothered with any of the nightlies in some time.
Reply
#30
ATV1 != ATV2

The broadcom card is a commercial product that is well documented.

We are pretty lucky that it can do h264 at all. It is only through the hard work of the devs (Davilla et al) that they managed to reverse engineer the hardware decoding API as far as they have. Potentially the hardware has all the goodies to do other formats but Apple in their typically Apple way have gone all out to keep it a secret from evil people who try to sully the perfection of their products.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 15

Logout Mark Read Team Forum Stats Members Help
Buffering issues - atv2 - wired0