This article demonstrates how to develop a custom plug-in to implement a video format conversion. Since the IPhone video is in MOV format, we implement a custom plug-in that converts video to MP4 format in order for the video to play smoothly on multiple platforms.
1, the principle of realization
(1) Through avassetexportsession we can realize the conversion of video format, in addition to converting to MP4
named Transmageddon, which allows you to easily create formats such as mp4, Ogg, and QuickTime. However, if you have a large number of videos that need to be converted, it is easier to use the mencoder program. mencoder supports almost all video formats, and supports a wide range of adjustable parameters and high speed.
First, you need to install the mencoder program:
$ Sudo apt-get install mencoder
View the Video and Audio Encoder supported by your
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 ) { case "mp4": $ctype="video/mp4"; break; default: $ctype="application/force-download
Qiniu Seven cow problem solution
A lot of seven cattle users in the use of seven cattle cloud storage process to encounter the problem of video player selection, here I do a simple recommendation. Audio and video support audio and video playback
In the process of setting up a video application relying on seven cattle cloud storage, the user often encounters the problem of playback: Choose what kind of player
HTML code
[Ctrl + A select all tips: you can modify some code and then press run]
Silver gray panelHTML code
[Ctrl + A select all tips: you can modify some code and then press run]
Gray panelHTML code
[Ctrl + A select all tips: you can modify some code and then press run]
Brown panelHTML code
[Ctrl + A select all tips: you can modify some code and then press run]
Black panelHTML code
[Ctrl + A select all tips: you can modify some code and then press run]
(Display file playbac
Maybe you may wonder why the 404 error "this page cannot be found" always occurs when I upload FLV or MP4 files to the server and enter the correct address to access the file through HTTP? This indicates that MP4 files cannot be identified by the server. In fact, this is the reason why the corresponding MIME type is not set in IIS. How can I set the MIME type?
To enable
How does php output mp4 files that can be directly played by google? if we put an MP4 file on the server and open it in google, the browser will watch the mp4 file online by default.
However, files are often not stored so naked. if you use php to output mp4 files for a long time, the browser will directly download them
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, file download)
Right, recently in the video aspect of things, then a simple, to implement a MP4 video file to provide a server bar, and through the brows
In JB2, video trimming is added. Currently, google does not support video trimming in non-mp4 format by default. In the image library, the toast prompt is displayed, indicating that the video cannot be edited due to an error ". How to remove the "trim" option for videos in non-mp4 format
Modify the updateMenuOperations () method in Gallery2 \ src \ com \ android \ gallery3d \ app \ PhotoPage. java:Private
Many popular TV series and programs can be downloaded from Sohu audio and video. Recently, I found that the format of the video downloaded from Sohu audio and video is not the previous MP4, but the encrypted IFOX. So how can we easily and quickly convert the format? Next I will use my win7 computer to teach you how to implement it in a super simple way.Example1. If you have other video players, convert the ifox format to the
The address of this project, the name is "audio-visual (some players can not put, and no time long display)", to seek starHttps://github.com/979451341/Audio-and-video-learning-materials1.MediaMuser descriptionMediamuser: The encapsulated encoded video stream and audio stream into the MP4 container, plainly able to integrate audio and video into a MP4 file, mediamuxer support only one video track and one aud
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
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
VLC-based video player and VLC Video Player
I recently studied the video playback function, which was previously used by VideoView. After reading the video on the internet, I feel that it is not very good, and the supported formats are relatively small. Now there are various formats of online videos, and I feel that it is very limited to play with VideoView.
Found a suitable
What about the chit video player?
Chit player is a simple and efficient video player, supporting remote playback, BT seed playback, magnetic link playback functions, but also support the mainstream video format, including: FLV, AVI, WMV, WMA, MP3, MP4, RM and other media formats, You can also use the Chit
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, change "MP4 render" to "QuickTime". Finally, click
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.