. Parameter Adjustment for some files
For some rmvb or MKV, the resolution is relatively high, so you need to adjust the transfer to itouch. You can use the-S parameter in FFMPEG:
ffmpeg -i 01.rmvb -acodec copy -vcodec libx264 -b 560k -s 960x640 -f mp4 01.mp4
960x640 needs to be calculated by yourself and adjusted in proportion
Intercept by Time:
ffmpeg -i 01.rmv
You can use the File class to batch Delete duplicate files in a File, for example, haokan (22.16.mp4, haokan (32.16.mp4,
1 public class HH {2 public static void main (String [] args) {3 String s = "he is a boy"; 4 int result = s. indexOf ("boy ");I am using the indexOf () method;5 if (result> = 0) {6 System. out. println ("boy is part of he is a boy"); 7} else {8
Php package websites and compress them into zip files online, and php package and compress zip files
This article introduces how to package php websites and compress them into zip files online. The content of this article is as fo
Author: King of songs
After completing the mobile phone player project, I have to say goodbye to the Battle of manager Zhu, which will be developed in Beijing for a few months. Prepare
After finishing the 3GP, FLV, and AVI formats, We can summarize the hard work of several months and provide some reference for later users.
1. Overview
All popular file formats are supported by large companies. FLV benefits from the online video sharing trend promoted by Adobe, while Avi is Microsoft's first rif
Today in the FTP upload a mp4 file, found that the player can not play, find a local file to replace the found to play normally, the charm network for this in the browser directly enter the MP4 URL found unable to display the Web page, and then suspect that the server is a problem, may not add the format of this video support.So go to the server and open IIS and add the MIME type property.650) this.width=65
In the past few days, the SQL server data compression function has been tested. By enabling compression for Data Warehouse tables, the disk space is greatly reduced, and query performance and backup speed are improved. However, the data compression function of SQL Server is available only for the Enterprise Edition. The Standard Edition cannot be used.
After checking through the Internet, Rea hat provides a similar tool, SQL storage compress, and cla
using MP4V2 to synthesize h264+aac mp4 files
Recording program to add new features: Record CMMB TV shows, our cards are sent out of the RTP stream (H264 video and AAC audio), the recording program to do the work is:
(1) Receiving and parsing RTP packets, separating out H264 and AAC data streams;
(2) H264 video and AAC audio are encapsulated in some format and finally saved as a
file, then there will be a "moov" type of box (Movie box), it is a container box, The sub Box contains the media's metadata information, and the MP4 file's media data is contained in the "Mdat" type of box (Midia Data box), and the box is container box, which can have multiple You can also not (when the media data all refer to other files), the structure of the media data is described by metadata.
4
Rea Hat provides a similar tool, SQL Storage Compress, and claims to be able to achieve a compression ratio of 90%. SQL Storage Compress provides a 14-day version. After being downloaded, The HyperBac Control Service is started. This service is used with Windows I/O Manager to compress or decompress SQL Server read/write requests, without affecting SQL Server use
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
Php cannot download flv files or mp4 files. if you want to transmit the flv playback address or mp4 playback address through POST, you can directly download the files. it is easy to download and directly receive POST data. the format of POST data is similar: a. com1.flv, the
First, import the associated. jar file
Compile ' com.googlecode.mp4parser:isoparser:1.1.21 'You can also use the download jar package
After the association is complete, use the following code to implement the merge
public class MergerMp4 {
public void MergeMP4 () {
list
Add files that need to be merged Filelist.add ("/sdcard/video/20161122135659.mp4");
Filelist.add ("/sdcard/vid
Please refer to the question of downloading MP4 files in PHP. the file download is incomplete.
function dl_file($file){ $len = filesize($file); $filename = basename($file); $file_extension = strtolower(substr(strrchr($filename,"."),1)); switch( $file_extension ) { case "mp4": $ctype="video/mp4"; break;
Www. fire-rain.comblogFFMPEG_H264_MP4PHP + FFMPEG automatic transcoding H264 standard Mp4 File recently made an online teaching network project, need to upload any format of video automatic h264 standard video, using html5 playback. Finally, PHP + FFMPEG is used for implementation. Here we will share our detailed solutions with you! Configure ph
Http://www.fire-rain.com/blog/FFMPEG_H264_MP4 PHP + FFMPEG automatic transcoding H264 standard
How to extract and generate mp4 files in AndroidWith the gradual popularization of Android 4.4 and later versions, the MediaExtractor class introduced by Android 4.1 and the MediaMuxer class introduced by Android 4.3 can finally begin to officially "glow and Heat. MediaMuxer is mainly used to generate multimedia files (such as
How does php output mp4 files that can be directly played by google? if we put an MP4 file on the server and open it in google, the browser will watch the mp4 file online by default.
However, files are often not stored so naked. if you use php to output
Recently encountered such a problem, the site of the MP4 can not play-every click on the play will produce 404 of errors (such as). This problem is a bit strange, because the other files on this server can be executed normally, such as XML, JPG, aspx and other files, but only mp4 f
Newly installed FEDORA21 workstation, the first thing to solve the player playing MP4, RMVB files. When you open the default player to try to play a MP4 file, you will be prompted for a missing xxx, prompt you to search, click "Search", search out a lot of things, click "Install". Everything seemed to be going very well, but everything was in vain. When you try t
FFmpeg is a powerful video and audio codec tool in Ubuntu. X264 can encode high-quality H.264 videos. iPad must be H.264 or MPEG-4 encoded for normal playback. Since the copyright aspect has not been determined, although many websites in China are using h. 264 encoding, but may be subject to copyright issues in the future. Therefore, Ubuntu official source does not provide h by default. 264 encoding, which requires us to manually compile and install FFmpeg h. 264 support to encode
: This article mainly introduces nginx development (2) how to configure online playback of mp4 files. For more information about PHP tutorials, see. 1: The nginx folder Traversal function is enabled in the first step.
Vi/usr/local/nginx/conf/nginx. conf # Edit the configuration file and add the following content under http:
Autoindex on; # enable nginx directory browsing
Autoindex_exact_size off; # the
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.