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 when mp4settrackesconfiguration is called. The
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.
Freeswitch supports recording voice calls in WAV/MP3 format by default, but it is not supported for video recording, such as MP4 format, asteriskCommunityThere is an organizational unit. asteriskvideo enables you to record and play MP4 files on Asterisk. You can refer to freeswitch's audio recording method to add the ability to record videos to a certain file format, freeswitch introduces the media-bug voca
[A blog is only a record with poor technical skills. It is best to help visitors. I still hope that you will not give an axe to your mistakes or ambiguity. -- Preface]
The recorded information is not necessarily applicable only to MP4 containers. It is only found when the files of this type of containers are fixed.
1.Fourcc: "avc1" "h264" "h264 "...... What is the difference? From: http://msdn.microsoft.com/en-us/library/dd757808 (V = vs.85). aspx (
*************************************************************************************************************** ************Easywave Time: 2014.10.31Category: Linux application-mp4 video recording library mp4v2 transplant experience and brief introduction statement: Reprint. Please keep the linkNote: If there is an error, please correct me.These are the journal articles I studied ...*********************************************************************
To open the already installed format factory, we see that the format factory provides a very very many format conversion way, basically covers all! As shown in the picture:
As a demo, assume that this side we need to convert WMV format files to MP4 format files, the author clicks the box in the diagram to MP4 video column:
Open the file, the author randomly selected a relatively small WMV fo
1, for the installation of LIGHTTPD need to support MP4 pseudo-streaming media format, it is recommended not to the official download lighttpd installation files, to the plugin H264 streaming module official website, download the integrated installation packageHttp://h264.code-shop.com/download/lighttpd-1.4.18_mod_h264_streaming-2.2.9.tar.gz, 2, for the already installed LIGHTTPD needs to be patched to the existing environment, installation process re
These two days to do the video things found Nginx no MP4 video streaming module, today I added a bit, because before is compiled good, so I directly added!
Download
Copy Code code as follows:
#下载解压
wget wget http://h264.code-shop.com/download/nginx_mod_h264_streaming-2.2.7.tar.gz
Tar zxf nginx_mod*.tar.gz
Configuration add
Copy Code code as follows:
#查看编译参数
/usr/local/nginx/sbin/nginx-v
#进入nginx (ten
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 different, so brand and compatible_brands are requ
I prefer to download movies or videos to the mobile device to see I like to love strange art site to see (Archie art above are genuine video content and many are exclusive broadcast content), so I often download video above Archie art, but Archie video format is QSV ( Archie's own research and development of a video format, many mobile devices are not normal playback, need to convert all the video into the MP4 format, I tried a lot of QSV format conve
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 in 264 transfer forwarding to read RTSP forw
I just added a player to the page. The buttons didn't work. I don't know where the problem occurred. It was very depressing. So I collected the information and shared it with you, I hope this code can be used in my test.html to help you. You can use an absolute path such as c: \ test.html to access the video. However, you cannot play the video by accessing http: // localhost/test.html, I just added a player to the page, and the buttons didn't work. I don't know where the problem was. But I guess
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_filesize = 1024 m; // wangwen business, that is, t
Article Link: http://justcoding.iteye.com/blog/2110275Ckplayer, which is all called super cool FLV player, it is a software for playing video on the Web page, supported by the format of: HTTP protocol on the FLV,F4V,MP4 format, while supporting RTMP video streaming format playback, this player is characterized in that the user can define the player's style, such as Play/pause button, mute button, full screen button is called external image interface,
Download Depot_tools unzip, add to environment variableGo to cmd (admin) run gclient get Python and git,svn, set python environment variableCreate a new Foldermkdir Chromium CD chromiumSave the automate-git.py to the folder root directoryThen run the command:Set gyp_generators=ninja,msvs-ninjaset gyp_msvs_version=2013 set Gyp_defines=proprietary_codecs=1 Ffmpeg_branding=chromePython automate-git.py--download-dir=chromium--depot-tools-dir=depot_tools path--branch=2623 -- No-debug-build--force-b
Finding a reliable recording screen software is not easy. Some have time limit, some have watermark logo.Now I am more satisfied with a software named ice cream Screen Recorder, he has no watermark and no time limit.The only drawback is that the recording screen while not simultaneously recording the camera, after recording the file format is MVK.You will also need to download a format conversion tool to convert files in MVK format to MP4 files.Here i
'is set but not used [-Werror = unused-but-set-variable]../Nginx_mod_h264_streaming-2.2.7/src/mp4_reader.c: 376: 12: Error: variable 'stream _ id' is set but not used [-Werror = unused-but-set-variable]../Nginx_mod_h264_streaming-2.2.7/src/mp4_reader.c: In the 'stsd _ parse_vide 'function:../Nginx_mod_h264_streaming-2.2.7/src/mp4_reader.c: 529: 22: Error: variable 'level _ indication 'is set but not used [-Werror = unused-but-set-variable]../Nginx_mod_h264_streaming-
have been using Mpmovieplayerviewcontroller for network playback, recently downloaded the file and then local playback, found how to play is black screen. The local URL of Mpmovieplayerviewcontroller was later found to be unavailable [Nsurl Urlstringfrom] This method. Paste the correct code belowNSString *path1=[[nsbundle Mainbundle] Pathforresource:@ "fuck" ofType:@ " MP4"]; *url = [Nsurl fileurlwithpath:path1]; *VCPLAYVC = [[Yymovie
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. H264 Pure
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.