Live555 supports most single-Stream files. It only supports *. mpg, *. MKV, and *. webm audio/video hybrid files. In fact, my goal is to expand the supported formats, such as Avi, so I will analyze the processing of MPG files.
MPG file processing involves many classes, and the relationships between classes are complex.
Html production simple framework webpage 2: implement the operation steps and source file download of your audio and video station (you can play the video playback code of mp4, avi, mpg, asx, and swf files ),
The new video playback function is as follows:
The left.html code of the left-side webpage is as follows:
A definition list
Playing videos in right6.html will be better. MP4 video files
Tested.
Copy codeThe Code is as follows: Does the code mean I have to say it? The Windth width and height are high. Replace the "video address" with your own video address.
In fact, we recommend that you do not use mpg videos. The files are relatively large. We recommend that you use flv videos with a small size and fast file playback.
First, briefZip is used to compress and decompress files. The classes used are: ZipEntry ZipoutputstreamSecond, the specific implementation of the CodePackage Com.joyplus.test;import Java.io.file;import java.io.fileinputstream;import Java.io.filenotfoundexception;import Java.io.fileoutputstream;import Java.io.ioexception;import Java.io.inputstream;import Java.util.arraylist;import Java.util.list;import Java.util.zip.zipentry;import Java.util.zip.ZipOu
Common Linux Compressed file extensions*. Z Compress compressed files (has been replaced by gzip)*.gz gzip Program Compressed files*.BZ2 BZIP2 Program Compressed files (better than gzip, but only for one file to compress)*.tar Tar program packaged data, no compression (using tar to package a
we can double compress the hibernation file to minimize the amount of disk space that the hibernation file takes up without losing the hibernate feature. Of course, we also need to pay attention to this, reasonable resolution due to the size of the sleep compressed file is not suitable for the blue screen to appear pro
Microsoft (r) cabinet maker-version 5.1.2600.2180
Copyright (c) Microsoft Corporation. All rights reserved ..
Makecab [/V [N] [/d Var = value...] [/L dir] source [destination]
Makecab [/V [N] [/d Var = value...]/F directive_file [...]
Source file to compress.
Destination File name to give compressed file. If
Commons-compress: For more information about zip files (compression and decompression), see.
Apache Commons Compress is a class library for compressing and decompressing files.
You can operate files in ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2 formats with powerful functions.
Here, we will write two methods to Compress files into zip files and de
Commons-compress: For more information about zip files (compression and decompression), see.Apache Commons Compress is a class library for compressing and decompressing files.You can operate files in ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2 formats with powerful functions.Here, we will write two methods to Compress files into zip files and decom
We can see the Yahoo homepage's rating in yslow. Today I will introduce how to implement "compress components with gzip. In fact, I personally think this is not what the page reconfigurator is doing, but it also serves as a small branch of front-end development. We also need to know about page restructures, during page reconstruction, be sure not to make your page bloated. A considerable number of programmers may not have taken this issue into conside
How does php compress all files in a folder into a zip file? How does php compress all files in a folder into a zip file? For example, my localhosthas a testfolder with many files and folders in it. how can I pack all test.zip files into test.zip ?, How does PHPcodeFunction php com
File compression and packaging in linux --- compress, gzip, zcat, bzip2, bzcat, tar, find, tarfile, tarball, --- compresszcatCommon Linux compressed file extensions
*. Z compress compressed files (replaced by gzip)
*. Gz gzip compressed files
*. Bz2 bzip2 compressed files (better than gzip, but only one
1. Please download my prepared zip.php tool class, download and unzip, put the files inside the corresponding directory, I was placed in the virtual directory in the Include folder.
2. Add the following code to your PHP file
Copy CodeThe code is as follows:
Require_once "./include/zip.php";
$zip = new Phpzip ();
$zip-Createzip ("folder directory address to compress", "compressed
does not confuse variable names
},
findnesteddependencies:true,
name: "Js/main", Out
: ". /js/main-built.js "
})
Here are a few key attributes:
BaseURL: All modules (like JS) are relative to this path.
Optimize: The way to optimize the script file is in the following 5 ways of taking values.
Uglify: (default) compressed with UGLIFYJS.
UGLIFY2: Compressed with UglifyJS2 (2.1.2+).
Closure: Use Google's closure Compiler simpl
Many friends think that files can only be compressed once, in fact, in addition to using the hibernation file itself parameter settings to make the dormant file smaller, we can also use the system's own compression function to the file two times compression.
Operation Steps:
Right-click on the Hiberfil.sys file and c
encoding
ZipArchiveInputStream(InputStreaminputStream,Stringencoding, booleanuseUnicodeExtraFields, booleanallowStoredEntriesWithDataDescriptor)Create an instance using the specified encoding
Parameters: inputStream -The stream to wrapThis construction method does not indicate what the InputStream parameter is, and tries it on the Internet, using:Val ZipFile =NewZipFile (source, sourcecharacters) var entries=ZipFile.getEntriesentries.foreach (Entry=if(Entry! =NULL) {
I. Reminder: The following operations will delete the database. Please back up the database files on your own in advance.
2. Three files are required. The file names and content of the three files are as follows:
File 1: Mysql_Drop_DataBase.txt. The content is as follows:
Drop database yourdatabase;
File 2: Mysql_Create_DataBase.txt. The content is as follows
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.