Live555 in arm linux cross-compilation, and download the Arm Board to play H264 files. My system is ubuntu 11.10 1. download the live555 source code and H264 test file 2. modify config according to your own cross compiler. * (config. armeb-uclibc), My compiler is buildroot-gcc342 ----- mipsel-linux-uclibc, using config. armeb-uclibc 3. generate Makefile. /genMakefiles armeb-ublibc 4. after compilation, make
I have developed a client for decoding h264 on the Android platform. Now let's summarize it:
1. Interface
There is nothing to say about it. It is very simple on any platform...
2. decoder porting
I found an h264 decoding library cropped from FFMPEG and transplanted it to the Android platform. Here I want to learn about JNI.
3. Java Multithreading
I understand several methods of Java multithreadi
macro blocks in the same image frame from the space. In h264, there are 4x4 brightness prediction modes, 16x16 brightness prediction modes, 8x8 color block prediction modes, and an I _pcm encoding mode. It is not easy to choose the optimal encoding model.
The Inter-Frame Prediction encoding efficiency is higher than intra-frame encoding. In terms of time, it removes the redundancy between image frames and frames, which can be classified into one
Analysis of h264 code stream Packaging
Sodb data Bit String --> the original encoding data
Rbsp original byte sequence load --> after sodb, add the ending bit (rbsp trailing bits is a bit "1") to several BITs "0" to facilitate byte alignment.
Ebsp extended byte sequence load --> added the imitation validation byte (0x03) based on rbsp. The reason is: When NALU is added to limit B, you need to add the start code startcodeprefix before each set of NALU
FFmpeg install with libx264 (h264)
The information for this is very sparse, so here is a summary of what I have found.
Install libx264
Get the libx264 package from here:
Http://www.videolan.org/developers/x264.html
Extracts the bz2 File
tar -xjvf /path/to/x264-snapshot-20080805-2245.tar.bz2
And now the useual
cd /path/to/x264-dir./configure --enable-sharedmakemake installldconfig
Get a nice error message:
[root@dev01 x264-snapshot-20080805-2245]# ./co
baselineprofile should be 66. For a decoder that complies with a specified level of baseline profile, it can decode any bitstream that meets the following requirements: 1. profile_idc is equal to 66 or constraint_set0_flag is equal to 1; 2. level_idc represents a level smaller than or equal to the specified level.
Note: constraint_set0_flag. The value is equal to 1, indicating that all constraints specified in Appendix A.2.1 (above) of the standard must be followed.
Bytes ---------------------
This article is organized from the network, non-original, like related articles please pay attention to our public number: Blackerteamh.265H.265 is the new video coding standard developed by ITU-TVCEG after H. The h.265 standard revolves around the existing video coding standard, which retains some of the original technology while improving some of the relevant technologies. The new technology uses advanced techniques to improve the relationship between code flow, encoding quality, latency and a
Nickname: Marine fish 1001 Date: October 25, 2014-October 31, 2014
1. Task completed this week: noise suppression for audio recording. pcm+h264 package MP4, last week for audio g711a, and the parameter is not ideal for synthesis.
2. Task not completed this week: Timestamp issue
3. Next week plan: Find timestamps related literature
4. Key technical Point Description:
Platform: Linux HI3515
Cross compiler: Arm-hisiv100nptl-linux
The noise suppression o
FFmpeg has very powerful features including video capture, video format conversion, video capture, video watermarking, etc. The use of these features on the Internet is mostly based on the command line. This is not conducive to our in-depth study of customized FFmpeg, in the future I will write a series of code to implement these features of the tutorial for everyone to learn. The first part of this series I am going to write on the implementation of Windows, after the partial write porting to A
Code stream encapsulation using open Source Library FFmpeg
The H264 stream is written to H264 buffer via the function h264buff_write (), and mux_thread the received stream into the MP4 file.
Here I use a separate thread encapsulation stream is to solve the recording process of the cycle of the problem, or can not be separate pull thread.
Type declaration
/*---------------for muxing--------------*/
#ifndef
1, Search download installation red Rabbit H264 monitoring and recovery software
2, as an administrator to run the software, the main software interface as shown in the following image:
3, scan restore H264 surveillance video
3.1, click the "Select Disk" button to check the disk you want to scan for recovery.
3.2, click the "Start" button to start scanning the selected disk. Note
Hoi Hong 7816 uses the PS stream to encapsulate the H. P data, the decoder used here does not recognize the PS stream, so the h264 data needs to be extracted from the PS stream
Refer to the 13818-1 documentation for PS flow rules
Here we get some data samples from 7816.
The B8 of the BA--------------------------FE FF FF, 0100, BC00 5A E0 FF, 0E, 4 B, 0D AF C5 D3 E0 0 7 FF FF FF FF 4 b xx xx xx xx xx xx xx xx xx 2C 1 b E0 40 0E xx A0, C0 02, XX 1F ff
Protocol, it can support flash playback, smooth output of the video stream of H.Design and implementationKnowing the interaction process, we can design and implement our own RTMP server. Because the RTMP protocol is based on the TCP protocol, RTMP server is essentially a TCP server, and its logical structure is basically similar to the normal TCP server.In fact, LIBRTMP has provided the basic RTMP message read and send, can be developed on the basis of librtmp, to achieve a variety of RTMP prot
should be met . A bit stream that corresponds to Baselineprofile, its profile_idc should be equal to 66. For a decoder that adheres to a specified level of Baseline profile, it can decode any bit stream that meets the following requirements:1. PROFILE_IDC equals 66 or Constraint_set0_flag equals 1; 2. The level represented by LEVEL_IDC is less than or equal to this specified level. Note:constraint_set0_flag with a value equal to 1 means that all constraints specified in appendix a.2.1 (i.e. ab
segmented, and then the segmented NAL unit is packaged in step 1 ways. The partitioning scheme is as follows:Where nsize is the NAL element size before splitting, n is the size of the NAL unit after splitting. The number of cells after the K split. The size of the last cell after the split may be less than N, when the RTP payload must be filled with the same size as the previous tile, at which point the padding identity bit value in the RTP header is 1.3, the SEI, the parameter set and other sm
1, Codecvisa:Http://www.codecian.com/downloads.html2.Three ways comes to mind (if is looking for something free, else Google ' H264 analysis '):A) Download H. Parser From:http://www.w6rz.net/h264_parse.zip (from this thread @ doom9 Http://forum.doom9.org/arc hive/index.php/t-133070.html)b) Download the H. Reference SW from:http://iphome.hhi.de/suehring/tml/c) h264bitstream:http://h264bitstream.sourceforge.net/or http://sourceforge.net/projects/h264bit
You have uploaded the file to csdn at http://download.csdn.net/detail/avsuper/7421647...
This program can record the camera video and microphone audio as FLV files.
Video Compression uses H.264 encoding, and audio compression uses AAC encoding. rtmp live video can be synchronized (the server end must be FMS/wowza/red5 ). Information such as bit rate, resolution, frame rate, and key frame interval can be selected.
No. 1 classroom network (http://www.1jiaoshi.com) produced.
At the same time, a
Appendix:
264
Learning Guide-- Learning is divided into three stages: 1. The first stage: Learning H. 264 first, you must put the most basic and necessary information in your hand (// 172.22.113.200/share/h264/H. 264 related papers/other/classic articles ). These materials include: standard documents + test models + classic articles. First look at the H.264_MPEG-4 Part 10 White Paper, after reading the Video coding using the H. 264 MPEG-4 AVC compress
Analysis00 00 00 01 67 42 00 1E 99 A0 B1 31 00 00 01
H264 data streams are divided into two types: nal unit stream (RTP) and bits stream,The two can be converted to each other. We analyzed the bit stream, according to Annex B00 00 00 01 67 42 00 1E 99 A0 B1 31 is an NAL between two 00 00 010110 0111 0100 0010 0000 0000 0001 1110 1001 1001 1010 0000 1011 0001 0011 0001Forbidden_zero_bit (1) = 0Nal_ref_idc (2) = 11Nal_unit_type (5) = 0 0111:Seq_paramete
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.