Skip to content

RaspberryPi

winlin edited this page Mar 29, 2014 · 27 revisions

树莓派下的SRS

SRS支持arm,在树莓派上成功运行,本文记录了树莓派的性能指标。

运行

树莓派下安装和运行SRS,有以下方式:

查看SRS是否启动:/etc/init.d/srs status

环境

本次测试的硬件环境如下:

  • RaspberryPi:B型
  • SoC BroadcomBCM2835(CPU,GPU,DSP,SDRAM,USB)
  • CPU ARM1176JZF-S(ARM11) 700MHz
  • GPU Broadcom VideoCore IV, OpenGL ES 2.0, 1080p 30 h.264/MPEG-4 AVC decoder
  • RAM 512MByte
  • USB 2 x USB2.0
  • VideoOutput Composite RCA(PAL&NTSC), HDMI(rev 1.3&1.4), raw LCD Panels via DSI 14 HDMI resolution from 40x350 to 1920x1200 plus various PAL and NTSC standards
  • AudioOutput 3.5mm, HDMI
  • Storage SD/MMC/SDIO socket
  • Network 10/100 ethernet
  • Device 8xGPIO, UART, I2C, SPI bus, +3.3V, +5V, ground(nagetive)
  • Power 700mA(3.5W) 5V
  • Size 85.60 x 53.98 mm(3.370 x 2.125 in)
  • OS Debian GNU/linux, Fedora, Arch Linux ARM, RISC OS, XBMC

另外,直播不会用到SD卡,所以可以忽略不计,用的是class2,4GB的卡。

软件环境如下:

  • RaspberryPi提供的img:2014-01-07-wheezy-raspbian.img
  • uname: Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
  • cpu: arm61
  • 服务器: srs 0.9.38
  • 客户端:flash + st-load
  • 网络: 百兆交换机(pi只支持百兆)

流信息:

  • 码率:200kbps
  • 分辨率:720x576
  • 音频:无音频

环境搭建参考:SRS: arm

Winlin 2014.3

Welcome to SRS wiki!

SRS 5.0 wiki

Please select your language:

SRS 4.0 wiki

Please select your language:

SRS 3.0 wiki

Please select your language:

SRS 2.0 wiki

Please select your language:

SRS 1.0 wiki

Please select your language:

Clone this wiki locally