Common mencoder and FFMPEG commands

Source: Internet
Author: User

Start with mencoder and convert all formats to Avi,

Rmvb to Avi

Mencoder 1. rmvb-OAC mp3lame-lameopts preset = 64-OVC XviD-xvidencopts bitrate = 600-of Avi-O rmvb. Avi

Rm to Avi

Mencoder 1.rm-OAC mp3lame-lameopts preset = 64-OVC XviD-xvidencopts bitrate = 600-of Avi-o rM. Avi

MPEG to Avi

Mencoder mp4.mpeg-OAC mp3lame-lameopts preset = 64-OVC XviD-xvidencopts bitrate = 600-of Avi-O mp4.avi

MoV to Avi

Mencoder qtime. mov-OAC mp3lame-lameopts preset = 64-OVC XviD-xvidencopts bitrate = 600-of Avi-O qtime. Avi

Conversion from WMV to Avi includes wmv7 to wmv9, and only experiment to wmv9

Mencoder m7.wmv-OAC mp3lame-lameopts preset = 64-OVC XviD-xvidencopts bitrate = 600-of Avi-O m7.avi

RV to Avi

Mencoder 1.rv-OAC mp3lame-lameopts preset = 64-OVC XviD-xvidencopts bitrate = 600-of Avi-o rv. Avi

Wait ...... Format, parameter unchanged, just change the file name. What does the parameter mean? I don't understand it yet. If you are studying it, you can find it on the Internet and tell me. Thank you.

The next step is FFMPEG.

Convert Avi to FLV

FFmpeg-I test. Avi-AB 56-ar 22050-B 500-R 15-s 320x240 test. FLV

Capture JPG.

FFmpeg-I 2.wmv-y-F image2-SS 8-T 0.001-s 350x240 test.jpg

3GP to FLV

Mencoder-VF scale = 320: 240-ffourcc flv1-of lavf-lavfopts I _certify_that_my_video_stream_does_not_use_ B _frames-OVC lavc-lavcopts vcodec = FLV: vbitrate = 200-srate 22050-OAC lavc-lavcopts acodec = MP3: abitrate = 56 OK/1.3gp-o OK/3GP. FLV

MoV to FLV

Mencoder-VF scale = 320: 240-ffourcc flv1-of lavf-lavfopts I _certify_that_my_video_stream_does_not_use_ B _frames-OVC lavc-lavcopts vcodec = FLV: vbitrate = 200-srate 22050-OAC lavc-lavcopts acodec = MP3: abitrate = 56 OK/qtime. mov-o OK/mov. FLV

Rmvb to FLV

Mencoder-VF scale = 320: 240-ffourcc flv1-of lavf-lavfopts I _certify_that_my_video_stream_does_not_use_ B _frames-OVC lavc-lavcopts vcodec = FLV: vbitrate = 200-srate 22050-OAC lavc-lavcopts acodec = MP3: abitrate = 56 OK/1. rmvb-o OK/rmvb. FLV

Convert WMV to FLV

Mencoder-VF scale = 320: 240-ffourcc flv1-of lavf-lavfopts I _certify_that_my_video_stream_does_not_use_ B _frames-OVC lavc-lavcopts vcodec = FLV: vbitrate = 200-srate 22050-OAC lavc-lavcopts acodec = MP3: abitrate = 56 OK/m9.wmv-o OK/m9.flv

Wait ............

The above parameters are common. You only need to change the input OK/m9.wmv to your own format. Absolutely. This test is completely OK. Here is the result. Let's take a look, my recent achievements have been achieved.

In terms of image cutting, I will post another copy, which is the same as before.

FFmpeg-I OK/3GP. FLV-y-F image2-SS 8-T 0.001-s 320x240 3gp.jpg

FFmpeg-I OK/mov. FLV-y-F image2-SS 8-T 0.001-s 320x240 mov.jpg

FFmpeg-I OK/MPEG. FLV-y-F image2-SS 8-T 0.001-s 320x240 mpeg.jpg

FFmpeg-I OK/mp1.flv-y-F image2-SS 8-T 0.001-s 320x240 mp1.jpg

FFmpeg-I OK/mp2.flv-y-F image2-SS 8-T 0.001-s 320x240 mp2.jpg

FFmpeg-I OK/RM. FLV-y-F image2-SS 8-T 0.001-s 320x240 rm.jpg

FFmpeg-I OK/rmvb. FLV-y-F image2-SS 8-T 0.001-s 320x240 rmvb.jpg

FFmpeg-I OK/RV. FLV-y-F image2-SS 8-T 0.001-s 320x240 rv.jpg

FFmpeg-I OK/mp4.flv-y-F image2-SS 8-T 0.001-s 320x240 mp4.jpg

FFmpeg-I OK/Avi. FLV-y-F image2-SS 8-T 0.001-s 320x240 avi.jpg

FFmpeg-I OK/m7.flv-y-F image2-SS 8-T 0.001-s 320x240 m7.jpg

FFmpeg-I OK/m8.flv-y-F image2-SS 8-T 0.001-s 320x240 m8.jpg

FFmpeg-I OK/m9.flv-y-F image2-SS 8-T 0.001-s 320x240 m9.jpg

After the above is switched to FLV, there is a defect that FLV cannot be dragged and dropped during playback. It should be repaired using the following software.

It is automatically transferred on the server, and the command line is used. Use this,
Flvmdigui.exe must have a user interface. It must be manually repaired. Use this

How to Use flvmdi.exe:
Enter> flvmdi inputfile [outputfile] [/S] [/X] [/E] [/K] at the command prompt.

For example, the following parameters can be fixed without being added, for example.

Flvmdi m7.flv

That's all.

Fix OK.

 

 

======================================
FFmpeg-I OK/3GP. FLV-y-F image2-SS 8-T 0.001-s 320x240 3gp.jpg

====================

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.