• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing video file to shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing video file to shell script


  • Subject: Re: Passing video file to shell script
  • From: Richard Wolf <email@hidden>
  • Date: Wed, 29 Apr 2009 19:27:20 -0500

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
  • Follow-Ups:
    • Re: Passing video file to shell script
      • From: Robert Croy <email@hidden>
  • Prev by Date: Re: Passing video file to shell script
  • Next by Date: Re: Passing video file to shell script
  • Previous by thread: Re: Passing video file to shell script
  • Next by thread: Re: Passing video file to shell script
  • Index(es):
    • Date
    • Thread