Www. fire-rain.comblogFFMPEG_H264_MP4PHP + FFMPEG automatic transcoding H264 standard Mp4 File recently made an online teaching network project, need to upload any format of video automatic h264 standard video, using html5 playback. Finally, PHP + FFMPEG is used for implementation. Here we will share our detailed solutions with you! Configure ph
Http://www.fire-rain.com/blog/FFMPEG_H264_MP4 PHP + FFMPEG aut
RTP h264 PS MPEG-2
Preface: RTP analysis. I found a lot of information on the Internet, but it was not complete. So I tried to make a comprehensive analysis,
I have referenced many articles and listed them at the end of the article. I would like to express my gratitude.
The development of the Internet is inseparable from the selfless dedication of everyone. I decided to start from me and hope everyone can support it.
Original is not easy, reprint Ple
1. Macro Block matching pixel precision: In MPEG2, the motion estimation accuracy is 12 pixels, which can be implemented through linear insertion (which may be simply corrected ); both H264 and MPEG4 support 14-pixel precision. 2. Number of reference frames: MPEG2. P frames of MPEG4 can only have one reference frame, and B frames can have two reference frames. H. 264 can have up to 15 reference frames, one
1. Macro Block matching pixel precision: In M
http://blog.csdn.net/jefry_xdz/article/details/84613431, nal full name Network abstract layer, that is, the net abstraction level.In the H.264/AVC video coding standard, the whole system framework is divided into two levels: Video coding level (VCL) and network abstraction level (NAL). The former is responsible for effectively representing the content of the video data, while the latter is responsible for formatting the data and providing the header information to ensure that the data suitable f
After reading the introduction of H264/AVC codec, I just left the following three articles in my mind:1, H264 does not understand how to implement a codec, just a coded video bit stream syntax, and the Bitstream decoding method, this is similar to MPEG.2, H264 and once the standard (such as H261, H263, MPEG-1, MPEG-4) codec implementation process is not much diff
The previous article described "H264 video via rtmp stream live", below will explain how to H264 live video live through RTSP.
The realization of the idea is to send the video stream to live555, by live555 to achieve the H264 data stream live.
The video capture module sends the H264 data frame to live555 through a FIFO
Source:http://www.aichengxu.com/view/37145In the iOS platform using ffmpeg decoding H264 video stream, there is a need for friends to refer to below.For mainstream video transmission protocols such as video files and RTSP, FFmpeg provides a avformat_open_input interface that can be opened directly by passing in a file path or URL. Reading video data, decoder initial parameter settings, etc., can be done by invoking the API.However, for
reference for intra-frame prediction.
P Macro Block uses the previously encoded image as the reference image for intra-frame prediction.
The B Macro Block uses two-way reference images (the previous frame and the next frame) for intra-frame prediction.
The purpose of an slice is to limit the spread and transmission of codes so that the encoded slice is independent of each other.
The prediction of a piece cannot take the Macro Block in other pieces as the reference image, so that the prediction
The previous article introduced the "H264 video through the rtmp streaming", the following will explain how to H264 real-time video through the RTSP live.
The realization idea is to send the video stream to the live555, and the live555 to realize the H264 data stream live.
The video capture module sends the H264 data f
During this period of time, the work needs are converted from FLV stream to standard h264 and aac on rtmp. The server is an open-source project crtmpserver, client flex writing, video encoding h264, and audio encoding AAC, some protocol-related items are recorded as follows.
1. Analyze FLV data
Let's take a FLV file to analyze the FLV data format.
FLV standard document http://www.cnblogs.com/chef/a
This time, the work of the need, on the rtmp to do the FLV stream to the standard H264, AAC conversion, the server is open source project Crtmpserver, client flex writing, Video coding H264, Audio coding AAC, now some of the agreements related to the following things record.
I. Analysis of FLV data
Let's take an FLV file to briefly analyze the format of the FLV data
FLV standard document Download address h
A table that indicates the timing and physical layout of the Sampe.
Chunk
A track of a number of sample units composed of.
three, MP4 package format structure diagram 1 Example Sample
From Android Mediarecoder video recording, the platform for Huawei T8300 and TCL968, with Mp4info view as follows:
use Eseye to view the following: The analysis by Winhex is as follows:
2 box structure diagram
Next, some of the useful h264
according to the RTMP protocol, the RTMP video stream can be published. To facilitate video packaging and publishing, an RTMPStream is encapsulated. Currently, only videos of H264 can be sent. You can directly send H264 data frames or H264 files. The interface provided by RTMPStream is as follows.
Class CRTMPStream {public: CRTMPStream (void );~ CRTMPStream (vo
H264 decoder source code, porting the H264 decoding part of the FFmpeg to Android, depth pruning optimization, in the simulator (320x480) validated through.
The application of the JNI architecture. Interface section, file reading, video display is done in Java, the bottom of the video decoding with C to do to meet the speed requirements.
In this release, the NAL from the
I recently encountered a problem about how to read a complete frame of data when reading an h264 file. Using the elecard stream analyzer tool, combined with the new generation of video compression coding standard-h264/AVC (second edition), and find and summarize on the Internet as follows:
First, the nal syntax, titles syntax, and nal_unit_type semantics must be known:
The above two figures are taken from
In the previous article, we used ffmpeg to separate the audio and video data from a multimedia container, but it is possible that the data could not be decoded correctly. Why is it? Because the decoder needs to be configured before decoding the data, it is typical of the current popular HD coded "Golden Partner" combination H264 + AAC . This article will describe the key decoding configuration parameters of H264
Current Location: Home > Streaming Media Development > streaming Media Development >
Streaming Media Essentials Brief: How to get pts in H264 data.
Jackyhwei posted on 2011-10-08 09:15 click: 2,105 times
From: Hi.baidu.com/zorru
The Base_clock of PTS here are calculated in terms of 1000 (milliseconds), and if reused in TS, the Base_clock is 90k, so it should be multiplied by 90. About the
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.