sent to the UDP: // 233.233.233.223: 6666 address.
ffmpeg -re -i chunwan.h264 -vcodec mpeg2video -f mpeg2video udp://233.233.233.223:6666
1.4. Play the MPEG2 bare stream
Specify-vcodec as mpeg2video.
ffplay -vcodec mpeg2video udp://233.233.233.223:6666
2. rtp2.1. send the H.264 bare stream to the multicast address.
The following command sends the H.264 raw stream "Chunwan. h264" to the address RTP: // 233.233.233.223: 264
ffmpeg -re -i chunwan.h26
Today, I found a strange problem. I can call the SIP client of the lower computer by using the Linphone client of the upper computer to work normally, but in turn there is a problem. Packet Capture found that Linphone sent a large number of IP fragmentation data packets, so google knows that when the data found is larger than MTU, it will generate IP fragmentation data packets. I have already split the RTP package? This should not happen normally.
Lin
RTP encapsulation of H.264 (lower)
3. RTP encapsulation implementation
3.1 encapsulation Flowchart
4. RTP solution encapsulation implementation
4.1 Flowchart
5. Summary
Hope you are correct!
6. References
[1] schuzrinne H, casner S, Frederick R, et al. rfc3550 RTP: A transport protocol for r
There are three different basic loads (single Nal, non-interleaved, interleaved) in RTP of h264)
The application can use the first byte for recognition.
The properties of this session are also described in SDP.
SDP parameters
The following describes how to represent an H.264 stream in SDP:
. "M =" the media name in the row must be "video"
. The encoding name in the "A = rtpmap" line must be "h264 ".
. The clock frequency in the "A = rtpmap" row must
In flash projects with audio/video interaction, the audio encoding can only be in speex format.
This article is divided into three parts. These are the audio interfaces provided in flex, The speex data in rtmp, and how to convert them to RTP streams.
I. audio interfaces provided in flex
The client is written using Flex. The interface provided by Flex is encapsulated. The call to the client is equivalent to a black box. The difference between the two
ubuntu9.10 Install OpenSER and use RTP Proxy to realize turn, solve the problem that symmetric NAT brings to SIP voice communication
Reprinted from Link http://hi.baidu.com/zj8la8la/blog/item/d700d8b2c11a41abd9335af9.html
Leave a note, convenient other people, online resources are not complete, I do a complete bar, at least I test through:My goal is very simple, just realize the SIP network MySQL database support.Start: Set the domain name
* If your
1 EVRC
Protocol Evolution: 3558->4788->5188
EVRC0 net charge format see 3558
EVRC-WB net charge format see 5188
EVRC codec algorithm based on loose code excitation linear prediction (RCELP) algorithm, with linear pre-and error control functions, EVRC family of various codes see the following diagram:
2 Multi-frame format
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
RTCP RTP protocol format Analysis 1: The task of sequential RTCP is to provide feedback on the delivery quality of the data streams transmitted over RTP, such as packet loss rate, jitter, bandwidth, and rate; when it is detected that the quality is poor, it will make some adjustments based on its own settings when the next packet is sent to achieve optimization. This process is not reflected by the recipie
following command reads the data from the local camera, encoded as MPEG2, and sent to the UDP: // 233.233.233.223: 6666 address.
[Plain]View plaincopy
FFmpeg-Re-I Chunwan. h264-vcodec mpeg2video-F mpeg2video UDP: // 233.233.233.223: 6666
1.4. Play the MPEG2 bare stream
Specify-vcodec as mpeg2video.
[Plain]View plaincopy
Ffplay-vcodec mpeg2video UDP: // 233.233.233.223: 6666
2. rtp2.1. send the H.264 bare stream to the multicast address.
The following command sends the H.264 raw stream "Chun
I have written an article "converting FLV stream to standard h264 and ACC in rtmp", link address
Http://www.cnblogs.com/chef/archive/2012/07/18/2597279.html
. The extraction of h264 from rtmp is analyzed.
In flash projects with audio/video interaction, the audio encoding can only be in speex format.
This articleArticleIt is divided into three parts. These are the audio interfaces provided in flex, The speex data in rtmp, and how to convert them to RT
I have been searching for this problem online for a long time. It may take about two weeks. After a large number of searches and searches, I have finally made some progress. Although I still don't understand the principle, I can finally see it. The next step is to make a deeper research, but today we are going to post the receipt, although very few, but it is also a summary of myself. Of course, we would also like to thank our predecessors and Friends of the video forum for their selfless dedica
1. Set the RTSP port number
The RTSP port number is set in the artspconnection. cpp file. First, obtain the port number from the URL. If the port number cannot be read, set it to the default port 554. Code processing is as follows:
Artspconnection: parseurl (const char * colonpos = strchr (host-> c_str (), ':'); If (colonpos! = NULL) {unsigned long X; If (! Parsesingleunsignedlong (colonpos + 1, x) | x> = 65536) {// the RTSP port must be less than 65536 return false;} * Port = X; size_t colonof
RTCP RTP protocol format analysis 6: RTCP Sender reportThe sender report consists of three parts, and the fourth part may be extended. Part 1: Header, 8 bytes long, version: 2 bits, RTP version identifier. This version in the RTCP package has the same meaning as that in the RTP package, generally 2 p: fill bit, 1 bit. If set, there are several fill bits at the e
Android client uploads images to the server and uses XML to transmit base64-encoded ImagesI use the httpclient of Android to send post requests. I also want to use the post method to send data. However, the data is saved during base64 decoding on the server, I did not find the cause, so I did not write it out.
The reason why a POST request is sent is that the amount of data that can be transmitted at a time is large because the size of the image after base64 encoding is large. If you use get or
Original link: http://blog.csdn.net/yu_yuan_1314/article/details/8963673
The timestamp field in the RTP package is the synchronization information that describes the time of the packet, and is the key to recovering the data in the correct chronological order. The timestamp value gives the sampling time of the first byte of the data in the packet. In order to calculate the playback time of each data stream and synchronize processing, only the timestam
You need to set the timestamp unit (timestamp) and timestamp increment (timestamp increment) when sending data using Jrtplib. Read some articles on the Internet, carefully wanted to think now just figured out the problem. The RFC3550 description of the timestamp is:
A timestamp (timestamp) 32-bit timestamp reflects the sampling time of the first byte in the RTP packet. (The sampling clock must originate from a timely, monotonically, linearly increme
Q: Why are subcontracting sent?
The reasons for the solution and network bandwidth
Sub-code, the situation is as follows:
else if (n->len>1500) {///Gets the Nalu required to send an int k=0,l=0 with a length of 1400 bytes of RTP packets; k=n->len/1400;//requires k 1400 bytes of RTP packet l=n->len%1400;//the last RTP packet needs to load the number of
original articles, Forbidden reprint. otherwise pursued.
The information parsing of RTP header in WebRTC has been explained before.
Here to explain the WEBRTC in the RTP parsing, here is the main explanation of h264 analysis;
About class implementations and related test files that are relevant in VP8 and VP9,WEBRTC;
Regarding the RTP file parsing of H264, t
The raw stream data obtained from h264 is. Generally, the bitstream structure is SPS, PPS, I frame, P frame ...... SPS, PPS, I frame, P frame ............ When we use RTP to package h264 data, SPS and PPS can directly send I and P frames without sending them. It also depends on the size of I frame and P frame. If it is smaller than MTU, it can be sent directly with the RTP package. If it is larger than MTU,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.