Live streaming H.264 in DirectShow

僤鯓⒐⒋嵵緔 提交于 2019-12-05 01:45:32

问题


Does anyone know which filters in DirectShow I have to use in order to stream H.264 LIVE stream over http? (especially what kind of source filter I have to use)

Any code suggestion will be helpful.

Thanks!


回答1:


Do you mean HTTP tunneling or the chunk-based methods of apple (MPEG-TS) and MicroSoft (MP4) ?

If you are looking for a tunneling solution, the following might be helpful:

One (typical) option is to use an RTSP source filter. However there is no stock RTSP source filter in windows. You can write your own or try to use one of the following: http://rtpstream.com/downloads.shtml I have never used it so can't say how well it works, I do remember seeing the HTTP tunneling option though.

I have also made an example one available at sourceforge if you are looking for one with source code. It uses the live555 library for RTSP/RTP/RTCP. It was aimed at streaming some audio formats and I only recently started playing around with adding H.264 support to it. I managed to stream the example H.264 files available from live555. Perhaps it could be helpful in getting started. Live555 does support HTTP tunneling, but you would have to modify the filter source code to get it right.




回答2:


Www.3ivx.com makes a DirectShow source filter which supports RTSP and Apple style HTTP Live Streaming

We're currently using it in another project



来源:https://stackoverflow.com/questions/6450463/live-streaming-h-264-in-directshow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!