Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > Bug Reports And Codecs

Bug Reports And Codecs Report BS.Player bugs here - help us to improve BS.Player even further.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 24th February 2003
Junior Member
BS.Player Newbie
 
Join Date: Feb 2003
Posts: 3
Rep Power: 0
hrglgrmpf is an unknown quantity at this point
Default new-lines in unicode subtitles

Hello,

I'm using Bsplayer on my sister's computer to find out, if
my created OGM-files are playable on windows.

My system (debian gnu/linux) runs completely with unicode,
and I used ogmmerge
(http://www.bunkus.org/videotools/ogmtools/index.html)
to merge a divx-stream, two oggvorbis-streams, one chapter-file
and one SRT-subtitle file into one ogg-file ...

With mplayer the result is great, but Bsplayer draws only a box
instead of a new-line ... doesn't matter what character-set I select ...

could that be a bug in Bsplayer? I could put some example-movies
online, if someone is interrested.

sorry for my bad English
__________________
cu,
hrglgrmpf
Reply With Quote
  #2 (permalink)  
Old 24th February 2003
Quietseb's Avatar
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: back in France...
Posts: 581
Rep Power: 0
Quietseb is an unknown quantity at this point
Default

(I'm not 100% sure of what I write below)

I believe linux/unix systems usually use only Chr(10) as a line feed whereas many windows apps (e.g. notepad) require Chr(10)Chr(13)

Therefore these windows apps often don't read unix-produced text files correctly.
I believe some conversion utilities exist that will add theChr(13) when needed

otherwise it could be an improvement in bsplayer's subs display engine...
Reply With Quote
  #3 (permalink)  
Old 24th February 2003
Junior Member
BS.Player Newbie
 
Join Date: Feb 2003
Posts: 3
Rep Power: 0
hrglgrmpf is an unknown quantity at this point
Default

hmm ...
unix uses "\n" (newline), dos uses "\r\n" (carriage return, newline)
(as far as I know)

but that is not responsable ... I converted my SRT-subtitle file into
the MicroDVD subtitle format, which uses "|" for newlines ...
with the same (bad) result.

The error must be in ogmmerge or in bsplayer ...

-----

I have uploaded some test-files (about 10 MB)
( http://www.hurg.org/bsplayer.tar.gz )

Bsplayer displays the subtitles correct, if they are read from an extern
file ... but if ogmmerge is buggy, why mplayer displays them right,
if they are in an ogm-file ?!
__________________
cu,
hrglgrmpf
Reply With Quote
  #4 (permalink)  
Old 1st March 2003
Junior Member
BS.Player Newbie
 
Join Date: Feb 2003
Posts: 3
Rep Power: 0
hrglgrmpf is an unknown quantity at this point
Default

Hello,

I wrote an email to the ogmmerge developer and he fixed this "bug" ...
Here is a part of the ChangeLog of the new version 1.0.0:

Quote:
- Newlines in subtitles are converted to DOS style newlines (\r\n) as
some Windows players (e.g. BSPlayer) do not cope with a single \n.
__________________
cu,
hrglgrmpf
Reply With Quote
Reply

Tags
newlines, subtitles, unicode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules


All times are GMT +1. The time now is 09:28 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19