MEncoder Turn flv
MENCODER-FFOURCC flv1-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames-of LAVF-OAC mp3lame-lameopts aq =9:CBR:BR=64:VOL=2-OVC lavc-lavcopts VCODEC=FLV:VBITRATE=200:ACODEC=MP3:ABITRATE=56-VF scale=320:270,expand= 320:270:::1,crop=320:270:0:0-ofps 18-srate 22050 Input.xxx-o output.flv
MEncoder turn avi
MENCODER.EXE-OAC mp3lame-lameopts aq=7:cbr:br=64-srate 32000-vf scale=220:176-ovc LAVC-FFOURCC dx50-lavcopts vcodec =mpeg4:vbitrate=320 "input.xxx"-O "Output.avi"
MEncoder. /v/wmv.wmv-o. /v/wmv-3.flv-of LAVF-OAC mp3lame-lameopts abr:br=56-srate 22050-ovc lavc-lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0: Trell:v4mv:cbp:last_pred=3
MENCODER-OAC mp3lame-lameopts aq=7:cbr:br=64-srate 32000-vf scale=220:176-ovc LAVC-FFOURCC dx50-lavcopts Vcodec=mpe g4:vbitrate=320 "input.xxx"-O "Output.avi"
MENCODER-OAC mp3lame-lameopts aq=7:cbr:br=64-srate 22050-vf scale=320:-3-ovc xvid-xvidencopts bitrate=600 "wmv. WMV "-O" Wmv.avi "
MENCODER-OAC lavc-lavcopts acodec=mp2:abitrate=64-srate 22050-vf scale=320:-3-ofps 15-ovc xvid-xvidencopts bitrate =400 Rmvb.rmvb-o Rmvb.avi
MEncoder 1.RMVB-OAC mp3lame-lameopts preset=64-ovc xvid-xvidencopts bitrate=600-of avi-o Rmvb.avi
RMVB Turn Flvcode
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
Using these two parameters of the FFmpeg, you can control the ffmpeg to divide a large video into many small pieces of separate playback files.
-ss Time_off Set the start time offset
-T duration set the recording time
MEncoder section Parameters:
-ss 0
-endpos 120
FFmpeg ext. 3gp:
Ffmpeg-y-I **.**-ac 1-acodec amr_nb-ar 8000-ab 24-s 128x96 [-vcodec MPEG4]-B 40k-r 8 **.3gp
FFmpeg Turn flv:
Ffmpeg-i inputfile.xxx-ab 56-ar 22050-qmin 2-qmax 16-b 320k-r 15-s
FFmpeg parameters
For video files:
Ffmpeg-i xxx.xxx-y-F image2-ss 8-t 0.001-s 350x240 xxx.jpg
For an existing FLV:
Ffmpeg-i xxx.flv-y-F image2-ss 8-t 0.001-s 350x240 xxx.jpg
Convert the first 30 frames of the video into a GIF:
Ffmpeg-i xxx.xxx-vframes 30-y-F gif xxx.gif
Intercept fragments that last 10 seconds from 10 seconds
FFmpeg Add watermark parameter:
Ffmpeg-i inputfile.xxx-tagpict ": 220:210"-ab 56-ar 22050-qmin 2-qmax 16-b 320k-r 15-s
Watermark Parameter Description:
-tagpict ": 220:210"
(In the FFmpeg directory, look for 0002.mjpg, mask.mjpg two image files used as a watermark processing, and then in the specified coordinates, such as here: 220:210, the watermark in the transcoding process to add to each frame of the video file)
AviSynth Plus watermark:
First Ffmpeg/mencoder compile requires--enable-avisynth;
Conversion parameters: ffmpeg-y-i 1.avs-b 320k rmvb-avs.flv
1.avs Writing format:
Video = Directshowsource ("RMVB.RMVB", 15). Bilinearresize (320,240)
Logo = ImageSource ("logo2.jpg")
Logomask = ImageSource ("mask2.jpg")
Overlay (Video,logo,mask=logomask)
MEncoder to FLV at the same time add caption watermark
Try it, you can add it, but some parameters are not well set. For example, Chinese subtitles are only displayed as "_____", and the file settings
CD mencoder
MEncoder. /file/test.mov-o. /flv/zbzbzb.flv-of LAVF-OAC mp3lame-lameopts abr:br=56
-OVC lavc-lavcopts Vcodec=flv:vbitrate=500:mbd=2:mv0:v4mv:last_pred=3-subpos 5-subfont
-text-scale 10-unicode-font c:/arial.ttf-sub. /file/test.srt-lavfopts
I_certify_that_my_video_stream_does_not_use_b_frames-srate 22050
Pause
The above is executed in a batch file, so it is written like this
Subpos is the position of the caption: The bigger and lower the vertical direction, the horizontal direction of the parameter I did not find, minimum 0, maximum 100
Subfont-text-scale Setting the font size
-unicode text encoding, others have not tried
-font Font Files
-sub your subtitle file.
MEncoder and FFmpeg parameters (Java processing Video) < fourth >