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
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 )
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
This is a creation in
Article, where the information may have evolved or changed.
Life goes on and on go Go go!!!
A little busy, a little slack, continue.
About the static file server implemented by Golang has been written before:Go combat –golang Implement static file server (file view, file upload,
Storm AV 2015 do not play MP4 file
Cause analysis
This problem is estimated because this file is more special, so we need to make adjustments.
Solutions
In the Start menu, run the Storm audio integrated settings. Next, in the task on the left side of the open window, select Mpeg-4 decoding Settings, and click the Next button. Then, in the open window, chang
, you must first have a qsv format conversion tool.
On the Internet, we can see that many people are looking for methods to convert qsv to MP4. However, due to the special qsv format, few tools can convert qsv files, if you really want to convert qsv to another format, you can try the quick Video Converter. In the latest version, the software has added the conversion functions of qsv and qlv formats, that is to say, this is the only tool found by xia
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
1, the web player can not play the problem
Coding problems. Need is H.264 encoding, not this encoded in some Flash version or OS will not put out video problems, you can use 3GP, MP4 Video Conversion Wizard (Brvideoconverter) transcoding.
2, can not play at the bottom of the problem
MP4 video has metadata, usually at the end of the file, and Flash read this
http://blog.csdn.net/qq_19079937/article/details/43191211Inside the MP4 structure, the HDLR field (specifically in ROOT->MOOV->TRAK->MDIA->HDLR) contains the stream is a video or audio or letter.FFmpeg Code:In the FFmpeg code, use the Codec->codec_type in the stream to determine what kind of flow the stream is.The 12th part of the ISO_IEC_14496 International standard is marked as follows:In the MP4
The specific steps for the server to increase the MIME type mapping setting in MP4 format are: Right-click Computer Management Services and Applications Internet Information Services (IIS) Manager select the IIS Web site that you developed click Add in the upper right corner of the MIME type under IIS options. Enter ". mp4" in the "Extension" box, enter "Application/octet-stream" in the "MIME type" box, an
Calculate the playback duration of an MP4 file. You can obtain the timescale and duration values in the mvhd box:
Playback duration = duration/timescale
The Unit is seconds ).
The following describes the structure of mvhd.Movie header atoms-mvhd
Movie header atom defines the features of the entire movie, such as time scale and duration. Its atom type is 'mvhd '.
The mvhd structure is as follows:
The fields
When you use OPENCV to process a video, you cannot open a. mp4 file. Later the solution is to use Ffmpeg.exe to transcode the MP4 file to AVI file, and then processed. However, the transcoding process is relatively slow. Later view OpenCV source code, found that it is also u
A background:
Users need to watch the video through flash or mobile phone, and most cameras are RTSP protocol, so need to do a relay.
Resources:
http://blog.csdn.net/firehood_/article/details/8813587
http://blog.csdn.net/firehood_/article/details/8783589
These two articles detail the Mp4v2 save the file and the 264 files through the rtmp live, the two aspects of interest can be directly read the two articles. This article is only read the two articles
For an example of a MP4 length of 10 seconds, the structure may be as follows:
Type:ftyp, size:24Type:mdat, size:8884701Type:mdat, size:136125Type:moov, size:4656 1 Ftyp
A Ftyp describes the type of file, indicating which format it conforms to. It's usually MP4 format. There are many types of media that conform to this document, and the type of box entry is diffe
wrapped. Default value is 0.
This option is useful to avoid to fill the disk with many segment files, and limits the maximum number of segment files WR Itten to disk Towrap. (The number of slices is set to start overwriting, if set to 0 will not overwrite, the default value is 0.) This option avoids storing too many slices on disk and can limit the number of slices written to disk.
' Start_number number '
Start The playlist sequence number from number. Default value is 0. (The value of sequence
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.
How to play the rmvb mp4 mkv video file in Fedora 22?
This is a problem that occurs after the Fedora system is installed. There is a tutorial on how to solve the problem of playing rmvb video in Fedora 21 on the Internet. In fact, Fedora 22 is also applicable, but Fedora 22 changes Yum to dnf, so you only need to change the command.
Simply install the rpmfusion source.
Sudo dnf install -- nogpgcheck http
Libswresample 0. 17.104/0. 17.104
Libpostproc 52. 3.100/52. 3.100
Hyper fast Audio and Video encoder
usage:ffmpeg [Options] [[infile Options]-I infile] ... {[outfile options] outfile} ...
Use-h to get all help or, even better, run ' mans ffmpeg '
PHP calls ffmpeg transcoding video
Copy Code code as follows:
$cmd = ' ffmpeg-i uploadfile/video/test.wmv-c:v libx264-strict-2 uploadfile/mp4/test.mp4 ';
EXEC ($cmd, $st
Make sure that IIS is healthyThe specific steps for the server to increase the MIME type mapping setting in MP4 format are:Start > Control Panel > Administrative Tools > Internet Information Services (IIS Manager), MIME type > Add, enter. mp4 in the Extension box, enter "application/" in the MIME type box in the. Octet-stream "and then OK.The specific steps for the server to increase the MIME type mapping s
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.