[MPlayer-users] How can I draw subtitles at very bottom of screen (without border)?
funicorn at gmail.com
funicorn at gmail.com
Thu Nov 8 12:26:31 CET 2012
If by 'disabling' you mean 'comment out', that's what it should be like. The default values of the mentioned settings are both non-zero: subfont-blur=2 subfont-outline=2 if not manually set .
What's more, there may be other subtitle settings involved such as the subtitle auto scale and the subtitle text size, which I haven't confirmed though. You can find all the subtitle settings in the manpage. Basically speaking the space there is preserved for something needed.
--
At 2012-11-08 17:01:05,"None None" s-trace at list.ru wrote: >Thank You for explain. Yes, I'm already using -subpos100 -subalign 2 and it's no effect by this options. And I'm using -subfont-blur 8 -subfont-outline 8 (and I love mplayer for this, because subtitles with this options look really great, white text with black-to-transparent outline looks beautiful, perfectly contrast and readable on any video background: red, black or white, saving my eyes). Disabling this options moved subtitles to 12 pixels down, but it's still 10-pixels border between bottom of image and bottom of subtitles. Here is another sample screenshots, hope it will make all clear: >http://dl.dropbox.com/u/100376233/have.png - what I'm have w/o -vf expand,crop >http://dl.dropbox.com/u/100376233/want.png - whai I'm wanted to see >Thank You. > >Thu, 8 Nov 2012 16:21:45 +0800 (CST) от funicorn at gmail.com: >> >> > >> > > >> > > > >>I'm really not sure about what you mean by '22 pixels'. However I assume your situation is there is a 'distance' between the bottom edge of subtitle and the bottom edge of the image itself, although yuo already made the bottom displayed at the bottom as low as possible, i.e. 'subpos=100' 'subalign=2', . If that's the case, you can change certain settings of the subtitle itself. For example, setting 'subfont-blur=0' 'subfont-outline=0' makes the subtitle absolutely bottom, whreas 'subfont-blur=2' 'subfont-outline=2' would shift the subtitle a little upward. but 22 pixels seems to be too large a number to me. >> >在 2012-11-08 06:10:58,"None None" s-trace at list.ru 写道: >> >>Thank You for reply. >> >>I'm not using ass, and play videos using -noass option. Tried -vo gl and -ass-use-margins but no luck, mplayer still draw subtitles 22 pixels above bottom line of the video frame, just like without such options. >> >>But now (I'm now tried with 720p .mp4 (h264/aac) video, tests before was with 720x400 xvid/mp3 .avi videos) I can use -vf expand=:-22::0:1,crop=:720::0 filters and get desired results. Using same -vf line with old videos give me no OSD at all. Why? -vo and other output settings was not changed between attempts. Here logs for old and new videos: >> >>http://bpaste.net/show/56514/ - old video, troubles. >> >>http://bpaste.net/show/56512/ - new video, flawless. >> >>funicorn, what did You mean saying "than just the video area"? I want to make subtitles use whole video frame, but mplayer force bottom line of subtitles to be 22 pixels above bottom of the frame, gving me such: >> >>first line of video >> >>video >> >>video >> >>subtitle over video >> >>video >> >>last line of video >> >>But I want this: >> >>first line of video >> >>video >> >>video >> >>video >> >>subtitle over video >> >>last line of video >> >>NO black borders, NO video image borders. Just see pictures I sent in first mail. >> >>Thank You! >> >> >> >>Wed, 7 Nov 2012 18:54:01 +0100 от wm4 nfxjfg at googlemail.com: >> >>> >> >>> >> >> >> >>> >> >> >> >> >> >>> >> >> >> >> >> >> >> >>>On Thu, 8 Nov 2012 00:08:06 +0800 (CST) >> >>>funicorn at gmail.com wrote: >> >>> >> >>> >> >>> It's not merely a 'black bar'. It's a another layer draw by mplayer. >> >>> >> >>> You can't crop it. If you get direct rendering, you can use opengl >> >>> >> >>> video output in which case subtitle shows up at the very bottom with >> >>> >> >>> prettier looks. At 2012-11-06 20:35:48,"None None" s-trace at list.ru >> >>> >> >>> >> >>This has nothing to do with direct rendering. If he wants subtitles to >> >>> >> >>use the whole screen area of the window rather than just the video >> >>> >> >>area, he can use -ass-use-margins with vogl and vovdpau. This won't >> >>> >> >>work if the ass video filter is inserted, although vfass has some >> >>> >> >>support to create and render into black bars too. >> >>> >> >>_ >> >>> >> >>MPlayer-users mailing list >> >>>MPlayer-users at mplayerhq.hu >> >>>https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users >> >>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>_ >> >>MPlayer-users mailing list >> >>MPlayer-users at mplayerhq.hu >> >>https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users >> >> >_ >> >MPlayer-users mailing list >>MPlayer-users at mplayerhq.hu >>https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users > > > > > > > > > >_ >MPlayer-users mailing list >MPlayer-users at mplayerhq.hu >https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list