[MEncoder-users] converting and subtitle questions !

zechao wang wzc0066 at yahoo.com.cn
Wed Mar 19 07:40:01 CET 2008


Hello Everyone!

There have two questions need your help:

(1) To convert rmvb to mp4 for my cellphone, i had to convert two times.
First, rmvb should be converted to avi with mencoder; Second, avi could be converted to mp4 wth ffmpeg .

My commands are:

mencoder mov.rmvb -ovc lavc -oac mp3lame -o mov.avi
ffmpeg -y -i mov.avi -vcodec xvid -s 400x240 -r 29.97 -b 600 -acodec aac -ac 2 -ar 48000 -ab 128 -vol 200 -f mp4 mov.mp4

Is there a way to do that just with mencoder in one time ?
If it can, please tell me the command ( i have tried much times, but failed all the time) !


(2) After adding subtitles to movie with mencoder, only striping (--) could be seen when playing! I'm sure the subtitle can works well when it working with the movie together. The language of the subtitle file is simple chinese and the encoder mode is utf8.

My command is:
mencoder test.avi -ovc lavc -oac copy -sub test.srt -font "/usr/share/fonts/truetype/arphic/uming.ttf" -subcp utf8 -subfont-encoding unicode -subfont-text-scale 3  new.avi

I don't know why, please tell me if somebody know.



       
---------------------------------
雅虎邮箱传递新年祝福,个性贺卡送亲朋! 


More information about the MEncoder-users mailing list