Play 1080p mkv in streaming with windows share (SMB) - Stuttering when high bitrate
#1
Hi.
I have a Raspberry Pi 512MB version running the latest Raspbian “wheezy” (2012-12-16) with the latest firmware on it ( https://github.com/Hexxeh/rpi-update ), uname -a show: Linux raspberrypi 3.6.11+ #358 PREEMPT Tue Jan 15 00:45:33 GMT 2013 armv6l GNU/Linux. It's overclocked at 950 MHz, I have also hdmi_force_edid_audio=1 into config.txt file.
On it I installed XMBC Frodo RC 3 ( http://michael.gorven.za.net/raspberrypi/xbmc ) and it works well.
I use XBMC for play .mkv files (1080p also with DTS), I open the .mkv files on XBMC via smb (windows share); but when there is a high bitrate the video and audio became stutter. The problem, I think, is that the bandwith is not enough. Consider that the Raspberry Pi is connected via cable ethernet on a Gigabit switch and also the Windows PC (which shares the files) is attached on the same switch. Looking into Windows PC Task manager I noticed that the maxium peak of bandwith of the ethernet is "only" 5% of 1Gigabit (so 50% of 100Megabit) and may be (better for sure) this throughput is not enought for streaming 1080p high bitrate file.
Look also at this image, this is the network throughput during streaming mkv file from PC to Raspberry (the values are referred to a Gigabit so multiply by 10 for 100Megabit).
As you can see the throughput is very low..... and it's not enough to watch mkv.
SO, now, How Can I solve? There is a way to use more ethernet bandwith on the Raspberry?
There is the possibility to say to XBMC to increase the buffer?

Thanks!
Image

Kodi 18: Nvidia Shield TV (main device) and LibreELEC on Raspberry Pi 2 and Odroid C2
TV: Panasonic TX-55EZ950E (OLED)
AVR: Onkyo TX-NR509 (HDMI ARC)
Reply
#2
try to install one of the XBMC distros and you should be OK Wink
  • XBian
  • OpenELEC
  • Raspbmc

I use the XBian, and all is smooth 1080p/DTS or DD over LAN/SMB
Reply
#3
(2013-01-22, 21:17)rikardo1979 Wrote: try to install one of the XBMC distros and you should be OK Wink
  • XBian
  • OpenELEC
  • Raspbmc

I use the XBian, and all is smooth 1080p/DTS or DD over LAN/SMB

Please, can you test (on the PC) with the windows task manager the bandwith that you have on the interface that stream the mkv file to the raspberry?
Consider that I'm able to watch mkv 1080p and DTS audio without problem, but for same mkv with a high bitrate (also for some UNTOUCHED) I have the problem.
For example this is a mkv that I have problem:

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 : 2h 16mn
Bit rate : 11.8 Mbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.320
Stream size : 11.0 GiB (74%)
Writing library : x264 core 128 r2216+688+33 06dac27 tMod+MixAQ [8-bit@4:2:0 X86_64]
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=240 / rc=2pass / mbtree=1 / bitrate=11800 / ratetol=1.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.10 / aq=4 / aq-strength=0.95 / aq-sensitivity=10.00 / aq-ifactor=1.00 / aq-pfactor=1.00 / aq-bfactor=1.00 / aq2=0
Language : English
Default : No
Forced : No

Thanks!
Kodi 18: Nvidia Shield TV (main device) and LibreELEC on Raspberry Pi 2 and Odroid C2
TV: Panasonic TX-55EZ950E (OLED)
AVR: Onkyo TX-NR509 (HDMI ARC)
Reply

Logout Mark Read Team Forum Stats Members Help
Play 1080p mkv in streaming with windows share (SMB) - Stuttering when high bitrate1