output.
Example: ---- encoding exampleTranscodeThe input stream and send it to a multicast IP address with the associated sap announce:% VLC-vvv input_stream -- sout '# transcode {vcodec = mp4v, acodec = mpga, VB = 800, AB = 128, deinterlace}: Standard {access = UDP, MUX = ts, url = 239.20.12.42, SAP, name = "teststream "}'
Display the input stream, transcode it and send it to a multicast IP address with the associated sap announce:% VLC-vvv input_st
set the server. Here, I click "streaming" to complete server settings.
Client operations
Click "media-Open Network streaming" and enter"UDP: // @ 1234"Click play.
Interface operations are relatively simple, but scripts are reliable if such operations are often performed.
Command Line Operation Method
Server (172.16.1.1):
VLC-vvv sample1.avi -- sout UDP:172.16.1.100:1234-- TTL10
Client (172.16.1.100):
Vlc udp://@: 1234
2
,
RTP
Method
Although there areTCPOfRTPBut packet
The transcoding function was added to the video forwarding program yesterday: the input (Stream/file) is transcoded into the video stream and audio stream in the specified format.
After research, we found that the vlc comes with the transcoding function, but the parameter settings are troublesome.
Our specific requirements are:
Input: rtsp stream or udp multicast data (there is no difference in setting transcoding parameters)
Output: H264 video (644 k) + mp2 audio (56 k), total bit rate 700 k,
This article describes how to insert a Realplay control to enable playback of a media file, and the code runs as shown below:
The following is a brief introduction to the implementation steps:
First, the establishment based on the dialog box program
Add ActiveX controls RealPlayer G2 Control to the dialog box
(Engineering-> Add Engineering->compontent and controls->registed ActiveX controls).
Third, in the dialog box to add the source program shown in the button and static text to control
' #std {access=http{user=username,pwd=password},mux=ts,dst=:listen_port} 'Example:
Vlc-i "Dummy"-l--no-inhibit pikesi.mkv--sout ' #std {access=http{user=k3,pwd=k3},mux=ts,dst=:6000/live.ts} '
Description:(assuming the server IP address is 192.168.1.6)The client player opens Url,http://k3:[email protected]:6000/live.ts to play.If {USER=K3,PWD=K3} is removed from the server startup code, HTTP authentication is not required when the client plays."Transcoding"The media file may not be
artificial selection operator: Set up immigrant operator, that is, the optimal individual in the source population replaces the worst individual in the target population, and achieves the goal of multi population coevolution. The function of the artificial selection operator is to select the optimal individual in various groups and put them into the elite population to keep the optimal individuals from being destroyed and lost.
MPGA determines the t
corresponds to the Intel Pentium 4 series.In English slot means "slot", Socket is "socket". As a result, the CPU interface, which is named slot, is a long slot (like the expansion slot on the motherboard, so called "slot", the CPU inserted on it is also a long card-like, there are a lot of "gold fingers"; The interface named by the socket must be a socket, the corresponding CPU is flaky, With a lot of pins.
Tip: How do I know what type of CPU socket is?The CPU sockets on the motherboard will b
to low quality
. Wav
Wave (waveform) format is developed by IBM and Microsoft. All computers running Windows and all Web browsers (except Google Chrome) support it.
. Wma
WMA format (Windows Media Audio), superior quality to MP3, compatible with most players, except iPod. WMA files can be transmitted as continuous data streams, which makes it very useful for network radio stations or online music.
. Mp3/. mpga
An MP3 file is actually the audio part o
output of command execution is as follows:
993280 + 0 records in
993280 + 0 records out
508559360 bytes (509 MB) copied, 179.995 seconds, 2.8 MB/second
6. Insert the CF card into the motherboard slot of the running machine, start the running machine and enter the BIOS, and adjust the Startup Device
Card to start the operating system. For device numbers, see the following description.
Important Notes about device numbers:
1) if the external memory only flash card (remove the hard disk and opti
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.