Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > Bug Reports And Codecs
Register FAQ Calendar Today's Posts Search

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 20th April 2005
Smarties's Avatar
Member
BS.player Regular User
 
Join Date: Jun 2002
Location: USA
Posts: 55
Rep Power: 0
Smarties is an unknown quantity at this point
Default Command line switches and BSI/INI files mutually exclusive?

Hi all,

I find that if I load a movie via a .ini file, any switches I specify in the command line are ignored.

Setup is as follows: I have an extremely complicated movie with 7 subtitles and 3 audio streams and would like to make a standalone CD using as few .ini files as possible!

I launch the movie using the command line
bsplayer.exe (ini file).ini -ac(stream #)

For example, bsplayer.exe FR.ini -ac2 should launch a movie with french subtitles and an english soundtrack (audio stream 2 corresponding to english).
I have 7 INI files differing ONLY in their "DefaultSub=" line

However, starting BSPlayer like this will ALWAYS start the first audio stream (hence it ignores the -ac2 switch!)

Of course, I am NOT defining Audio= in the EN.ini file (thinking BSPlayer would load the audio stream from the command line switch).

Am I making myself understandable here? :roll:

If I can't "mix'n'match" INI files and command line switches, I would have to write 21 ini files (!) for this movie to cover all possible situations...
I know I can just switch subtitles/audio within BSplayer once the movie is playing,
but I would like to make a "DVD-like" autolauncher with a subtitles menu and a audio menu...

Thanks![/b]
Reply With Quote
  #2 (permalink)  
Old 20th April 2005
BSPeter's Avatar
Moderator
BS.Player Master
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 5,463
Rep Power: 33
BSPeter is on a distinguished road
Default Re: Command line switches and BSI/INI files mutually exclusi

Quote:
Originally Posted by Smarties
I launch the movie using the command line
bsplayer.exe (ini file).ini -ac(stream #)

For example, bsplayer.exe FR.ini -ac2 should launch a movie with french subtitles and an english soundtrack (audio stream 2 corresponding to english).
Isn't the audio stream parameter -as(stream #) instead of -ac(stream #)?
__________________
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!
Reply With Quote
  #3 (permalink)  
Old 21st April 2005
Smarties's Avatar
Member
BS.player Regular User
 
Join Date: Jun 2002
Location: USA
Posts: 55
Rep Power: 0
Smarties is an unknown quantity at this point
Default Ooops, my bad!

Sorry about that, I made a typo in my post indeed!

Yes of course the parameter is -as(stream#).

However, I had written it correctly in my command line files,
so my post is still valid!!
__________________
Athlon64 XP 2800
2048 MB PC2700
EPOX EP-8KDA-3+ (nVIDIA nForce 3 250GB)
ATI Radeon 9700
3x250GB SATA-150 RAID5, 2x 120 GB ATA-133
DVD Pioneer 106S 10/40 x
DVD+-RW Plextor PX-712SA
Windows XP SP2 (32 bit), Linux SuSe 9.1 (64 bit)
Reply With Quote
Reply

Tags
bsi or ini, command, line, switches


Posting Rules


All times are GMT +1. The time now is 11:30 AM.


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