Recently the company in the country double monitoring a video mp4 on-demand, later usability has not been very good, download detailed data analysis under, found that a lot of 5s even if the failure of the situation, asked the two people said is because 5s did not load the first keyframe so failedHere's the problem:1. Where is the first keyframe in this 256M mp4 file, which means the user needs to download
Play video with HTML5, the most popular video format is non-MP4, all the latest browser support;MP4 MPEG 4 files with the H + + video encoding and AAC audio encoding;Previously done a video of other encoding format into the MP4 program, the quality of the conversion can be controlled, the worse the quality, the smaller the video, so you can turn a few g of video
SWF is an interactive animated file format that requires Adobe Flash player to be installed in order to open a SWF file. So how do you convert your downloaded SWF file to a common MP4 format? We'll use the SWF format converter, which enables you to swap SWF for a common video format MP4, as follows:
Tools/raw Materials
SWF Format Converter
http://pan.baidu.com/share/link?shareid=519110uk=3241161103
Meth
First, import the associated. jar file
Compile ' com.googlecode.mp4parser:isoparser:1.1.21 'You can also use the download jar package
After the association is complete, use the following code to implement the merge
public class MergerMp4 {
public void MergeMP4 () {
list
Add files that need to be merged Filelist.add ("/sdcard/video/20161122135659.mp4");
Filelist.add ("/sdcard/video/20161122135810.
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.
Canon and other high-definition SLR now more and more popular and more advanced technology, users in the use of the same time, there will inevitably be data loss, etc., today encountered a shooting wedding customers mistakenly operation will canon 80D machine in the MP4 format file all format lost, Later use of the various scanning software on the Internet to try their own recovery failed, the recovered files will not play properly.Canon 80D machine u
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, that is, the maximum size allowed to upload fil
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-rain.com/blog/FFMPEG_H264_MP4 PHP + FFMPEG automatic transcoding H264 standard
1.nginx supports FLV and MP4 format playbackDefault Yum installation NginxCENTOS7 installation of Nginx should be the default installation of the Nginx_mod_h264_streaming module# nginx-v See if the Nginx_mod_h264_streaming module is installedNginx in the new version has supported the--with-http_mp4_module--with-http_flv_module these 2 modules can be# vi/etc/nginx/nginx.confserver {Listen default_server;Listen [::]:80 default_server;server_name _;root/
In ewebeditor, ckplayer is used to support the entire html5 (mp4) platform. ckplayerhtml5
The school's digital platform Rich Text Editor has been using the ewebeditor, which should be very good. It supports direct import of common office documents, greatly facilitating the upload of teachers' materials, recently, the entire digital campus is planned to be revised to the entire platform. The framework is constructed using bootstrap and the information
To prepare the software:
Nginx-1.6.0.tar.gzYamdi-1.9.tar.gz
Yamdi is a progressive flow support module, grasping the video resource key frame to realize the random drag effect when playing
Download Address: http://ncu.dl.sourceforge.net/project/yamdi/yamdi/1.9/yamdi-1.9.tar.gz
FLV video can be published in HTTP or rtmp mode. This is in HTTP mode.
Install Nginx and MP4 support modules and FLV modules:
Nginx support
; server {Listen 8080; SERVER_NAME 10.202.94.16; R OOT/APP/openresty/nginx/html/; limit_rate_after 30 m; limit_rate 700 K; # Set this parameter as needed. The speed limit is 700 K/s index index.html after the video buffer is 30 m; charset UTF-8; location ~ \. FLV $ {FLV;} location ~ \. MP4 $ {MP4;} error_page 500 502 503 504/50 x.html; location =/50x.html {root HTML ;}}}
After modification, start the nginx
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.