-01316438de54fba6421e9817746b2229
Allow Flash Player to support playback of MP4 files, and solve the problem of not loading side-by-side multicastFirst, let the Flash Player support MP4, you need to convert the encoding to H. MP4.Second, to solve the problem of side loading side playback, 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 at
print out all the video size sizes supported by h263. If the audio conversion parameters are wrong, FFmpeg will also print the reason and prompt information, very good.2. Different file format is required for codec that can be placed in it. For example, MP4 can not be put into H263/mp3. So when the top turns into h263, the output file is 3gp. If file format is wrong, FFmpeg's error message is: [That's basi
meaning of these parameters, which is very simple:-I -- input file;-acodec -- specify audio codec, use the FFMPEG-formats command to view all the file formats and CODEC;-AB -- bitrate supported by the currently compiled FFMPEG. A key must be followed by a key; otherwise, the key is invalid; -AC: specifies the number of channels;-AR: Specifies the sample rate. Note that amrnb is 8000, amrwb is 16000, and no
Recently in the Research institute has video format to turn MP4Because HTML5 only supports MOV MP4and other formats: Looking at a lot of data found that turning into FLV is simple.But it's hard to turn mp4 ...After my disdain for the effort. Finally the conversion succeeded.The command is as follows:Ffmpeg-i d:\5367002155592.wmv-c:v libx264-strict-2 D:\test.mp4PS: I was converted in Windows Command window.Y
RM format How to convert MP4?RM to MP4 format Converter list
RM mp4 Format Converter Rank one: MP4/RM conversion specialist
The MP4/RM conversion expert has a comprehensive focus on professional conversion tools opti
(); return true;} catch (Exception e) {e. printStackTrace (); return false ;}} Private boolean process () {int type = checkContentType (); boolean status = false; if (type = 0) {// status = processFLV (PATH ); // directly convert the file to the flv File status = processFLV (PATH);} else if (type = 1) {String avifilepath = processAVI (type); if (avifilepath = null) returnfalse; // The avi file does not get else {System. out. println ("kaishizhuang");
" test.jpg "
-SS followed by time in seconds
****************
4. Create a class
[Java]View plaincopy
Public class convertvideo
{
Private Static string input_path;
Private Static string output_path;
Private Static string project_path;
Private Static hashmap
Static
{
Filetype = new hashmap
Filetype. Put ("Avi", "true ");
Filetype. Put ("MPG", "true ");
Filetype. Put ("WMV", "true ");
Filetype. Put ("3GP", "true ");
Filetype. Put ("mov
generally selected-vol 200 200% volume, change your-muxvb 768 seems to be to the PSP machine recognition of the bitrate, generally choose 384, 512 and 768, I changed to 1500,PSP said the file is damaged-F PSP output PSP private format"output.wmv" Output file name, you can also add path to change the file name# ffmpeg-ss 00:00:00-t 00:00:03-y-i test.mp4-vcodec copy-acodec copy test1.mp4 #视频裁剪The explanation
This article describes how to use codeigniter to upload a video and convert ffmpeg to flv. For more information, see
The Code is as follows:
$ File = 'video _ file ';$ Config ['upload _ path'] = './video_folder /';$ Config ['allowed _ types'] = 'mov | mpeg | mp3 | avi ';$ Config ['max _ size'] = '000000 ';$ Config ['max _ width'] = '';$ Config ['max _ height']
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.