I actually have the same problem with SD content (mkv's [and mp4]). Reading through posts I thought maybe it was overhead associated with samba. I created an HTTP source to my videos but I have the same problem. To eliminate the network as a problem I copied a file to the local ATV2 - but I still get the buffering (and some dropped frames). I updated to the latest nightly build - it seemed to help a little with the dropped frames but I still get buffering.
Here is some (perhaps) interesting debug output:
Code:
19:36:10 T:137809920 M: 97468416 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2240, consumed: 0
19:36:10 T:137809920 M: 97452032 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3781, consumed: 0
19:36:11 T:137809920 M: 97722368 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1248, consumed: 0
19:36:12 T:137809920 M: 97546240 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1188, consumed: 0
19:36:14 T:137809920 M: 97370112 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4379, consumed: 0
19:36:16 T:137809920 M: 97550336 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5563, consumed: 0
19:36:17 T:137809920 M: 97550336 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5213, consumed: 0
19:36:18 T:137809920 M: 97550336 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5121, consumed: 0
19:36:19 T:137809920 M: 97398784 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3027, consumed: 0
19:36:20 T:107335680 M: 97550336 INFO: CheckIdle - Closing session to http://192.168.0.2 (easy=0x4b65000, multi=0x234704a0)
19:36:21 T:137809920 M: 97361920 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3685, consumed: 0
19:36:22 T:137809920 M: 97370112 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2618, consumed: 0
19:36:24 T:137809920 M: 97632256 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3072, consumed: 0
19:36:26 T:138772480 M: 94617600 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:36:26 T:137809920 M: 94617600 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2250, consumed: 0
19:36:27 T:137809920 M: 94351360 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4174, consumed: 0
19:36:27 T:137809920 M: 94351360 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:36:28 T:138772480 M: 94351360 DEBUG: CDVDPlayerAudio:: Discontinuity - was:99295952.375228, should be:99136039.375228, error:-159913.000000
19:36:28 T:138772480 M: 94351360 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:36:29 T:137809920 M: 94613504 WARNING: Previous line repeats 5 times.
19:36:29 T:137809920 M: 94613504 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:36:29 T:138772480 M: 94433280 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:36:30 T:138772480 M: 94433280 WARNING: Previous line repeats 2 times.
19:36:30 T:138772480 M: 94433280 DEBUG: CDVDPlayerAudio:: Discontinuity - was:101757719.041895, should be:101568041.166895, error:-189677.875000
19:36:30 T:138772480 M: 94433280 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:36:32 T:137809920 M: 94609408 WARNING: Previous line repeats 1 times.
19:36:32 T:137809920 M: 94609408 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:36:32 T:138772480 M: 94609408 DEBUG: CDVDPlayerAudio:: Discontinuity - was:103715931.541895, should be:103509038.833562, error:-206892.708333
I'm running IOS 4.2.2 with XBMC v. 10.0-7 (nightly as of May 25).
Here is the mkvinfo from one of the videos in question (in case it helps):
Code:
$ mkvinfo Sons\ of\ Anarchy\ -\ S01E01.mkv
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 470370379
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 172)
|+ Chapters
| + EditionEntry
| + EditionUID: 998379424
| + EditionFlagDefault: 1
| + EditionFlagOrdered: 0
| + ChapterAtom
| + ChapterUID: 1644941309
| + ChapterTimeStart: 00:00:00.000000000
| + ChapterDisplay
| + ChapterString: Chapter 1
| + ChapterAtom
| + ChapterUID: 1762670842
| + ChapterTimeStart: 00:05:40.340000000
| + ChapterDisplay
| + ChapterString: Chapter 2
| + ChapterAtom
| + ChapterUID: 788762098
| + ChapterTimeStart: 00:09:20.393166666
| + ChapterDisplay
| + ChapterString: Chapter 3
| + ChapterAtom
| + ChapterUID: 524822980
| + ChapterTimeStart: 00:11:43.703000000
| + ChapterDisplay
| + ChapterString: Chapter 4
| + ChapterAtom
| + ChapterUID: 579749415
| + ChapterTimeStart: 00:15:57.126755555
| + ChapterDisplay
| + ChapterString: Chapter 5
| + ChapterAtom
| + ChapterUID: 1898253444
| + ChapterTimeStart: 00:21:41.003622222
| + ChapterDisplay
| + ChapterString: Chapter 6
| + ChapterAtom
| + ChapterUID: 1152239604
| + ChapterTimeStart: 00:26:45.274255555
| + ChapterDisplay
| + ChapterString: Chapter 7
| + ChapterAtom
| + ChapterUID: 1143618161
| + ChapterTimeStart: 00:31:17.913288888
| + ChapterDisplay
| + ChapterString: Chapter 8
| + ChapterAtom
| + ChapterUID: 1982234710
| + ChapterTimeStart: 00:32:58.650822222
| + ChapterDisplay
| + ChapterString: Chapter 9
| + ChapterAtom
| + ChapterUID: 1730028358
| + ChapterTimeStart: 00:37:09.234488888
| + ChapterDisplay
| + ChapterString: Chapter 10
| + ChapterAtom
| + ChapterUID: 1879606224
| + ChapterTimeStart: 00:40:36.941988888
| + ChapterDisplay
| + ChapterString: Chapter 11
| + ChapterAtom
| + ChapterUID: 362152209
| + ChapterTimeStart: 00:42:04.362655555
| + ChapterDisplay
| + ChapterString: Chapter 12
|+ EbmlVoid (size: 3708)
|+ Segment information
| + Segment UID: 0xe9 0x0e 0x1b 0x40 0x34 0x3d 0x04 0x9f 0x50 0x0d 0x8b 0xd5 0xd5 0x24 0x42 0x15
| + Muxing application: libmkv 0.6.4.1
| + Writing application: HandBrake 0.9.5
| + Timecode scale: 1000000
| + Duration: 2723.253s (00:45:23.253)
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 661332790
| + Track type: video
| + Lacing flag: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + CodecPrivate, length 47
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Default flag: 1
| + MinCache: 1
| + Video track
| + Pixel width: 720
| + Pixel height: 480
| + Display width: 853
| + Display height: 480
| + A track
| + Track number: 2
| + Track UID: 1269124653
| + Track type: audio
| + Lacing flag: 0
| + Codec ID: A_AAC
| + CodecPrivate, length 2
| + Language: eng
| + Default flag: 1
| + Audio track
| + Sampling frequency: 48000
| + Channels: 2
| + A track
| + Track number: 3
| + Track UID: 962337294
| + Track type: subtitles
| + Lacing flag: 0
| + Codec ID: S_VOBSUB
| + CodecPrivate, length 349
| + Language: eng
| + Default flag: 0
|+ Cluster
JailBroken with seas0npass (as noted here:
http://wiki.xbmc.org/index.php?title=Ins...MC_on_ATV2 )