Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Syxx on July 19, 2003, 05:34:37 am

Title: Anyone know a command line Video Player?
Post by: Syxx on July 19, 2003, 05:34:37 am
just lookin for a basic video player that can do divx, avi, mpg video launched from mamewah and exit with escape..or easily.

any ideas?
Title: Re:Anyone know a command line Video Player?
Post by: stuzza on July 19, 2003, 06:51:36 am
I just use Windows Media Player to achieve this (In Windows 98).  Simply create a directory with a bunch of batch files which will load your favourite videos.

E.g. in the directory create a batch file called:
Music Video - Michael Jackson - Bad.bat

In this file put:
Quote
@echo off
cd "c:\program files\windows media player\"
mplayer2.exe /play /close /fullscreen "c:\music videos\Michael_Jackson_bad.mpg"

/play = automatically start playing once loaded
/close = close media player when finished
/fullscreen = run video in full screen mode

Then all you need to do is setup a config file for Mamewah which has the emulator executable set to "PC" and the ROM Filename extension set to "bat"
Title: Re:Anyone know a command line Video Player?
Post by: visciouslymamed on July 19, 2003, 07:50:05 am
Check out Media Player Classic here http://vobsub.edensrising.com/mpc.php (http://vobsub.edensrising.com/mpc.php). ;D
Title: Re:Anyone know a command line Video Player?
Post by: Howard_Casto on July 19, 2003, 03:03:43 pm
You don't have to check out medai player classic... I can guarantee you that the old version of wmp is on EVERY machine that has a recent version of wmp installed.  That is because wmp classic is installed along with it under the name "mplayer2" as the other poster talked about.  

Btw you don't have to go to all of that trouble with the path.....

try "start mplayer2.exe /play /close /fullscreen filename.mpg"

mplayer2 is a registered windows program, and therefore you never have to type the path as long as you type "start" first.  This goes for a ton of windows apps (like notepad)  Just a tip there.  :)
Title: Re:Anyone know a command line Video Player?
Post by: stuzza on July 19, 2003, 11:19:51 pm
Great tip Howard!  Didn't know that neat trick.  You programmers always like to cut code down to the least number of lines don't you!  :) lol