skyseraph Blog Park home Bo asked flash new essay contact subscription management essay-190 article-0 Comment-408 "Media" h264-mp4 format and extract H264 SPS, pps and bitstream in MP4 file c2> "Stream Media" h264-mp4 format and e
h264-mp4 format and extract H264 SPS, pps and bitstream in the MP4 file
Skyseraph APR 1st 2012
Email:skyseraph00@163.com First, MP4 format basic concept
MP4 format corresponds to Standard MPEG-4 standard (iso/iec14496)
Second,
A table that indicates the timing and physical layout of the Sampe.
Chunk
A track of a number of sample units composed of.
three, MP4 package format structure diagram 1 Example Sample
From Android Mediarecoder video recording, the platform for Huawei T8300 and TCL968, with Mp4info view as follows:
use Eseye to view the following: The analysis by Winhex is as follows:
2 box structure diagram
Next, some of the useful
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-r
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
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;
This article was reproduced from: http://www.cnblogs.com/chutianyao/archive/2012/04/13/2446140.html
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 vide
Php+ffmpeg implements the automatic transcoding of video into H264 standard MP4 file,
Configuring the php.ini File
File_uploads = on;//whether to allow the switch to upload files over HTTP. The default is on is open upload_tmp_dir;//File upload to the server where temporary files are stored, if not specified will be used the system default temporary folder Upload_max_filesize = 1024m;//Wang Wen Business, th
The MP4 recording program is modified according to the mpeg4ip-1.5.0.1 \ Server \ mp4live \ file_mp4_recorder.cpp file in mpeg4ip. The program supports h264 + AAC (raw stream) writing method, using the dynamic library mp4v2-2.0.0, do not use the older version of mpeg4ip, because it will be efficient when recording large files, the following describes some mp4v2 interfaces.
Mp4filehandle mp4create (const ch
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
To use mp4v2 for MP4 video recording, prepare the following information:
1. Obtain the mp4v2 source code and compile it into a library file. For mp4v2 compilation, see the previous article.Android compiles mp4v2 2.0.0 to generate a dynamic library;
2. Obtain the SPS and PPS data in h264 data. If not, you can view the previous article.Click the open link;
3. Obtain audio decoding information, which is used w
PHP + FFMPEG Enables automatic Transcoding of videos into H264 standard Mp4 files,
Configure the php. ini file
Copy codeThe Code is as follows:File_uploads = on; // whether to allow file upload over HTTP. ON is enabled by default.Upload_tmp_dir; // upload the file to the place where the temporary file is stored on the server. If it is not specified, the default Temporary Folder will be used.Upload_max_files
Transferred from: http://cache2.weidaohang.org/h/index.php?q=aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemh1cWluZ183MzkvYXJ0aWNsZS9kZXRhaWxzLzY2MzY4NTc=Has been more confused a problem, all said FFmpeg function is very powerful, but he has not been to study, today finally saw a bit of its strong place!First of all, of course, the Linux compiler and installation success FFmpeg, about the specific installation process, you can refer to my previous blog post!Here is a direct introduction of how to put.
whether the installation is successfulFfmpeg
If you see the following content, the installation is successful:
The Code is as follows:
Ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developersBuilt on Dec 17 2013 23:32:40 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)Configuration: -- enable-libx264 -- enable-gplLibavutil 52. 48.101/52. 48.101Libavcodec 55. 39.101/55. 39.101Libavformat 55. 19.104/55. 19.104Libavdevice 55. 5.100/55. 5.100Libavfilter 90.100/90.100Libswscale 2. 5.101/2.
http://blog.csdn.net/xst686/article/details/9763995To restart httpd after adding a streaming media extensionFLV Streaming Media
12
wgethttp://people.apache.org/~pquerna/modules/mod_flvx.c /usr/local/Apache/bin/apxs-C-i MOD_FLVX . c
Httpd.conf Join
12
LoadModuleflvx_module modules/mod_flvx. soAddHandler flv-stream. FLV
MP4 Streaming Media
123456
wgethtt
Nickname: Marine fish 1001 Date: October 25, 2014-October 31, 2014
1. Task completed this week: noise suppression for audio recording. pcm+h264 package MP4, last week for audio g711a, and the parameter is not ideal for synthesis.
2. Task not completed this week: Timestamp issue
3. Next week plan: Find timestamps related literature
4. Key technical Point Description:
Platform: Linux HI3515
Cross compiler: Ar
5.4 environmentCopy the Code code as follows:TAR-XJVF x264-snapshot-20120718-2245-stable.tar.bz2#进入解压后的源文件目录CD x264-snapshot-20120718-2245-stable/./configure--prefix=/usr/local--enable-sharedMakeMake install
//centos 5.4 Install the source installation ffmpeg with h264 extension TAR-XJVF ffmpeg-2.1.1.tar.bz2 //Enter the extracted directory CD ffmpeg-2.1.1 ./co nfigure--ENABLE-GPL--enable-libx264 Make Make install //Reload configuration Lcfonfig
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.