1. Demand: e:\\ brother has a wife. mp4 copied to Copy.mp4 in the current project directorybyte stream Four ways of copying files :• Basic byte stream read and write one bytes at a time• Basic byte stream reads and writes a single array of bytes at a time• High-efficiency byte stream read and write one bytes at a time• High-efficiency byte stream reads and writes a single array of bytes at a time2. code example:1 Packagecn.itcast_06;2 3 ImportJava.io
Recently in the use of AS3 write a Flash player, found that the same is H264 encoded MP4 files, and some can be loaded a little to start playback, and some must be all loaded to broadcast.
With the local player (Potplayer, Storm audio, etc.) open the view, found that the code is the same:
The left side of this must be all loaded to play, the right is a load can be broadcast.
Then asked a colleague, said may be Ken head information of the data orde
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
The Chrome browser supports HTML5, which supports the native playback portion of the MP4 format (without the use of plugins such as Flash).Why part of the MP4? MP4 has a very complex meaning (see HTTP://EN.WIKIPEDIA.ORG/WIKI/MP4), and the common man's understanding of MP4 is
Build an mp4/flv Streaming Media Server Based on tengine in CentOS6 (
Location ~ \. Mp4 $ {Root/mnt/media/vod;Mp4;Limit_conn addr 20;Limit_rate 200 k;}
Location/hls {# Serve HLS fragmentsAlias/mnt/media/app;}
Access_log logs/nginxflv_access.log access;}}---------------- Nginx configuration file --------------
4. Convert your movies into
Reprint Address: http://www.cuplayer.com/player/Help/2011/0625/83.htmlMaybe you're wondering why I uploaded an flv or MP4 file to the server and entered the correct address through the HTTP protocol to access the always "can't find this page" 404 error? This indicates that the MP4 format file is not recognized by the server, in fact, this is the reason why the corresponding MIME type is not set in IIS. So h
Monkey original, reprinted. Reprinted Please note:Reposted from Cocos2D Development Network-cocos2dev.com. Thank you!
Original article address:Http://www.cocos2dev.com /? P = 545
A long time ago, I wrote a 2dx video tutorial for playing MP4 videos. Some netizens reported that it was no longer usable. This evening I wrote a simple 2dx video class. Cocos2dx 3.0 is used.
Class description:LHVideoPlayerImplCpp. h/mm // playback
Send a summary post for the information used in the previous period.
The first is the most convincing ISO standard documentation:
ISO/IEC 14496-12, coding of audio-visual objects-ISO base media file format
ISO/IEC 14496-14, coding of audio-visual objects-MP4 File Format
Here are a full set of standard documents related to ISO/IEC 14496 and MP4/AVC file formats.
Several collected blogs:
What file is MP4?
MP4 is a very popular video format, I believe that everyone has seen the MP4 format of the video or film it? Today, many of the movies circulated online are MP4 format, with its good versatility in any media player can be smooth playback. But in fact, from the principle,
One, H264 video encoded into MP4 file
See: H264 video encoded into MP4 file
See: Compilation of Mp4v2 under VS2010 and its use in projectsRecently do the project needs to be H264 file encapsulated as MP4 file, from the Internet to find the MP4V2 library, downloaded down do not know where to start, the official website https://code.google.com/p/mp4v2/in the comp
named Transmageddon, which allows you to easily create formats such as mp4, Ogg, and QuickTime. However, if you have a large number of videos that need to be converted, it is easier to use the mencoder program. mencoder supports almost all video formats, and supports a wide range of adjustable parameters and high speed.
First, you need to install the mencoder program:
$ Sudo apt-get install mencoder
View the Video and Audio Encoder supported by your
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; default: $ctype="application/force-download
After the video is uploaded successfully, the returned m3u8 file cannot be found, but the uploaded MP4 file can be found. How can this problem be solved? For example, if the m3u8 file cannot be found after the upload is successful, you can find the MP4 file. Previously, it was normal and suddenly failed.
After the video is uploaded successfully, the returned m3u8 file cannot be found, but the uploaded
Nginx integrates mp4 and flv modules
Note:After nginx 1.1.3, mp4 and flv modules are supported by default, and no third-party modules are required.Procedure:1: decompress, compile nginx, compile and add mp4 and flv modules:# Tar-zxvf nginx-1.3.14.tar.gz# Cd nginx-1.3.14#./Configure#. /Configure -- prefix =/usr/local/nginx -- user = nobody -- group = nobody -- wit
Maybe you're wondering why I uploaded an flv or MP4 file to the server and entered the correct address through the HTTP protocol to access the always "can't find this page" 404 error? This indicates that the MP4 format file is not recognized by the server, in fact, this is the reason why the corresponding MIME type is not set in IIS. So how do you set the MIME type?If you open the
This article describes how PHP converts a video to MP4 and obtains a video preview image. it involves php video file operations, for more information about how to convert a video into MP4 and obtain a video preview, see the example in this article. Share it with you for your reference. The specific implementation method is as follows:
The code is as follows:
The above is the PHP method for converting a
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 mp4 files) by mixing audio and video data, while MediaExtractor is the opposite.
The company's project needs to merge one image and one MP3 audio file into MP4 and play the video on HTML5. It was originally thought to be a very simple matter, so a simple FFMPEG command was quickly written for execution.
FFmpeg-I 2.mp3-F image2-I 3.jpg-acodec AAC-strict-2-vcodec libx264-ar 22050-AB 128 K-AC 2-y 4.mp4
At the beginning, the merged MP4 video can
With the development of smartphone and the development of app, the demand of MP4 format is reduced. However, the MP4 format still has its own needs, such as the iphone's own video player and itunes need the video is MP4 format. Change the video into MP4 format so you can easily watch it on other Apple mobile devices.
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.