[MPlayer-users] Question

Ivan Kalvachev ivan at cacad.com
Fri Mar 12 12:06:41 CET 2004


Georgi Aleksiev said:
> Hi,
> My name is Georgi Aleksiev. I am using Mplayer-Opre3 right now (upgrade to
> this version I do before few days). I do this upgrade because I have
> strange
> problems with mencoder (create the VCD from AVI).
> Because I am Bulgarian I want my VCD to have Bg subtitles - can you
> imagine ;-).
> But here is my problem when I want to resize & expand & put the subtitles
> with
> one command I have overlapping subtitles :-(. The strange here is that any
> other 2 of these 3 commands can work together(resize & put sub or expand
> and
> put sub or expand & resize).
> I can easy do first 2 of the commands and start mencoder with 3, but this
> take
> allmost 2 of the time :-(. If it's not possible to use these 3 commands
> together I will survive ;-). The mencoder is times quicker then any other
> Windows software and I am very happy to use it.
> I am using Slachware 9.1 kernel 2.4 series but I test this on Fedora Core1
> and
> the problem is the same.
>
> Can you give me an idea about this?
>
> Best Regards,
> Joko
>
> PP: command which I use :
>
>
> ------
> mencoder FILE.avid -sub File.sub -nil -subfont-encoding TCP1251
> -subfont-text-scale 3  -subwidth 100 -sub-no-text-PPP -of peg -ova lava
> -Mac
> lava -saws 2 -lavcopts
> acodec=mp2:vcodec=peg1video:vbitrate=1600:aspect=4/3:keyint=25:mbd=2:vrc_minrate=300:vrc_maxrate=2400:vrc_buf_size=320:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
> -cache 8000 -vf scale=480:299,expand=480:360 -o dvd2kvcd.mpg
>

Zdrawei Joko

I believe that the problem comes from the fact that subtitles are put
by expand filter. As encoder cannot place subtitles on its own mencoder
automatically insert expand filter to do it. But you place your own
expand so it got double.
(I cannot confim this, I'm away of my mencoder ATM)
Try if this help
    expand=480:360:-1:-1:0
-1 meen not used, default/auto.
the 5'th 0 is the osd control.

If it doesn't work, warn me. I will look furder.

btw why don't you make svcd - it is vbr and will give better quality.
Also make sure the audio is 44100Hz, and I'm not sure 480:360 is valid
vcd resolution.
take a look of avi2svcd script that is included in the CVS version of
mplayer

Best Regards
   Ivan Kalvachev
  iive

I ymanata, ei.
Ako nameri6 programa koqto da dobawq sybtitrite otdelno ot videoto
 pod free source, obadi se(vcd,svcd,dvd). Shte mi spesti6 dosta rabota;)




More information about the MPlayer-users mailing list