sdp

Is sprop-parameter-sets or profile-level-id the SDP parameter required to decode H264?

只谈情不闲聊 提交于 2019-11-30 23:52:36
I'm trying to understand what is the required parameter in SDP to be able to decode H264 from RTP packets. This is an related to this question , for the answer to that one works only in small number of cases. Example I am streaming from VLC with the following command. vlc -vvv sample_video/big_buck_bunny_480p_h264.mov --sout '#transcode{vcodec=h264,vb=700,fps=20,scale=0.25,acodec=none}:rtp{dst=10.5.110.117,port=5004,ttl=1}' This transcodes the video to: Bitrate: 700kbps Frame rate: 20 per second Resolution: 25% of the original The receiver correctly accepts and interprets the stream with the

sdp协议总结

a 夏天 提交于 2019-11-29 08:21:35
一 概述: SDP目的就是在媒体会话中,传递媒体流信息,允许会话描述的接收者去参与会话。SDP基本上在internet上工作。他定义了会话描述的统一格式,但并不定义多播地址的分配和SDP消息的传输,也不支持媒体编码方案的协商,这些功能均由下层传送协议完成。典型的会话传送协议包括:SAP(Session Announcement Protocol会话公告协议),SIP(Session Initiation Protocol,会话初始协议),RTSP,HTTP,和使用MIME的E-Mail。 SDP包括以下一些方面: (1)会话的名称和目的 (2)会话存活时间 (3)包含在会话中的媒体信息,包括: 媒体类型(video,audio, etc) 传输协议(RTP/UDP/IP,H.320, etc) 媒体格式(H.261video, MPEG video, etc) 多播或远端(单播)地址和端口 (4)为接收媒体而需的信息(addresses, ports, formats and so on) (5)使用的带宽信息 (6)可信赖的接洽信息(Contact information) 二 sdp规格: SDP会话描述由多行=组成。其中是一个字符。是一个字符串,其格式视而定。整个协议区分大小写。“=”两侧不允许有空格。 SDP会话描述由一个会话级描述(session_level

Stream RTP to FFMPEG using SDP

♀尐吖头ヾ 提交于 2019-11-29 07:58:30
I get RTP stream from WebRTC server (I used mediasoup ) using node.js and I get the decrypted RTP packets raw data from the stream. I want to forward this RTP data to ffmpeg and from there I can save it to file, or push it as RTMP stream to other media servers. I guess that the best way would be to create SDP file that describes both the audio and video streams and send the packets through new sockets. The ffmpeg command is: ffmpeg -loglevel debug -protocol_whitelist file,crypto,udp,rtp -re -vcodec libvpx -acodec opus -i test.sdp -vcodec libx264 -acodec aac -y output.mp4 I tried to send the

转载 | 混乱的云计算现状驱动身份管理的变革

限于喜欢 提交于 2019-11-29 07:04:25
云计算和移动计算令已经很脆弱的身份及访问管理(IAM)基础设施更加摇摇欲坠。问题的日益严重推动单点登录、多因子身份验证、IAM集中化等领域出现相应变革。 几年前,CISO们就感受到了云计算和移动计算时代维持安全控制的艰难。随着云计算和移动计算的兴起,身份和数据安全已经变成了新的安全边界,企业安全团队的重点渐渐放在两个关键领域: 身份管理和数据安全 。 企业战略集团(ESG)最近的研究结果也验证了CISO们的感受。调查显示, 61%的受访者认为今天的IAM比2年前艰难得多 。为什么如今的企业安全防护更难了呢?云计算和移动计算自然是其中2个主要原因,但受访者也提到,网络威胁的日渐增多和全面的身份与访问管理(IAM)策略的缺乏同样难辞其咎。 不幸的是,IAM问题可能随着云计算创新的演进而更加恶化。 公司企业不断深化云计算技术的采纳,云计算技术本身也继续着高速创新的步伐。多数大型企业如今采用包含多种公共及私有云服务及技术的异构混合云。另外,还有很多公司的IT环境由虚拟服务器、实体服务器、容器和基于微服务的应用构成。 企业IT和OT环境变化发展如此迅速,以致云计算出现了一些混乱——大量而经常的修改。这就明显与“变化就是安全的敌人”这一安全格言的理念相悖。**混乱的状态映射到身份管理上,情况就又更加严峻了,因为身份管理是一种各个环节都需要,但又谁都不会真正拥有的零散基础设施。**换句话说

转载 | 身份互联网(IoI)来了,IAM将大放异彩

随声附和 提交于 2019-11-29 04:45:48
IoT、移动性和紧迫的安全需求,意味着每个节点都必须有可信身份和连接网络服务的安全通道。 现在每个人都在谈论IoT,理由充分:已有数十亿设备接入全球互联网,有些研究人员预测到2020年联网设备数量将达 500亿 。仅此一项,就让CISO的工作更难开展了,但安全高管还要面临其它相关挑战,包括: 员工移动办公,倾向于利用各种设备访问公司应用; 应用、工作负载和容器存在于私有或公共云,甚至在二者之间转换; 更多设备、云应用和移动用户的增加,大幅扩大了攻击界面; CISO被迫以人手不足兼技能不够的网络安全团队,保护这不断增长的IT资产。 传统安全过程、控制措施和技术手段,无法扩展满足当今IoT移动世界的安全挑战。 这正是身份(例如:设备身份、用户身份、资产身份等等)大展拳脚的地方。源和目的之间,必须通过2/3层协议和用户名及口令连接。更进一步, 互联网上所有东西都必须有个可信身份,这些可信身份将用于引导并监视安全连接。 这一趋势被称为“ 身份互联网(IoI) ”,符合我们目前跟踪的多个安全趋势。比如说, 可信身份,就处于微分隔和软件定义边界(SDP)之类联网趋势的中心。 只要知道设备或人的身份,以及该设备或人想连接的应用或服务的身份,就可以验证各实体,检查策略引擎以确保这是授权连接;分隔并加密源和目的之间的流量,并维护对连接甚至俩节点间所有数据包的审计日志。 基本上

How to decode sprop-parameter-sets in a H264 SDP?

时间秒杀一切 提交于 2019-11-28 23:31:49
What is the meaning of Base64 decoded bytes in sprop-parameter-sets in SDP for a h264 stream? How can I know the video size from this example? SDP example: sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA== First part decoded from Base64 to Base16: 67 42 00 29 E3 50 14 07 B6 02 DC 04 04 06 90 78 91 15 Second part (comma separated): 68 CE 3C 80 ANSWER: Fetching the dimensions of a H264Video stream Jonathan Websdale The spec you require is available for free download from the ITU website here:- H.264 (03/10) Select the freely downloadable PDF and you'll find the format detailed in section 7

Minimum SDP for making a H264 RTP stream?

只谈情不闲聊 提交于 2019-11-28 09:22:19
I'm looking for an example of a minimum necessary SDP for setting up a H264 video stream.| The assumption is that the receiver can play H264 as long as it gets the required parameters through SDP. I have found a related document here however it uses lots of optional parameters in the examples, and I'm looking for the bare required minimum. TheMeaningfulEngineer Here is the bares minimum SDP. It is a file called test.sdp which has the following content: c=IN IP4 10.5.110.117 m=video 5004 RTP/AVP 96 a=rtpmap:96 H264/90000 I've started the stream on a virtual machine using VLC. (No SDP sent here)

Stream RTP to FFMPEG using SDP

妖精的绣舞 提交于 2019-11-28 01:36:39
问题 I get RTP stream from WebRTC server (I used mediasoup) using node.js and I get the decrypted RTP packets raw data from the stream. I want to forward this RTP data to ffmpeg and from there I can save it to file, or push it as RTMP stream to other media servers. I guess that the best way would be to create SDP file that describes both the audio and video streams and send the packets through new sockets. The ffmpeg command is: ffmpeg -loglevel debug -protocol_whitelist file,crypto,udp,rtp -re

sip/sdp/rtp/rtcp/rtsp间的关系

China☆狼群 提交于 2019-11-27 10:08:44
用一句简单的话总结:RTSP发起/终结流媒体、RTP传输流媒体数据 、RTCP对RTP进行控制,同步。 转自该博客:http://blog.csdn.net/xdwyyan/article/details/41721307?utm_source=tuicool&utm_medium=referral 感觉这些基础关系此君写的比较清楚,转载学习一下,如有侵权,联立删 1、 RTP Real-time Transport Protocol,是用于Internet上针对多媒体数据流的一种传输层协议。RTP协议详细说明了在互联网上传递音频和视频的标准数据包格式。RTP协议常用于流媒体系统(配合RTCP协议),视频会议和一键通(Push to Talk)系统(配合H.323或SIP),使它成为IP电话产业的技术基础。RTP协议和RTP控制协议RTCP一起使用,而且它是建立在UDP协议上的。 RTP 本身并没有提供按时发送机制或其它服务质量(QoS)保证,它依赖于网络应用程序去实现这一过程。 RTP 并不保证传送或防止无序传送,也不确定底层网络的可靠性。 RTP 实行有序传送, RTP 中的序列号允许接收方重组发送方的包序列,同时序列号也能用于决定适当的包位置,例如:在视频解码中,就不需要顺序解码。 2、 RTCP 实时传输控制协议(Real-time Transport Control

Minimum SDP for making a H264 RTP stream?

随声附和 提交于 2019-11-27 01:57:49
问题 I'm looking for an example of a minimum necessary SDP for setting up a H264 video stream.| The assumption is that the receiver can play H264 as long as it gets the required parameters through SDP. I have found a related document herehowever it uses lots of optional parameters in the examples, and I'm looking for the bare required minimum. 回答1: Here is the bares minimum SDP. It is a file called test.sdp which has the following content: c=IN IP4 10.5.110.117 m=video 5004 RTP/AVP 96 a=rtpmap:96