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
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
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.
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));
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 +
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
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
Please help to see this php download MP4 file problem, the file download is not complete
function Dl_file ($file) { $len = FileSize ($file); $filename = basename ($file); $file _extension = Strtolower (substr (STRRCHR ($filename, "."), 1);
This article describes how php converts a video to an mp4 format using memcoder. It involves php video file operations and has some reference value, for more information, see the following example. Share it with you for your reference. The specific
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.