流音频和视频 [英] Streaming audio and video

查看:98
本文介绍了流音频和视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了一段时间,但仍然很挣扎.我有两个项目:

I've been trying for a while but struggling. I have two projects:

  1. 将音频流传输到服务器以通过Web分发
  2. 将音频和视频从网络摄像头流传输到服务器以在网络上分发.

到目前为止,我已经尝试过ffmpeg和ffserver,PulseAudio,mjpegstreamer(我可以正常工作,但没有音频)和IceCast都运气不佳.虽然我确定这很可能是我的错,但我想知道是否还有其他选择?

I have thus far tried ffmpeg and ffserver, PulseAudio, mjpegstreamer (I got this working but no audio) and IceCast all with little luck. While I'm sure this is likely my fault, I was wondering if there are any more option?

我花了一段时间尝试Linux选项,还想知道最近OpenCV是否使用过Python选项.

I've spent a while experimenting with Linux options and was also wondering if there were options with Python having recently played with OpenCV.

如果有人可以提出更多选择以研究基于Python或Linux的选项,将不胜感激,或者将我引向一些不错的教程或对我已经使用过的内容的解释,将不胜感激.

If anyone can suggest more options to look into Python or Linux based it would be much appreciated or point me at some good tutorials or explainations of what I've already used it would be much appreciated.

推荐答案

尝试不同选项的一个很好的开始是使用vlc(http://www.videolan.org).你可以玩.

A good start for trying different options is to use vlc (http://www.videolan.org) Its file->transmit menu command opens a wizard with which you can play.

另一个不错的选择是gstreamer(http://www.gstreamer.net),它特别是gst-launch程序,它使您可以从命令行构建管道.

Another good one is gstreamer, (http://www.gstreamer.net), the gst-launch program in particular, which allows you to build pipelines from the command line.

这篇关于流音频和视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆