[MEncoder-users] How to rotate subtitle when encoding?

qianzheng billqian at sohu.com
Sun Sep 17 17:09:55 CEST 2006


I use this method and the subtitle is rotated. But when I use the command below,
the rendering of subtitle seems not correct.  There is a green rectangle below the
subtitle. See my command line.

"E:\Work\MEIZU\MiniConvertor_MENC\mplayer\mencoder.exe" 
"F:\Video\MTV\Hotel California\Hotel California.avi" 
-idx -noodml -ofps 20 -endpos 60 
-vf scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 
-ovc lavc -ffourcc XVID -lavcopts vcodec=mpeg4:vbitrate=384:vmax_b_frames=0:vhq -sws 9 
-srate 44100 -oac mp3lame -lameopts cbr:br=128:mode=0 
-subpos 95 -subfont-autoscale 3 -subfont-outline 1 -subcp cp936 
-font "E:\Work\MEIZU\MiniConvertor_MENC\\font\simhei.ttf" 
-sub "F:\Video\MTV\Hotel California\Hotel California.srt" 
-o "F:\[M6]Hotel California.avi" 

----- Original Message ----- 
From: "Evgeniy Stepanov" <eugeni.stepanov at gmail.com>
To: "MEncoder usage discussions" <mencoder-users at mplayerhq.hu>
Sent: Sunday, September 17, 2006 3:18 AM
Subject: Re: [MEncoder-users] How to rotate subtitle when encoding?


> On Saturday 16 September 2006 20:14, qianzheng wrote:
>> Hi, everyone
>>     I use mencoder to encode some videos for my mp4. I use "rotate 1"
>> option to turn right the video. But when loading a subtitle, the subtitle
>> is not be rotated. So how to use mencoder to rotate a subtitle?
>>     Thanks.
> 
> You should render subtitles before rotating. Like this:
> -vf expand=::::1,rotate=1
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>


More information about the MEncoder-users mailing list