Answer the question
In order to leave comments, you need to log in
Question about Mencoder?
After converting multi-channel audio (usually 4, 5, 6 channels) to stereo, the volume drops noticeably.
I convert video to flv format with the following command:
#!/bin/sh<br/>
<br/>
AVI=$1<br/>
FLV=`echo "$AVI" | sed -e 's/\.avi$//'`<br/>
NW=360<br/>
<br/>
# тут "хитро" вычисляются цифры с размером картинки для ее уменьшения<br/>
WI=`avinfo $AVI | grep video: | awk '{print $2}' | awk -Fx '{print $1}'`<br/>
HE=`avinfo $AVI | grep video: | awk '{print $2}' | awk -Fx '{print $2}'`<br/>
<br/>
NH=`calc "print $NW * $HE / $WI" | sed -e 's/^~//' | awk -F. '{print $1}'`<br/>
<br/>
# конвертация<br/>
mencoder \<br/>
$AVI \<br/>
-ofps 15 \<br/>
-o $FLV \<br/>
-of lavf \<br/>
-oac mp3lame \<br/>
-lameopts abr:br=56:mode=1:padding=1 \<br/>
-srate 44100 \<br/>
-ovc lavc \<br/>
-lavcopts vcodec=flv:keyint=25:vbitrate=320:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \<br/>
-vf scale=$NW:$NH<br/>
<br/>
# перенос заголовков видео в начало для seek<br/>
flvmeta $FLV $FLV.flv<br/>
Answer the question
In order to leave comments, you need to log in
I found the answer myself, it helped me -af hrtf=s,resample=44100:0:0,volnorm
The sound seems to have become better and louder.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question