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 video and AAC audio are encapsulated in some format and finally saved as a file for viewing by the user.
The first step is already part of
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
I was going to talk about the history of MP4 and some common video file formats. It is not necessary to think now, after all, this article is about the MP4 on-demand drag technical details. Introduction, preface God Horse seems a little superfluous.Speaking of MP4, we have to mention the concept of "Digital container format". Wikipedia gives an explanation:
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
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
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 char * filename, uint32_t flags)Function: Creat
Upload the FLV or MP4 file to the server and enter the correct address the HTTP protocol is used to access the 404 error that always appears "cannot find the page"? This means that the MP4 format file is not recognized by the server, which is why the corresponding MIME type is not set in IIS. So how do you set MIME types?If you open the MP4 file, you need to righ
MP4 page Playback code, there is no image of the sound solution ~About the Web play MP4 format video, find some plug-ins, here recommend Video.jsOfficial website: http://www.videojs.com/github:https://github.com/videojs/video.js/Demo:http://www.videojs.com/downloads/video-js-4.12.5.zipHow to use:① Introducing files: Assigning a SWF file for flash playback② Setting the video parameter (setting the
Because my itouc4does not support rmvb, you must convert it to MP4 if you want to watch cartoons online. Originally, I used mediaco der for conversion, but most recent versions often encounter errors. Some time ago I wrote a conversion method using AVS + x264. Now I want to remove AVS and use FFMPEG.
Use1. View rmvb attributes
Before conversion, check the file attributes, and check the resolution and other information. If the resolution exceeds 960*64
QSV is Archie Art Company under a genuine video acceleration format, so protected by copyright, it can only be played on the player of the Archie art. What is the way to convert the QSV format video that you want to download into a common MP4 format? This is to use the odd art products of the professional "QSV video format converter." Let's look at the method of operation.
First step: Convert QSV format to FLV format
QSV Video Format Converter
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
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, then downloaded through PHP, tested two methods (only...
Php cannot play the flv or mp4 files
There has always been a problem. Insus. NET wants to solve it and is busy, but cannot spare time. How can I enable my website to play MP4 videos? All of the preceding live video files are general. wmv,.flv,.avior .swfmedia videos. videos in the same format as those in MP4 cannot be implemented on the website. However, we have implemented Insus. NET last night. Now we will take some time to share this experi
User feedback with Chrome direct broadcast MP4, you can quickly play and drag, and the use of Flash Player to wait a long time to play.
The analysis:
First, about Chrome's quick play and drag
1. Chrome uses H5 's video tag to play
2, Chrome is very smart, if read MP4 file, found that Moov box is not in front of the file, will directly read the MP4 file tail,
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,
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.