Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   General Talk And Support (http://forum.bsplayer.com/general-talk-support/)
-   -   posible to keep audio stream set to 2 (http://forum.bsplayer.com/general-talk-support/4810-posible-keep-audio-stream-set-2-a.html)

Bizzeh 17th June 2004 02:29 AM

posible to keep audio stream set to 2
 
i have alot of xvid's with 2 audio streams, is there any way to set bsplayer to play stream 2 as default instead of reverting back to 1 after every file.. since each file is only 22 mins long.

anyone?

thanks.

Allixria 18th June 2004 06:32 PM

I agree... Maybe this post could be in the Request/Suggestion, but it is extremely annoying to have to go to bsplayer to set the audio to 2 and the subtitles to off for each file of my playlist (with output to TV, this means that I have to return to my computer and return to the living room each time) !

Thank you for considering this!! :oops:

By the way, keep up the good work! This player is really awesome!

artam 21st June 2004 05:40 PM

Why don't you use the .bsi files??? See the ini_files.html document in the BSPlayer's doc directory.

Make one .bsi file for each of the movies and put these bsi files into the playlist instead of avi.

You can then define whatever you want for every movie - default audio stream, default subtitle, default font size, audio channels etc. etc. It is very simple as the .bsi file is the pure text file and can be simply made in notepad.

vruminga 21st June 2004 11:22 PM

Could someone please care to explain this posibility more into details?

I tried it (makin use of notepad) but it didn't work. Maybe I'm doing something wrong?
If someone could ecplain this more with details and examples would help a lot!

Thanks

artam 23rd June 2004 09:28 AM

Quote:

Originally Posted by vruminga
Could someone please care to explain this posibility more into details?

I tried it (makin use of notepad) but it didn't work. Maybe I'm doing something wrong?
If someone could ecplain this more with details and examples would help a lot!

Thanks

ok, let's do a small example:

- you have movie My_Movie.avi with 2 audio tracks
- you have 2 subtitle files My_Movie_subtitles_EN.sub and My_Movie_subtitles_BLA.srt

Create the text file, let's say play.bsi, description follows, than in your playlist do not insert the My_Movie.avi but the play.bsi file instead.

play.bsi file content (text only):

[Main]
NumberCDs=1
CD=1

[Movie]
;movie title as will be shown in the player
Title=My Movie name
;directory and file name of the movie
Directory=.
FName=My_Movie.avi
;audio streams descriptions (these will be shown in the audio tracks list)
AudioName1=English track
AudioName2=Second Language track


[Subtitles]
;list of subtitle files, at the left of | is the description that will be shown in subtitles list
Directory=.
Sub1=English subtitles|My_Movie_subtitles_EN.sub
Sub1=BLABLABLA|My_Movie_subtitles_BLA.srt
;font attributes
Font=238;Arial;28;0;16777215
FontColor=00ffffff
BackColor=XXXXXXXX
;subtitles position in lines from bottom of the picture
SubPos=1
;subtitles start time offset
StartTime=0
;default subtitle 0=off
DefaultSub=1

[Options]
;this will switch the display to full screen, 0=windowed
FullScreen=1
;set default resolution, some older graphic cards may have problem to display properly
; more than 800x600 on TV-out, not necessary for new cards
Resolution=800x600x32
;default audio stream
Audio=1
;default audio channels, numbers according definitions in BSPlayer (2=Stereo ... 6=SPDIF)
AudChan=6

vruminga 26th June 2004 05:08 PM

Ok, Thanks for the post.

But what now if I have the movie on my harddisk? Is it also possible?

artam 30th June 2004 11:19 AM

Quote:

Originally Posted by vruminga
Ok, Thanks for the post.

But what now if I have the movie on my harddisk? Is it also possible?

Doesn't matter. The variables Directory= and FName= in the [Movie] section define the complete path to the movie.
Above described is the case when the bsi file is in the same directory with the avi. If not, simply fill the directory path.

bluedan 2nd July 2004 11:56 PM

Quote:

Originally Posted by artam
[Main]
NumberCDs=1
CD=1

Don't forget to add version=1.00 under this section.

BTW: With the use of a bsi file the player just sticks to the selected audio stream when skipping to next movie file since the very last version.
With the preceding it always forgot your selection.
So if you've had a movie on two cd with 2 audio streams, the player fell back to the 1st audio stream when it comes to the 2nd part no matter which streams you selected when watching the first part.
I'm very glad this nasty habbit stopped now....

artam 6th July 2004 09:44 PM

Quote:

Originally Posted by bluedan
... Don't forget to add version=1.00 under this section...

Well, have it so if you wish, anyway, this version statement seems to have no effect having such a simple script I wrote above, therefore I didn't mentioned it.


All times are GMT +1. The time now is 09:54 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, 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 20