#32 Need option to scale subtitle

open
nobody
None
5
2006-05-06
2006-05-06
Bernd Buschinski
No

I am happy that the current cvs support subtitles
from the video
but it doesnt scale with the
video/window/fullscreen size

the subtitle is horrable small in fullscreenmode

Discussion

  • fullscreen video with subtitle from video

     
    Attachments
  • kiriuja
    kiriuja
    2006-05-06

    Logged In: YES
    user_id=137121

    Normally subtitle font should autoscale along with video.

    I would need to see a few things:

    ls -l /etc/mplayer

    ls -l ~/.mplayer

    mplayer -v -vo xv your_file_with_subtitles

    That'll be a good start. :)

    I will add subtitle font configuration options later on.

     
  • mplayer -v -vo xv my_file_with_subtitle -sid 0 -aid 1 -fs

     
    Attachments
  • Logged In: YES
    user_id=1444723

    #ls -l ~/.mplayer/
    -rw-r--r-- 1 buscher users 6417 3. Jan 23:50 channels.conf
    -rw-r--r-- 1 buscher users 44 5. Feb 2005 config
    -rw-r--r-- 1 buscher users 2633 7. Mai 00:06 gui.conf
    -rw-r--r-- 1 buscher users 111 7. Mai 00:06 gui.history
    -rw-r--r-- 1 buscher users 96 7. Mai 00:06 gui.pl
    -rw-r--r-- 1 buscher users 14 7. Mai 00:06 gui.url
    -rw-r--r-- 1 buscher users 480 2. Mai 21:51 registry

    #ls -l /etc/mplayer*
    -rw-r--r-- 1 root root 3001 15. Apr 17:35 /etc/mplayer.conf
    -rw-r--r-- 1 buscher users 293 13. Sep 2005 /etc/mplayerplug-in.conf
    -rw-r--r-- 1 buscher users 656 26. Nov 17:29 /etc/mplayerplug-in.types

    are you sure you want this?
    anyway... the fonts are scaling with (g)mplayer while switching fullscreen mode
    on and off
    but not with kplayer

     
  • Logged In: YES
    user_id=1444723

    #ls -l ~/.mplayer/
    -rw-r--r-- 1 buscher users 6417 3. Jan 23:50 channels.conf
    -rw-r--r-- 1 buscher users 44 5. Feb 2005 config
    -rw-r--r-- 1 buscher users 2633 7. Mai 00:06 gui.conf
    -rw-r--r-- 1 buscher users 111 7. Mai 00:06 gui.history
    -rw-r--r-- 1 buscher users 96 7. Mai 00:06 gui.pl
    -rw-r--r-- 1 buscher users 14 7. Mai 00:06 gui.url
    -rw-r--r-- 1 buscher users 480 2. Mai 21:51 registry

    #ls -l /etc/mplayer*
    -rw-r--r-- 1 root root 3001 15. Apr 17:35 /etc/mplayer.conf
    -rw-r--r-- 1 buscher users 293 13. Sep 2005 /etc/mplayerplug-in.conf
    -rw-r--r-- 1 buscher users 656 26. Nov 17:29 /etc/mplayerplug-in.types

    are you sure you want this?
    anyway... the fonts are scaling with (g)mplayer while switching fullscreen mode
    on and off
    but not with kplayer

     
  • kiriuja
    kiriuja
    2006-05-06

    Logged In: YES
    user_id=137121

    > anyway... the fonts are scaling with (g)mplayer while
    > switching fullscreen mode on and off but not with kplayer

    In that case run

    ps auxww | grep mplayer

    when KPlayer is playing your file.

    Then stop playback in KPlayer, and, without closing
    KPlayer, run the same mplayer command line on the console.
    If subtitles are still not autoscaled, remove mplayer
    options from the command line one by one, until you find
    the one that makes subtitles not autoscale.

    Please post what you get.

     
  • kiriuja
    kiriuja
    2006-05-06

    Logged In: YES
    user_id=137121

    Also please post your /etc/mplayer.conf

     
  • Logged In: YES
    user_id=1444723

    Arrrrrr it was my bad

    /opt/mplayer-bin/bin/mplayer-bin -zoom -noautosub -slave -wid 37748762 -vo
    x11, -osdlevel 0 -contrast 0 -brightness 0 -hue 0 -saturation
    0 -noframedrop -cache 1024 -sws 2 -aid 1 -sid 0 -double -input
    conf=/usr/share/apps/kplayer/input.conf -idx -noquiet -identify -- /home/buscher/.xchat2/downloads/[aX]_Cowboy_Bebop_-_Session_26_-_The_Real_Folk_Blues_Part_II.ogm

    I dont know why but I told kplayer to use video driver x11 and this doesnt scale
    the font, when I switch back to xv it all works =/

    /bin/bash /usr/bin/mplayer-bin -zoom -noautosub -slave -wid 39845914 -vo
    xv, -ao oss, -osdlevel 0 -contrast 0 -brightness 0 -hue 0 -saturation
    0 -noframedrop -cache 1024 -sws 2 -aid 1 -sid 0 -double -input
    conf=/usr/share/apps/kplayer/input.conf -idx -noquiet -identify -- /home/buscher/.xchat2/downloads/[aX]_Cowboy_Bebop_-_Session_26_-_The_Real_Folk_Blues_Part_II.ogm

    /etc/mplayer.conf and /home/buscher/.mplayer/config
    are empty the only with usefull things was /home/buscher/.mplayer/gui.conf

    so my problems is solved, thx =)
    but I want to have the nice font option like in gmplayer in kplayer too

     
  • gui.conf

     
    Attachments
  • kiriuja
    kiriuja
    2006-05-07

    Logged In: YES
    user_id=137121

    > so my problems is solved, thx =)

    Great! :)

    > but I want to have the nice font option like in gmplayer
    in kplayer too

    I will look into it before too long. I am not planning to
    add any more new features for 0.6.0, but after that I will
    add a few more subtitle options.