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
-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
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
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
(); 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", "true ");
Filetype. Put ("
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
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.