wallpaper emo -@- April 28th 20ten.
Wednesday, April 28, 2010
Saturday, April 17, 2010
mencoder wmv to divx dx50 for sd 480p tv lowrez.
source wmv. source aspect 1.77
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(no)me_range=2
(no)vme=2
(yes):mpeg_quant # works ok on sd 480p tv's
(yes)vqscale=5 # works ok on sd 480p tv's
(yes):mbd=0:
(yes)v4mv:
(yes)vqmin=2:
(yes)vqmax=10:
(yes)vqdiff=3 #default is 3
(yes)vratetol=8000 #default is 8000
(yes)vqcomp=0.5:
(yes)vqblur=0.5
$ nice -n 19 mencoder -sws 2 -ofps 25 \
-oac mp3lame -lameopts abr:br=192:vol=0 \
-ffourcc DX50 \
-vf scale=704:398,harddup -aspect 1.77 \
-ovc lavc -lavcopts \
vcodec=mpeg4:mpeg_quant:vqscale=5:mbd=0:v4mv:\
vqmin=3:vqmax=10:vqdiff=3:\
vratetol=8000:vqcomp=0.5:vqblur=0.5\
-o step3-created-DX50-subHQ-tv--.AVI \
foo*.wmv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
notes
mybox = vqscale=[1-31]
Constant quantizer /: constant quality encoding
(selects fixed quantizer mode).
A lower value means better quality but larger files (default: 0 (disabled)).
1 is not recommended (see vqmin for details).
####################
### Motion estimation ###
mbd=[0-2] ! ! !! !!! !!!!!!
Macroblock decision algorithm (high quality mode), encode each macro block in all modes and choose the best. This is slow but results in better quality and file size. Use mbcmp (default). Select the MB mode which needs the fewest bits (=vhq). Select the MB mode which has the best rate distortion.
vhq
Same as mbd=1, kept for compatibility reasons.
..................................
!!!!!!!!!!!!!v4mv!!!!!!!!!!!!!
v4mv
Allow 4 motion vectors per macroblock (slightly better quality). Works better if used with
mbd set greater than 0 ??????
#########################
## Quantization ##########
mbqmin=[1-31]
obsolete, use vqmin
mbqmax=<[-31] obsolete, use vqmax
vqdiff=[1-31] !!!!!!!!!!!!!!!!! maximum quantizer difference between consecutive I- or P-frames (pass 1/:2) (default: 3) ####################### ## Quantization part3 ##########3 mpeg_quant *!!!!!!!!!!!!!! Use MPEG quantizers instead of H.263. ################### ####(rate conctrol)######## vratetol=[value] approximated file size tolerance in kbit. 1000-100000 is a sane range. (warning: 1kbit = 1000 bits) (default: 8000) NOTE: vratetol should not be too large during the second pass or there might be problems if vrc_(min|max)rate is used. ....................... vqcomp=[0.0-1.0] Quantizer compression, vrc_eq depends upon this (pass 1/:2) (default: 0.5). For instance, assuming the default rate control equation is used, if vqcomp=1.0, the ratecontrol allocates to each frame the number of bits needed to encode them all at the same QP. If vqcomp=0.0, the ratecontrol allocates the same number of bits to each frame, i.e. strict CBR. NOTE: Those are extreme settings and should never be used. Perceptual quality will be optimal somewhere in between these two extremes.
.......... vqblur=[0.0-1.0] (pass one) Quantizer blur (default: 0.5), larger values will average the quantizer more over time (slower change). Quantizer blur disabled. Average the quantizer over all previous frames. #################################### http://pwet.fr/man/linux/commandes/mplayer
mbqmax=<[-31] obsolete, use vqmax
vqdiff=[1-31] !!!!!!!!!!!!!!!!! maximum quantizer difference between consecutive I- or P-frames (pass 1/:2) (default: 3) ####################### ## Quantization part3 ##########3 mpeg_quant *!!!!!!!!!!!!!! Use MPEG quantizers instead of H.263. ################### ####(rate conctrol)######## vratetol=[value] approximated file size tolerance in kbit. 1000-100000 is a sane range. (warning: 1kbit = 1000 bits) (default: 8000) NOTE: vratetol should not be too large during the second pass or there might be problems if vrc_(min|max)rate is used. ....................... vqcomp=[0.0-1.0] Quantizer compression, vrc_eq depends upon this (pass 1/:2) (default: 0.5). For instance, assuming the default rate control equation is used, if vqcomp=1.0, the ratecontrol allocates to each frame the number of bits needed to encode them all at the same QP. If vqcomp=0.0, the ratecontrol allocates the same number of bits to each frame, i.e. strict CBR. NOTE: Those are extreme settings and should never be used. Perceptual quality will be optimal somewhere in between these two extremes.
.......... vqblur=[0.0-1.0] (pass one) Quantizer blur (default: 0.5), larger values will average the quantizer more over time (slower change). Quantizer blur disabled. Average the quantizer over all previous frames. #################################### http://pwet.fr/man/linux/commandes/mplayer