RTSP是否支持流文件视频MP4? [英] Does RTSP support streaming file video MP4?
问题描述
任何人都知道RTSP支持MP4进行流传输吗?还是RTSP支持哪些文件视频格式?
Anyone know does RTSP support MP4 for streaming? Or what file video formats that RTSP support?
推荐答案
RTSP 是用于实时流式传输的协议.您可以以任何想要的格式流式传输任何数据,包括文本,音频,视频,演示文稿...砖块...不计任何东西,您可以使用RTSP-it.
RTSP is a protocol for realtime streaming. You can stream any data, in any format you want including text, audio, video, presentation... bricks... no meter what, you can RTSP-it.
主要思想是,当新的流会话打开时,您必须使用 SDP 响应(会话描述协议).在这里,您说我的内容是视频,它具有N FPS,使用此编解码器,这些是解码图片所需的参数...",以便客户端可以判断它是否可以重现流数据.
Main idea is that when new streaming session opens you have to DESCRIBE your streaming content to the client with a SDP response (Session Description Protocol). There you say "my content is video, it has N FPS, uses this codec, these are the required parameters for decoding a picture..." so the client can tell if it can reproduce the stream data.
流服务器不支持MP4,MPEG2或任何其他容器格式...只要服务器可以打开容器文件,它就可以通过RTSP流内容.
Streaming server doesn't care for MP4, MPEG2 or any other container format... as long as the server can open a container file it can stream its contents over RTSP.
所以您的问题应该是:此RTSP服务器实现是否支持MP4文件格式?"
So your question should be: "Does this RTSP server implementation support MP4 file format?"
这篇关于RTSP是否支持流文件视频MP4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!