mplay & tcltk

   3231   2   0
User Avatar
Member
201 posts
Joined: July 2005
Offline
For those who may be using TCLTK …

I was able to use “iplay” with tcltk using a command like:
catch

So, I thought with mplay I could easily do:
catch

Unfortunately, mplay keeps reporting to me that it cannot open Ctemp/test*.jpg

I have tried many variations such as:






I've even tried globbing a list out and feeding that but to no avail.
Any thoughts? Thanks in advance.

BTW. The \ character is suppose to be a backslash but for some reason it appears like this.
Cheers,
Rob
Digital Supervisor | Stargate Studios Toronto
User Avatar
Member
201 posts
Joined: July 2005
Offline
I found a workaround. Basically, I need to create a list of images and feed that as an argument to mplay. It looks something like this:

set list
catch “exec mplay -f 1 5 $list”

I could have sworn that I tried this last night - eyes must have been playing tricks with me :shock:

Anyways, only concern now is a string overflow if I try to view a large sequence. Will let ya know how it goes.
Cheers,
Rob
Digital Supervisor | Stargate Studios Toronto
User Avatar
Member
7732 posts
Joined: July 2005
Online
I doubt this would have worked with iplay either:
catch

And this would probably work
catch
  • Quick Links