Jump to content


mplay from a windows cmd prompt?


  • Please log in to reply
6 replies to this topic

#1 thekenny

thekenny

    Illusionist

  • Members
  • PipPipPip
  • 366 posts
  • Joined: 16-August 02
  • Name:the kenny

Posted 22 September 2009 - 05:25 AM

Hey,

Anyone try to use mplay.exe from the cmd prompt in windows? I've tried it and from the command console you get in windows.. and I've still can't get it to work. I know on windows it is the executable that needs to be able to evaluate the command line information not the shell interp'ing them (like you get in linux)

From the command line tools prompt:

"cd" to the location where you have series of directories "A","B","C" and the each have 100 frames in them. I would like to be able to go to the root directory and do something like this:

mplay *\*.0012.exr

anyone able to shed light on this?

I can specify this and it works --> mplay A\*0012.exr

So it looks like the leading wildcard is borking.

Thoughts?
-k

#2 Marc

Marc

    odforce ninja : NVTS

  • Administrators
  • 4,042 posts
  • Joined: 25-June 01
  • Location:R&H - Vancouver
  • Name:Marc Horsfield

Posted 22 September 2009 - 08:42 AM

eek! I shudder at the very thought of that.

Sorry... I can't be more help, I just thought I'd express my horror and sympathise with you for a bit.

M

P.S. Could you maybe use Cygwin?
"I am mighty! I have a glow you cannot see. I have a heart as big as the moon, as warm as bathwater. We're superheroes, man! We don't have time to be charming! The boots of evil were made for walking. We're watching the big picture, friend. We know the score. We are a public service, not glamour boys! Not captains of industry! Not makers of things! Keep your vulgar moneys! We are a justice sandwich, no toppings necessary!

#3 michael

michael

    The Deaf Stamp!

  • Administrators
  • 3,769 posts
  • Joined: 25-June 02
  • Location:Toronto, Canada
  • Name:Michael Goldfarb

Posted 22 September 2009 - 09:10 AM

ugh...
yeah cygwin might be the best bet...good luck getting that installed ;)

not sure about this but...
http://www.microsoft...ll/default.mspx

it has the word "power" in it so it must be good!
Michael Goldfarb | CG Supervisor | Mr. X

#4 thekenny

thekenny

    Illusionist

  • Members
  • PipPipPip
  • 366 posts
  • Joined: 16-August 02
  • Name:the kenny

Posted 22 September 2009 - 09:21 AM

thanks for the sympathy....

I tried a hybrid cygwin I have access to, but no dice.
I'll try the vanilla one next, and the awesome sounding "power shell".  

It's not so much the install of cygwin, but the configuration of it... I'll have to look on the odforce wiki..if memory serves me correct I think there might be a page on it there.

Thanks.
-k

#5 Alanw

Alanw

    Initiate

  • Members
  • PipPip
  • 173 posts
  • Joined: 22-October 07
  • Name:Alan Warren

Posted 22 September 2009 - 12:28 PM

View Postthekenny, on 22 September 2009 - 09:21 AM, said:

thanks for the sympathy....

I tried a hybrid cygwin I have access to, but no dice.
I'll try the vanilla one next, and the awesome sounding "power shell".  

It's not so much the install of cygwin, but the configuration of it... I'll have to look on the odforce wiki..if memory serves me correct I think there might be a page on it there.

Thanks.
-k

This works for me with cygwin, which is fairly default I think.  I'm pretty sure it's picking up %PATH% from my standard windows location, but I know you can add your own in C:/cygwin/etc/profile or the Cygwin.bat file itself can be edited.  Mine had this in it, which I can't remember doing so it must have been one of many things I attempted.
@echo off

set IS_UNIX=
set DEV_ROOT=C:/myuserdata/data_root/shaders
set JAVA_HOME=C:/Progra~1/Java/jre1.6.0_05

C:
chdir C:\cygwin\bin

bash --login -i

Also, you should be able to go into $HFS/bin and execute csh.exe.  I just launched it and navigated to a dir with multiple folders containing sequences and mplay A/*.pic works.  

-Alan

#6 stevenong

stevenong

    Grand noob

  • Members
  • PipPipPipPipPip
  • 1,312 posts
  • Joined: 02-July 02
  • Name:steven ong

Posted 22 September 2009 - 01:29 PM

There is a csh which installs with Houdini so launch the Command Line Tools command prompt, type csh to start it and mplay *.exr should work now.

Cheers!
steven

#7 thekenny

thekenny

    Illusionist

  • Members
  • PipPipPip
  • 366 posts
  • Joined: 16-August 02
  • Name:the kenny

Posted 23 September 2009 - 05:04 AM

ugg,

nadda in the power shell.

to the cygwin...(sigh)

View Postmichael, on 22 September 2009 - 09:10 AM, said:

it has the word "power" in it so it must be good!

spoke too soon..
seems they have a csh & bash on my cmd prompt path.. so when I type either one.. i'm in a shell.

NOW.. mplay works like I remember...
oh the joy...
now I get to totally geek out and customize it...
-k

Edited by thekenny, 23 September 2009 - 05:10 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users