View Single Post
  #3 (permalink)  
Old 18th January 2008
BSPeter's Avatar
BSPeter BSPeter is offline
Moderator
BS.Player Master
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 5,463
Rep Power: 32
BSPeter is on a distinguished road
Default

You did read file "cmdline.txt" in the (sub)folder "doc" of BS.Player's installation folder I suppose. Anyhow, I think you could use BS.Player's feature to run a playlist for your purposes. This feature has been around since the very early days of BS.Player. I hereunder copy the info of BSPlayer version 0.86
Code:
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


Subtitles:

Subtitles must be in the same directory as movie
Ex.: The Matrix.avi -> The Matrix.srt (.txt, .sub)
you can load them from the menu or you can supply them in 
command line
Supported subtitle formats: MicroDVD, SubRip, Subviewer, 
TMPlayer...


Playlist:

Just a simple text file with .bsl extension.

Ex.:

--
c:\movies\The Matrix.avi
c:\movies\somefile.avi
d:\videos\myvideo.mpg
--
Note, that at that time the executable was bplay.exe instead of bsplayer.exe!
So at present the commandline instruction to run a playlist would be (didn't try whether it still works!):
bsplayer.exe "playlist.bsl" [options]
(depending from where you start it "bsplayer" could have to be full path and name of bsplayer.exe; this is also valid for the playlistfile)
In fact also simply "running" the playlist.bsl file should do the trick as well (on the understanding that the file-extension .bsl is properly associated with BSPlayer).
Suppose you know how to create a playlist?
Perhaps also read these posts:
http://www.bsplayer.com/forum/viewtopic.php?t=6131
http://www.bsplayer.com/forum/viewtopic.php?t=2672
__________________
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
 

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