Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support
Register FAQ Calendar Today's Posts Search

General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 8th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 3
Rep Power: 0
darthnerd is an unknown quantity at this point
Default How to you create a .bsl which allows options to be used?

Hi, i am a newbie in creating .bsl for Bsplayer... so i explain the situation..

Firstly, i created 2 simple .bsl files which can allow me to put to full screen and it starts at the 2 minutes. The first is called testing.bsl and it contains this :

C:\anime\GundamSeed.avi

While the 2nd one is testplaylist.bsl which contains this :

bsplay "c:\anime\testing.bsl" -fs -stime=120

It seems that i able unable to play it when i open "testplaylist.bsl" but i can play the avi file normally when i open testing.bsl...

And also, can i play a vcd format which is AVQ0001.DAT instead of GundamSeed.avi?

Many Thanks who read this :P

Note: All the files in placed in anime folder.
Reply With Quote
  #2 (permalink)  
Old 8th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 3
Rep Power: 0
kaycea is an unknown quantity at this point
Default

Where did you find the list of command line options?
Reply With Quote
  #3 (permalink)  
Old 8th March 2004
Moderator
BS.Player Master
 
Join Date: Jan 2003
Location: Romania
Age: 57
Posts: 5,235
Rep Power: 32
adicoto is on a distinguished road
Default

On the doc folder of your installation folder.
Reply With Quote
  #4 (permalink)  
Old 8th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 3
Rep Power: 0
kaycea is an unknown quantity at this point
Default

The only file in my doc folder is: ini_files.html

It lists what should go into .bsi files for versions >= 1.0

Any other place I can look?
Reply With Quote
  #5 (permalink)  
Old 9th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 3
Rep Power: 0
darthnerd is an unknown quantity at this point
Default

you can look on here...


Command line:

bplay "my file.avi" ["my subtitles.txt"] [options]
or
bplay "my playlist.bsl" [options]
or
bplay "inifile.ini" [options]

File name must always be the first and subtitle file second
argument.

Options are:
-fs Start in full screen
-asx Start with x audio stream
x=1-> 1st audio stream
x=2-> 2nd audio stream
x=n-> n audio stream
x=0-> Semi's Directsound 3D
-stime=x Start movie at x seconds
-nsub Don't show subtitles even if subtitle file exists
-skin=s s=skin name
-lang=l l=language file without extension
-eend Exit when movie is finished
-pan Use Pan-scan
-res=WxHxD Start in specified resolution
W=width, H=height, D=color depth
Ex.: -res=1024x768x16
-ar=x:y Aspect ratio, Ex.: -ar=16:9


Ex.: bplay "my movie.avi" "my subtitles.txt" -fs
bplay "my movie.avi" "my subtitles.txt" -fs -as2
bplay "my movie.avi" "my subtitles.txt" -as3 -lang=English

btw, i am using the 0.86 version one. however, what is the difference of coding other than the syntaxs only... it seems that 1.0 is more on dvd...

8)
Reply With Quote
  #6 (permalink)  
Old 10th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 3
Rep Power: 0
kaycea is an unknown quantity at this point
Default

thanks a lot!
Reply With Quote
  #7 (permalink)  
Old 10th March 2004
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 doubt that you can use command line options in playlists.

As far as I know, bsplayer v0.xx support only the very simple format you describe in testing.bsl (= file names only)

bsplayer v1.0 supports this format plus an internal format able to remember some more infos (type, preferred aspect, full screen); this format is not editable with notepad or such, these playlists must be created with bsplayer

if you want to use your command line with only one file, I'd suggest you use a shortcut or a batch file

for instance create a new shorcut with target
Code:
bsplay "c:\anime\GundamSeed.avi" -fs -stime=120
or a batch file (.bat or .cmd file) which contains:
Code:
bsplay "c:\anime\GundamSeed.avi" -fs -stime=120
if you want that for several videos, maybe a batch file with something like:
Code:
bsplay "c:\anime\RurouniKenshin-01.avi" -fs -stime=120
bsplay "c:\anime\RurouniKenshin-02.avi" -fs -stime=120
(assuming you allow only one bsplayer instance; otherwise add the -eend switch)
I can't think of any other way to do that for every video :-/
Reply With Quote
  #8 (permalink)  
Old 11th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 3
Rep Power: 0
darthnerd is an unknown quantity at this point
Default O i see! :)

Thanks Quietseb! :D

let's say that i am playing 2 files as you had said as below. i presumed that the "-eend" command is placed at "bsplay "c:\anime\RurouniKenshin-02.avi" -fs -stime=120" line? do i stand correct?

if you want that for several videos, maybe a batch file with something like:
Code:
bsplay "c:\anime\RurouniKenshin-01.avi" -fs -stime=120
bsplay "c:\anime\RurouniKenshin-02.avi" -fs -stime=120
(assuming you allow only one bsplayer instance; otherwise add the -eend switch)
I can't think of any other way to do that for every video :-/[/quote]

Btw, it seems that it has a option of start time.. not finish time.. strange huh? anyway, thanks again!
Reply With Quote
  #9 (permalink)  
Old 11th March 2004
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

actually I tested it today and whether or not you allow multiple instance, you have to add the -eend command on each line:
when a line of the batch file is executed, the next line won't be executed until bsplayer has exited => you have to close bsplayer at the end of each movie so it can start the next one.
[oh, and unless you have added bsplayer directory to your %PATH% or the bat is executed from the same directory as bsplayer.exe, you have to put the whole path to bsplayer, like "C:\Program Files\bsplay100.800\bsplay.exe" ("" needed if the path contains spaces)]

note: there are more subtle ways to launch an application from a batch file that would not require closing bsplayer between 2 videos (something like 'start /wait' I think) but I think that would complicate things more than needed


btw I'm sorry I didn't think of that yesterday, but you may achieve your goal more easily with a bsi/ini file. playlists (bsl) are limited, but bsi files allow you to control bsplayer
Check possible options in the doc folder of your install dir, as adicoto said (I'm not up to date to bsi options myself); for sequencing multiple videos using bsi files, have a look at this post.
hope it helps

note: bsi files support is incomplete in bsplayer 1.0 at the moment, so maybe this isn't the best idea. I haven't tested it myself recently.
Reply With Quote
Reply

Tags
create, options


Posting Rules


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


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