摘要
针对目前广泛使用的H.264标准,设计了一种基于SDL和ffmpeg的流媒体播放系统.将经过RTP封装的流媒体信息解除封装处理后,利用ffmpeg良好的解码能力对数据进行解码,之后再利用SDL优异的视频性能进行实时显示,并同时将流媒体数据保存在本地以供随时调用.实验证明,该播放系统解码播放的实时性出色,画质良好,此外凭借ffmpeg和SDL的跨平台特性,系统具有良好的移植性和拓展性,适用于嵌入式设备和手机平台.
Aiming at widely used H.264 protocol, a kind of streaming media player system was designed based on SDL and ffmpeg. After unpacked, streaming media data packed by RTP protocol coule be decoded by ffmpeg, and shown by SDL, streaming media data could be saved in local file system for invocation at the same time. Experiment showed that the system had good real time performance and image quality. Besides, the system also had a good extensibility and portability because of the professional platform independence provided by ffmpeg and SDL, these features made the system suitable for embedded device and mobile terminal.
出处
《计算机系统应用》
2013年第12期51-54,共4页
Computer Systems & Applications
关键词
H
264
SDL
流媒体
实时性
跨平台
H.264
SDL
slreaming media
real-time performance
platform independence