Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: bulla on May 17, 2006, 07:26:19 am
-
Has anyone sucessfully got Media player to work in Mamewah and produce a list of all videos in a certain folder ? If so could you share your configuration with me please ?
I've got a load of mpgs, avi's and m2vs which all play fine in mplayer, I'd just like to be able to generate a list in mamewah of them all and be able to select them from within the frontend.
Thanks for any help.
Bulla
-
Bulla hi.
To generate and play your mp3 files you can do something like this:
### List Generation Settings ###
rom_path D:\MUSIK\ROCK\METALLICA
rom_extension mp3
dat_file
nms_file
catver_ini_file
list_generation_method rom_folder
### Execution Settings ###
emulator_executable C:\Program Files\Windows Media Player\mplayer2.exe
commandline_format /play /close D:\MUSIK\ROCK\METALLICA\[name].mp3
This will generate a list with all your mp3 files (in this case from Metallica) and play them thru media player. However, there's a bug with the /close parameter, and wmp doesn't seem to close once the song finishes playing (I've googles and no solution to this bug); so you must exit wmp using alt-f4.
Hope this helps.
Cheers, :cheers:
Congui
-
yes, what was provided should work fine to generate a list of the movies, just change the rom path to your movie path, and the extension to .avi/whatever. Also not sure if you are using Mplayer (http://www.mplayerhq.hu/) (not windows media player) or Windows Media Player, but I believe this uses escape to exit by default, you may just need to start it using '-fs'. May also try VLC.
You could also launch an external application such as Arcade Music Box (http://www.arcademusicbox.com/) from Mamewah.
I will play around with this tonight and add it to the wiki.
-
Many thanks for the replies, to clear up the mis-understanding I was referring to the older version of Microsoft Media Player as it exits with Esc, mplayer2.exe I think ?
Cheers for all the help
Bulla
-
Arcade Music Box was made for using with mamewah in mind. The interface is much the same (miniwah actuelly linked to from his homepage).
Arcade Music Box support videos too (avi, mpg and wmv).
I did not actuelly heard about m2vs files (but works with avi and mpg now)?
m2v is not supported yet. As I find info, it not supported by Mediaplayer 7+, wich AMB use for video playback?). I cannot tried to support this format, because I do not have any files in this format.
-
Just to confirm...
Regarding the close bug.... it's not a bug.
Media player 6.4 supported the close flag while wmp 7 and above does not.
Now you could launching an mp3 via mplayer2.exe (wmp 6.4 which is included with later versions of wmp) but it doesn't have visualizations and thus you'd be looking at an ugly media player, even with the fullscreen flag included.
Probably your best bet for launching a single file is to use winamp. It has similar command line options, it will close with the appropriate flag and you can also set the visualization to run fullscreen via a flag.
Hope that helps and dear god why am I not asleep yet?
Probably your best bet is to use
-
maybe I should add this feature on my todo list....
-
m2v is not supported yet. As I find info, it not supported by Mediaplayer 7+, wich AMB use for video playback?). I cannot tried to support this format, because I do not have any files in this format.
As long as you install the appropiate codecs or filters for the container, MediaPlayer can play any media file. IIRC M2V is MPEG-2 video, and I can watch those perfectly here. I'm using Ligos MPEG codecs.
-
You could also check out my version of Windows Media Player COM object with added ESC key to quit and it also automatically puts the video into fullscreen. It uses WMP 10 engine, so it is basically WMP 10 but fullscreen+ESC to exit.
wmpfull (http://www.iinet.net.au/~freeaxs/mame/wmpfull.zip)
-
Thank you I'll give that a try.
I followed the ini files above and I'm getting the list I wanted in Mamewah, but when I try to launch a file the mplayer2.exe launches but errors saying it cant find the file ? I can then browse to the file ok and play it manually.
I'll give your version a go later, do I use the /full /close switches with it ?
Thanks
Bulla
-
I've copied over your wmpfull.exe but when I try and run I'm not getting anything, no errors either. Can anyone spot anything wrong in my ini file ?
Thanks
### 0004.ini (mamewah v1.61) ###
emulator_title Media Player
### List Generation Settings ###
rom_path E:\Videos
rom_extension mpg
dat_file
nms_file
catver_ini_file
list_generation_method rom_folder
### Execution Settings ###
emulator_executable e:\videos\wmfull.exe
commandline_format /play /full /close E:\Videos[name].mpg
alt_commandline_format_1 {nodosbox}{safelaunch}
alt_commandline_format_2 [name]{autodosbox}{safelaunch}
game_specific_config_path
### Artwork Locations ###
artwork_1_image_path
artwork_2_image_path
artwork_3_image_path
artwork_4_image_path
artwork_5_image_path
artwork_6_image_path
artwork_7_image_path
artwork_8_image_path
artwork_9_image_path
artwork_10_image_path
movie_preview_path
movie_artwork_no 1
### Screen-Saver Settings ###
enable_music_in_screensaver 1
saver_type slideshow
movie_path
movie_fullscreen 1
quit_delay 30
wrapper_executable
wrapper_commandline_format [name]{nodosbox}{nosafelaunch}
scr_file
### External Application Settings ###
ipc_file_or_path
app_1_executable
app_1_commandline_format
app_2_executable
app_2_commandline_format
app_3_executable
app_3_commandline_format
auto_launch_apps
### Additional Settings ###
music_path
lcd_display_file_path
lcd_fe_text
### Settings used by MAMEWAH ###
current_list 0
-
should be:
E:\Video\[name].mpg
not E:\Videos[name].mpg
right?? Try running it out of mamewah first and make sure it works for you.
-
I have released a another fullscreen movieplayer (commandline only of course), based on a DirectX 7 screen and DirectShow as player (No Windows Media Player 10 required, wich is for me a overkill).
It support definable escape key, and change to any fullscreen resoulutions (see on settings.ini). If you wich, it even support scanlines (display only each another line).
http://www.arcademusicbox.com/index.php?item=extras
The Blitz+ Sourcecode is included......
-
There are no command line options for wmpfull, because it always runs full screen. It should work with just the file name eg.
wmpfull.exe "C:\My Dir\My File.avi"
So you need to remove all the command line options like /play /full and /close. wmpfull.exe will also automatically exit once the media has finished playing to return back to your FE.
It also has the standard WMP 10 context menu, so you can right-click the mouse when the media is playing for other options.