Label: Remember today go to Heavy, sort, sub-query, foreign key Make a watch, practice the feel CREATE TABLE LOL(Code int primary key identity (.),Name varchar (NOT NULL),Sex varchar (not null),The age int is not NULL,SG int NOT NULL,Wuqi varchar () NOT NULL,Dizhi varchar (max) is not NULL, ) INSERT INTO LOL values (..... ) -------as follows ( figure )Select*from LOL
Tags: Select *from lol--top keyword select top 3 *from lol--query first three rows select top 3 *from lol where age>22-add condition Select top 3 name, Wuqi from LOL where age>22----keyword DISTINCT query different items go to heavy select distinct name from LOL--Query diff
see that the video is being downloaded by segment, which verifies that the HTTP Dynamic streaming VOD method is successful.
4.2) Verify Live Success Launch the above installed Flash Media Live Encoder 3.2, choose Preset Custom, video selection H264,29.9fps, resolution 352x288, Code rate optional 3, 350,h264 can be set every 2 seconds a key frame, etc., choose MP3 do audio and so on. in the right stream to Flash Media server FMS URL: RTMP://YOURSERVERIP/LIVEPKGR, fill in the Stream column:
container configuration:Listen 1935;Max_connections 1000;PID Objs/edge.pid;Srs_log_file./objs/edge.log;Vhost __defaultvhost__ {}Configuration of the SRS cluster:Listen 1935;Max_connections 1000;PID Objs/edge.pid;Srs_log_file./objs/edge.log;Vhost __defaultvhost__ {mode remote;Origin 127.0.0.1:19350;}The 127.0.0.1:19350 in origin is changed to the socket that can provide the data source for the SRS server, and the SRS service that provides the data source can be made into a container for others t
JQuery selector details
1. Hierarchy selector-child element Selector
Alert ($ ("div> p"). length); // 2
// Traverse the matched elements layer by layerAlert ($ ("body> div> p"). length) // 1
// The Child div of the body is located, and then the child p is located.
2. Content Filter-has
Var a = $ ("# dnf p: has (. lol)"). length // This cannot be obtainedVar B = $ ("# dnf: has (p): has (. lol)")
1. Hierarchy Selector-child element SelectorAlert ($ ("div>p"). length);//2Iterate through the conforming elementsAlert ($ ("body>div>p"). Length)//1Will locate the child div of the body, and then position the child p2. Content Filter-hasvar a = $ ("#dnf p:has (. lol)"). Length//This is not availablevar B = $ ("#dnf: Have (p): has (. lol)"). lengthvar c= $ ("has (. lol
to the console. Copy the information and save it as a. SDP text file suffix. It can also be used to receive the RTP stream. After "> test. SDP" is added, you can directly Save the SDP information as text.
2.2. Play the RTP that carries the H.264 bare stream.
[Plain]View plaincopy
Ffplay test. SDP
3. rtmp3.1. send the H.264 bare stream to the rtmp server (flashmedia server, red5, etc)
Run the command to send the "Chunwan. h264" of the H.264 bare stream to the rtmp URL where the host is localho
. SDP" is added, you can directly Save the SDP information as text.
2.2. Play the RTP that carries the H.264 bare stream.
ffplay test.sdp
3. rtmp3.1. send the H.264 bare stream to the rtmp server (flashmedia server, red5, etc)
Run the command to send the "Chunwan. h264" of the H.264 bare stream to the rtmp URL where the host is localhost, the application is oflademo, and the path is livestream.
ffmpeg -re -i chunwan.h264 -vcodec copy -f flv rtmp://l
1. Hierarchy Selector-child element SelectorAlert ($ ("div>p"). length);//2Iterate through the conforming elementsAlert ($ ("body>div>p"). Length)//1Will locate the child div of the body, and then position the child p2. Content Filter-hasvar a = $ ("#dnf p:has (. lol)"). Length//This is not availablevar B = $ ("#dnf: Have (p): has (. lol)"). lengthvar c= $ ("has (. lol
This blog is mainly read by a Daniel's blog wrote, the Daniel wrote the database connection pool implementation, looked at his code, suddenly feel very cow. So here I also recorded my own demo, although not advocating the repetition of the wheel, but many times we are in the process of repeating the wheel to improve the technology, so here I repeat the next roundThis blog is mainly about the Java dynamic agent of a demoThe scenario is as follows:In the LO
The first step: The download of KK Video Recorder
First download KK video recorder, download complete direct installation run.
Step Two: Select recording mode
(Note: Do not use the LOL box; do not use the F9 shortcut, press F9 in the game will cause LOL game lock screen and appear red border)
1. If you are an XP system, KK Video mode Select "Full screen mode" or "regional mode",
variable type cannot be changed after it is declared. s = a; student = s; a = 10.1f ;}
However, in actual development, we often face the following common problems:
1. In a large program, only one or a few places (no more than three places) need to use one or some types (such as Student ), these types are no longer needed elsewhere. Declare a Student type separately. The amount of code required may exceed the amount of code used for this type. The input-output ratio is not cost-effective.
2. In
throw 'not a number';} if (x> 0) {return x ;}else {return-x ;}};3.5 return
There is a mechanism for automatically adding semicolons at the end of a line in the JavaScript engine, but this mechanism may also make you stick to it. (Refer to the return project of Apple over the past few years)
function lol(){ return{ name : 'lol'}; } lol(); //{nam
ObjectiveIn the previous article, we learned the adapter mode and bridge mode of the structural mode. This article is to learn the structure of the pattern of the appearance of the pattern and adorner mode.Appearance modeBrief introduction
The appearance mode hides the complexity of the system and provides the client with an interface that the client can access the system. This type of design pattern is a structured pattern that adds an interface to an existing system to hide the comple
Objective
In the previous article, we learned the adapter mode and bridge mode of the structural mode. This article is to learn the structure of the pattern of the appearance of the pattern and adorner mode.Appearance mode
Brief introduction
The appearance mode hides the complexity of the system and provides the client with an interface that the client can access the system. This type of design pattern is a structured pattern that adds an interface to an existing system to hide the complex
, UDP may cause packet loss. To avoid this, you can add the-S parameter (for example,-s 320x240) to reduce the resolution.2.4. encoding: H.264, released RTP
The following command is used to obtain the camera data-> encode it as H.264-> encapsulate it as RTP and send it to the multicast address.
ffmpeg -f dshow -i video="Integrated Camera" -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -f rtp rtp://233.233.233.223:6666>test.sdp
Note 1: To increase the encoding speed of libx264, the-pre
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.