用户名: 密码: 验证码:
基于Android的视频直播系统客户端设计与实现
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design and Implementation of Client of Video Broadcast System Based on Android Platform
  • 作者:李红阳 ; 刘剑飞 ; 韩长宇 ; 郝禄国
  • 英文作者:Li Hongyang;Liu Jianfei;Han Changyu;Hao Luguo;College of Information Engineering,Hebei University of Technology;College of Information Engineering,Guangdong University of Technology;
  • 关键词:流媒体 ; 视频直播 ; FFmpeg ; Android
  • 英文关键词:streaming media;;video broadcast;;FFmpeg;;Android
  • 中文刊名:NKDZ
  • 英文刊名:Acta Scientiarum Naturalium Universitatis Nankaiensis
  • 机构:河北工业大学信息工程学院;广东工业大学信息工程学院;
  • 出版日期:2019-04-15
  • 出版单位:南开大学学报(自然科学版)
  • 年:2019
  • 期:v.52
  • 基金:河北省高等学校科学技术研究项目(ZD2017021);; 河北省高层次人才项目(C20132001048,GCC2014011)
  • 语种:中文;
  • 页:NKDZ201902001
  • 页数:6
  • CN:02
  • ISSN:12-1105/N
  • 分类号:3-8
摘要
随着智能手机性能的不断提高以及流媒体技术的不断发展,手机直播的应用变得越来越广泛.分析流媒体和移动视频发展现状,提出了一种基于Android手机的移动视频直播设计方案.该系统通过手机摄像头和麦克风进行原始图像和音频采集,通过Java Native Interface(JNI)技术调用FFmpeg库进行H.264/AAC实时编码,并将编码的视频流采用RTMP协议通过WiFi或4G上传至流媒体服务器,为客户端提供在线直播服务.通过设计实验,从编码和传输两方面对系统的性能进行分析验证.实验结果表明,该系统在WiFi、移动和联通4G网络中有较强稳定性和实时性.
        With the development of performance of smart phones and streaming media technology, the mobile video broadcast is becoming more and more popular. Through analyzing of current situation of the development of mobile video broadcast and streaming media, a mobile video broadcast system is designed on Android platform. The system enables users to capture the original image and sound with the video camera and microphone embedded in smart-phone. FFmpeg is used for H.264/AAC real-time encoding through Java Native Interface(JNI). And the video stream can be sent to the media server via either WiFi or 4 G based on RTMP protocol. Then the sever can provide live streaming services to clients. By designing the experiment, the performance of the system is tested from encoding and transmission. The experimental results are presented that the video broadcast system has strong stability and real-time performance in WiFi, China Mobile Communications Corporation and China Unicom's 4 G network.
引文
1 王凯,赵庚申,刘国良.基于Android的电能管理系统的研究[J].南开大学学报:自然科学版, 2015, 48(2):69-74.
    2 杨名阳,张志刚,叶保留.一种基于Android手机的移动视频直播系统的设计与实现[J].微电子学与计算机,2013, 30(4):164-168.
    3 苗健,许应康.基于FFmpeg的视频播放软件设计[J].现代电子技术, 2015(12):83-84.
    4 王浩,韩敏,董杰.基于Android平台的车载视频智能监控系统的研究[J].电子技术应用, 2016,42(6):121-123.
    5 王辰,周杰,季榉.基于Android平台的实时视频技术的实现[J].计算机应用与软件, 2014, 31(6):120-122.
    6 程滢颖.移动终端上视频直播系统的研究与设计[D].上海:华东理工大学信息科学与工程学院, 2013.
    7 French H, Lin J, Phan T, et al. Real time video QoE analysis of RTMP streams[C/OL]//2011 IEEE 30th International on Performance Computing and Communications Conference, Orlando, FL, USA, Nov 17-19, 2011.[2017-02-16]. https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6108105.
    8 雷霄骅,姜秀华,王彩虹.基于RTMP协议的流媒体技术的原理与应用[J].中国传媒大学学报:自然科学版,2013, 20(6):59-64.
    9 唐力,槐寅,陈震. Flash媒体服务器的优化部署[J].清华大学学报:自然科学版, 2010, 50(1):5-8.
    10 张冲,杨灿,杨泽铨,等. RTMP协议在P2P流媒体系统中的应用[J].电视技术, 2009, 33(S2):189-191.
    11 丁杰,潘晨光,田源.基于crtmpserver的手机直播系统[J].计算机工程与设计, 2014, 35(9):3 173-3 178.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700