2011-03-15, 23:08
Platform: AppleTV2
Build Version Built on Mar 5 2011 (Git:b0b7aa9)
Here is the problem, I stream a 720p ( h.264 video from local server via 100 mb Network ).
And most video will buffer every now and then, down to once a minute, but it seems to be related to bitrates of the encoding.
I am streaming via SMB protocol from a Ubuntu file server.
So I did some test. Being an cisco network engineer, I wanted to see what was happening on the network. So I did the following test.
Played a movie both on a Atv2 and on a Media PC (running ubuntu and xbmc ) here are the specs for the movie.
Type:Video
Codec: H254 - MPEG-4 AVC
Res 1280x536
Framerate 23.976215
Type Audio
CodecTS audio(dts)
Channels: 3f2r/LFE
Sample rate:48000 hz
Bitrate1536 kb/s
I played the first 3 min of the movie, on both PC and ATV2.
Pc specs are 100mb network, HDMI out, Audio via HDMI to TV (same as ATV2)
on these 3 min the ATV2 Buffered 4 times ( meaning the video stopped the buffering started to count up ) and then continued.
on the pc no buffering happened at all.
I did a network graph of both the stream an you can see that the Ubuntu box is taking more bandwidth... when watching the movie about 50kb more.
Here are the graphs.
Apple TV 2
PC
Here is also the xbmc.log
The Atv2 is not doing thumbnails in the background since I have my thumbs on an smb and lib database is on central mySql.
Both machines where not scanning for new content while playing the movie.
So I wonder if this is due to audio problems of the video or if its the smb client on the atv2 that is haveing some issues, since I read here in forums ppl solving problems by using ftp.
Build Version Built on Mar 5 2011 (Git:b0b7aa9)
Here is the problem, I stream a 720p ( h.264 video from local server via 100 mb Network ).
And most video will buffer every now and then, down to once a minute, but it seems to be related to bitrates of the encoding.
I am streaming via SMB protocol from a Ubuntu file server.
So I did some test. Being an cisco network engineer, I wanted to see what was happening on the network. So I did the following test.
Played a movie both on a Atv2 and on a Media PC (running ubuntu and xbmc ) here are the specs for the movie.
Type:Video
Codec: H254 - MPEG-4 AVC
Res 1280x536
Framerate 23.976215
Type Audio
CodecTS audio(dts)
Channels: 3f2r/LFE
Sample rate:48000 hz
Bitrate1536 kb/s
I played the first 3 min of the movie, on both PC and ATV2.
Pc specs are 100mb network, HDMI out, Audio via HDMI to TV (same as ATV2)
on these 3 min the ATV2 Buffered 4 times ( meaning the video stopped the buffering started to count up ) and then continued.
on the pc no buffering happened at all.
I did a network graph of both the stream an you can see that the Ubuntu box is taking more bandwidth... when watching the movie about 50kb more.
Here are the graphs.
Apple TV 2
PC
Here is also the xbmc.log
The Atv2 is not doing thumbnails in the background since I have my thumbs on an smb and lib database is on central mySql.
Both machines where not scanning for new content while playing the movie.
So I wonder if this is due to audio problems of the video or if its the smb client on the atv2 that is haveing some issues, since I read here in forums ppl solving problems by using ftp.