|
Feature Requests, Feedback And Suggestions Post your suggestions and feature requests here, what would you like to use in BS.Player. Any feedback is appreciated and will be reviewed by our team. |
| LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
Wrapped subtitles thank you BST for one of the best players in the Internet community. In my opinion it will be really THE BEST when it supports the ability to wrap long subtitles. Automatic font resizing is nice but not as good as wrapping. I went through the forum. BST claims that wrapping subtitles is a hard programming challenge. (Well, I am not an expert but I find resizing much more complicated:-). But there are many players that implement that feature, ie.: Vplayer (Polish page) http://www.vplayer.albion.top.pl/ or XVid;) http://www.free-codecs.com/download/XVid.htm and probably mplayer (code available) http://www.mplayerhq.hu So, is BSPlayer going to be really the best? wojtek |
| ||||
Re: Wrapped subtitles Quote:
Also have a look at this post: http://forum.bsplayer.org/viewtopic.php?p=11847#11847
__________________ Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!) When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you, as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post. Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums! |
| |||
Re: Wrapped subtitles Quote:
http://forum.bsplayer.org/viewtopic.php?t=2588 So, are wrapped subtitles planned in development? Are there any work on that feature now? Best regards, wpietron |
| ||||
Re: Wrapped subtitles Quote:
(In other words: I don't know)
__________________ Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!) When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you, as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post. Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums! |
| |||
I totaly agree about wrapping/making-up subtitles! And i think this is a very important thing to BSPlayer, a lot of people complains about this problem! (cause at a too long line BSPlayer uses a very small font, and text is unreadable!!) It would be great if BSPlayer can truncate a too long line, and continue it in a new line! It would be just an option in the options/subtitles. And NO, this is NOT a hard programming challenge! I'm a programmer, and i know, that making this is very easy. I made such type of line truncating and continuing in a new line. And my recommendation for programming this: Just check if text is not fitting the window/screen(there is functions for measuring the width of a text with a font), and compute that how many windows/screens the text can fit(with rounding up, so 1.1 screen is 2 screen), and just divide text to so many parts, placing the edge of a line to the splitting positions(just variables storing the position in the text), and get back these values with a WHILE if the current position is not a space(so splitting the text at spaces, not at words). This is look like this in delphi: Screens:=RoundUp(MeasureWidth(Text) / ScreenWidth); if Screens>1 then begin __Edges:=Length(Text) div Screens; __for i:=0 to Screens-1 do begin ____j:=(i+1)*Edges; ____while (j>0) and (Text[j]<>' ') do dec(j); ____SplittingPoint[i]:=j; __end; end; And now we have just split the text to X parts at SplittingPoints. That's all. I know, that this is a simplified example, but it will do for a begin. :) I try to write it in C++ (I'm not too good in C++, i learned it long ago, and i'm not using C++ so much(yet), so please excuse me the syntax confusing/mistaking ;) ). int Screens=RoundUp(MeasureWidth(Text) / ScreenWidth); if(Screens>1) { __int Edges=Length(Text) div Screens; __for(int i=0; i<Screens-1; i++) { ____int j=(i+1)*Edges; ____while ((j>0) && (Text[j]!=32)) j--; ____SplittingPoint[i]=j; __} } That's all. Sorry for my bad english. ;)
__________________ ...Fenyo |
Tags |
subtitles, wrapped |
| |