Re: Passing video file to shell script
Re: Passing video file to shell script
- Subject: Re: Passing video file to shell script
- From: Robert Croy <email@hidden>
- Date: Thu, 30 Apr 2009 07:20:07 -0500
Thank you for explaining my request better then me. When I wrote this
question I only had three hours of sleep.
Thanks also to Itai, I should have thought of using variables for the
location of the video file. Right now I am running the two scripts
separately. I will try again to combined them into one.
On Apr 29, 2009, at 7:27 PM, Richard Wolf wrote:
I think this might be inside baseball ... but I know Robert and I'm
willing to bet I can explain the plist connection. It's called
Podcast Producer. :)
Podcast Producer uses workflows to do video post-processing. PcP
workflows are in the form of plist files that are stored on Xserves
running the PcP service. I think what Robert is trying to do is
modify a Podcast Producer workflow, given the names of the video
files he wants the workflow to operate on.
On Apr 29, 2009, at 7:18 PM, Itai Rom wrote:
Hi Robert,
I'd like to help but I'm not sure I understand your workflow.
What's the relationship between the plist and the video file? Do
you need to upload both files? What items are in the first Get
Specified Finder Items action? I'm guessing that the action is
getting the path to a video file, in which case it seems like you
could save the output of that action into a variable and then add a
Get Value of Variable action before the Run Shell Script action, or
insert another Get Specified Finder Items action before the Run
Shell Script action. You may need to make these additional actions
ignore their input in order to only pass the video file path and
not include the plist path.
-Itai
On Apr 29, 2009, at 8:03 AM, Robert Croy wrote:
What I need to do is to send a video file to a server for
processing. My workflow looks like this now:
Get Specified Finder Items
Get Names of Finder Items
Set Value of Variable(video file name)
Get Specified Text(body of a plist)
Get Value of Variable(video file name)
Combine Text Strings
Find and Replace(to add the variable to end of the plist)
Write Text to file
Run Shell script(to upload video file to server)
Move file to Trash
Run Applescript(delay 900 so the script will run again in 15
minutes)
Loop( to get back to start of script) This will be replaced with
the auto looping utility)
What is happening is that the file name is read and written to the
file Running the script only uploads the plist file as if it is
the video. I have been able to use a similar script to Capture
with Quicktime Pro and send it using the same shell script. What
I don't know is how do I get the video file to be the input to the
shell script?
Robert Croy
Digital Media Specialist
Office of CIO
College of Education
University of Illinois
Champaign, Illinois 61820
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden