see on the second machine Docker0 IP is the 172.17.0.2/16,docker container that obtains IP from Docker0 's network, and on the second machine, the Docker container's IP range is limited to 172.17.2.1/24 network segment.
Test host1
View IP to ensure connectivity to Host2 DOCKER0IP
root@controller:~# ifconfig docker0
docker0 Link encap:ethernet hwaddr 00:0c:29:d3:5a:fe inet addr
: 172.17.0.1 bcast:172.17.255.255 mask:255.255.0.0
inet6 addr:fe80::20c:29ff:fed3:5afe/64 sc
is saved as several PPS projection files. It is best to put the external files inserted in these PPS files and PPS files in a folder for easy management. I first set up a link folder, the external file in which, and then inserted into these several PPS files, (avoid the show can not find the file), and finally put the
The original post link is as follows: http://blog.csdn.NET/ren65432/article/details/43449391
Sometimes we need to get h264 naked stream for analysis. This article describes how to obtain a h264 stream by FFmpeg. The H264 code stream files obtained can be played directly through the player such as VLC.
I. H264 file Data flow
The following figure is a. h264 file data analyzed through the Winhex tool:
FFmpeg get H264 ideas as follows:
1, write sync code, 4 bytes (00,00,00,01)
2, write SPS
3, wr
) (unsigned char *buf, int buf_size)) {int ret;
uint32_t now,last_update;
memset (metadata,0,sizeof (rtmpmetadata));
memset (m_pfilebuf,0,buffer_size);
if ((Ret=read_buffer (m_pfilebuf,m_nfilebufsize)) Read the SPS and PPS for the H264 file before you begin looping through the data. The SPS is a set of sequence parameters and the PPS is the set of image parameters. In the SPS sequence parameter set,
groupsDatavg03Datavg02Datavg01Datavg00Rootvg2. perform the following operations on the volume group used for database preparation:# Lsvg? L datavg03Datavg09:Lv name type LPs PPs PVs LV STATE MOUNT POINTLvdata0316 raw 64 64 1 open/syncd N/Lvdata0317 raw 64 64 1 open/syncd N/Lvdata0318 raw 64 64 1 closed/syncd N/Lvdata0319 raw 64 64 1 closed/syncd N/Lvdata0320 raw 64 64 1 closed/syncd N/Lvdata0321 raw 64 64 1 closed/syncd N/Lvdata0322 raw 64 64 1 close
yet.This information is stored in the SPS (set of sequence parameters) and PPS (set of image parameters) of the H264 stream.For each NAL unit, the last 5 bits of the first byte after the starting code represent the type of the NAL unit. 7 represents sps,8 on behalf of PPS. Usually after the SPS and PPS is the IDR frame, without the information on the front frame
Base64 encoding is very common in e-mails. For emails such as Foxmail and outlook, the user agent performs SMTP verification when sending emails, that is, entering the username and password in base64 encoding format for verification, the body content and attachments of emails are generally transmitted using base64 encoding.
When using the Telnet tool to test mail sending, if verification is required, the practical base64 encoding tool becomes necessary. In another articleArticlePHP functions c
["au_id"]);//// Create a link for the two tables created above, specify the names of the Parent and Child columns, and name their relationships.
String connstring = ConfigurationManager. ConnectionStrings ["pubs"]. ConnectionString;SqlConnection con = new SqlConnection (connstring );
SqlDataAdapter sda = new SqlDataAdapter ("select * from authors", con );DataSet ds = new DataSet ();Sda. Fill (ds, "name ");
SqlDataAdapter sda2 = new SqlDataAdapter ("select * from titleauthor", con );Sda2.Fill (
Hardware environment: minicomputer IBM p670, storage: IBM shark F-20
Software environment: Operating System aix5.1 database Oracle9i
Theme: physical volume PV-> volume group VG-> logical Volume LV (type: Raw)-> Add tablespace
Procedure:
I. First, # lsvg-O // view all available volume groups
Datavg03
Datavg02
Datavg01
Datavg00
Rootvg
2. perform the following operations on the volume group used for database preparation:
# Lsvg-l datavg03
Datavg09:
LV name type lps
group, I only need to operate on it..
2. view the volume group information========================================================== ============================================
# Lsvg rootvgVolume group: rootvg identifier: 00098d9f00004c00000000f9b120700bVG state: Active pp size: 64 megabyte (s)VG permission: read/write total PPS: 542 (34688 megabytes)
Max LVS: 256 free PPS: 390 (24960 megabytes)
LVS: 9 u
port type
[Phyad N] \
[Xcvr internal | exteral] \
[Wol p | u | M | B | A | G | S | D...] \
[Sopass XX: YY: ZZ: AA: BB: CC] \
[Msglvl N]
How does one make ethtool settings permanently stored on network devices?
Solution 1: The ethtool settings can be saved in the/etc/sysconfig/network-scripts/ifcfg-ethx file to activate the options when the device starts next time.
For example, ethtool-s eth0 speed 100 duplex full autoneg off this command sets the eth0 device to full-duplex adaptive, and the spe
describes how to create twisted pair wires in several application environments. MDI indicates that this port is a cascade port, while MDI-X indicates that this port is a common port. 1. ethernet network adapter and Hub Connection: When a PC or other network device is connected to the hub, the network cable is a direct connection, and the two ends of the twisted pair must be a pair of connections. At this time, the hub is the mdix port, the PC is an MDI port. 10 Mbps network cable only needs one
be in contact with two Faces: Z and x, see: 0.71G This value is not arbitrary, they are actually the approximate value of the square root of 1/2. This will be clearer when we introduce the next model of the accelerometer.In the previous model we introduced gravity and rotated the box. In the last two examples we analyze the output value of the box in two cases, and the force vector remains the same. While this helps to understand how the accelerometer interacts with external forces, it is easie
The NAT static IP address of the centos virtual machine sets the host machine to centos 6.3 64-bit, and the three virtual machines to centos 6.3 64-bit. The Virtual Machine network connection mode is the default NAT mode. By default, virtual machines dynamically obtain IP addresses through DHCP. To build hadoop on three virtual machines, you need to build these three virtual institutions into a LAN that can access each other. Therefore, all three virtual machines are set as static IP addresses.
Modify network card cache to solve the problem of losing packets on Linux network cardBad packet loss for Linux NICProduction has a Linux device concurrency is relatively large, droped package more, especially when running the game packet, there is a serious loss of packet phenomenon, suspected network card performance is not enough, before the replacement of equipment can not be solved by software method, through some information on the Internet show that this phenomenon, It is also possible th
Table-level locks have a total of five modes, as shown below.Row-level exclusive lock (row Exclusive, short rx Lock)When we do DML, we automatically add the RX lock on the table being updated, or you can explicitly add the RX lock on the table by executing the lock command. In this lock mode, other transactions are allowed to modify other rows of data in the same
available volume groups
Datavg03
Datavg02
Datavg01
Datavg00
Rootvg
2. perform the following operations on the volume group used for database preparation:
# Lsvg-l datavg03
Datavg09:
Lv name type LPs PPs PVs LV STATE MOUNT POINT
Lvdata0316 raw 64 64 1 open/syncd N/
Lvdata0317 raw 64 64 1 open/syncd N/
Lvdata0318 raw 64 64 1 closed/syncd N/
Lvdata0319 raw 64 64 1 closed/syncd N/
Lvdata0320 raw 64 64 1 closed/syncd N/
Lvdata0321 raw 64 64 1 closed/syncd
= "% d, % d/N ";Printf (PF, A, * a, a [0], A [0], A [0] [0]);Printf (PF, A + 1, * (a + 1), a [1], A [1], A [1] [0]);Printf (PF, A + 2, * (a + 2), a [2], A [2], A [2] [0]);Printf ("% d, % d/N", a [1] + 1, * (a + 1) + 1 );Printf ("% d, % d/N", * (a [1] + 1), * (a + 1) + 1 ));}
The following example describes how to use a string pointer as a function parameter. The content of a string must be copied to another string, and the strcpy function cannot be used. The form parameter of the function
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.