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.
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 article mainly introduces how to use nginx to build flv and mp4 streaming media servers based on rtmp or http. if you are interested in PHP tutorials, refer to it. Http://itindex.net/detail/48702-nginx-rtmp-http
I. streaming media playback mode1. HTTP
In this way, you need to download the FLV video file and play it locally. Once the FLV video file is downloaded, the server's resources and bandwidth will not be consumed. However, the drag func
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
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.