Help creating automator workflow (mencoder)

Hello everyones.
I wonder if anybody want and could halep me with an Automator scirpt.
My relatives use to make lots of family video, then they ask me to merge them to make a single file.
Now, in order to achieve this, i use mencoder. The script is the following:
$ mencoder -oac copy -ovc copy -idx -o outputfile.avi part1.avi part2.avi
So, I'd like to create a service that when I select two or more movie parts it asks me to create the output merged video.
Is it possible through automator?
Thank you in advance for the help.
Cheers!

Hello everyones.
I wonder if anybody want and could halep me with an Automator scirpt.
My relatives use to make lots of family video, then they ask me to merge them to make a single file.
Now, in order to achieve this, i use mencoder. The script is the following:
$ mencoder -oac copy -ovc copy -idx -o outputfile.avi part1.avi part2.avi
So, I'd like to create a service that when I select two or more movie parts it asks me to create the output merged video.
Is it possible through automator?
Thank you in advance for the help.
Cheers!

Similar Messages

  • Automator Help: Create simple workflow to automate opening random playlist?

    I'm fairly inexperienced with Automator. I've figured out how to create some workflows by having it record my actions but this is somewhat limiting. I'm hoping to accomplish something slightly more complex and I've been unable to find an existing thread on this (I may be searching for the wrong terms).
    I'm hoping someone here can help me to create an Automator workflow that will:
    1.) At a specific time on a specific day of the week (i.e. every Wednesday at 4pm)
    2.) Open a randomly selected file from a specified folder (i.e. go to folder "Playlists" and pick one of the 15 .m3u playlists available at random and open it).
    Is this possible with Automator? I've read other posts that seem to suggest something like this is possible but I'm having trouble finding the right building blocks in Automator to make it happen. I'm hoping it's fairly simple because I certainly don't want to ask too much of anyone here. Any help would be greatly appreciated but please don't go out of your way if this is a complex or demanding request.
    My goal is to create a virtual TV channel of sorts. I'd create specialized playlists (i.e. Wednesdays might be sitcom night whereas Thursdays are Sci-Fi night) and my Mac Mini would automatically open one of the multiple "sitcom" playlists (at random) every Wednesday just before I would get home. I love my Mac Mini and Front Row (and Boxee as of late) but sometimes I would like for my computer to be automated so it feels more like a regular TV channel (but one with programming I'm guaranteed to like).
    Thanks everyone. I really appreciate your time and input.

    Do you want to randomly select the playlists, or the items within a particular playlist, or both? Making an iCal alarm plug-in with something like the following will play a random item in the specified playlist:
    1) Get Specified iTunes Items {add your playlist}
    2) Play iTunes Playlist {select shuffle}

  • Create Automator workflow to open Excel file

    Hi,
    First time using Automator and a little confused. Can anyone help me to create this workflow? I'd like to:
    Required
    =========
    1. Connect to our Xserve
    2. Browse through our directory structure to a particular folder
    3. In that folder will be an Excel file
    4. Open the Excel file on my machine
    Nice to have additional actions
    ===============================
    5. Assign the Excel file to a particular window in Spaces
    6. Save the Excel file in the same folder as a new file with today's date in the filename (i.e. Spreadsheet - 25th Oct.xls)
    7. Move the existing Excel file into a new folder in the same directory (already exists, is called OLD)
    This process is currently manual for 4-5 spreadsheets each day and it would be nice to click a couple of buttons and get it all done automatically for me
    Any help is greatly appreciated.
    Thanks in advance.

    I could probably work this out but it might take a while. I did something similar having iTunes open with a specific playlist selected.
    In the meantime try the following and see if Automator lets you see the app that you had built previously:
    1. Find the self-contained app that you created (not an alias).
    2. Drag your app onto the icon that launches Automator.
    I discovered that little trick a while ago by accident. I just tried it again a few minutes ago and it seems to still work.

  • Create Automator workflow/AppleScript to automatically move files within NAS

    Running iMac / Macbook Air (OS 10.9.5), having the Macs connected wireless to the same network as a Seagate Central (NAS). On the Seagate Central and the iMac I have specified a couple of folders which are bidirectional synced via "Sync folders pro", e.g. pictures/movies folders. As a family, we have several iPhones (4S and 5S) with dedicated folders on the Seagate Central / iMac. Having the Seagate Media app on the iPhones, we are able to upload (and thereby free iPhone memory) pictures/movies directly onto the Seagate Central (pictures/movies which then are synced back onto the iMac). However, when uploading pictures/movies from the iPhone to the Seagate central (via Seagate Media app), it is not possible to define a target directory, and the pictures are therefore uploaded to a dedicated directory. I therefore search for some workflow/script to automatically (when new pictures/movies are uploaded, or at a daily basis);
    - Search for pictures/movies within a specific NAS folder
    - Move the pictures/movies to another specific NAS folder
    - Delete all other files/folders within the NAS folder being searched
    New to Automator / scripting, so I hope you bear with me even if the questions are dumb.
    Is it possible to make the NAS recognize a workflow/script without starting the iMac and/or MBA?

    Ok, so I made it a bit further, now having the following Automator Workflow (iCal)
    1. Get requested clients (check for ignore input from this action)
    - afp://192.168.1.86/Public
    2. Connect to client
    - I end up with a mounted disc (Public folder). Note that I end up at the same folder even if using afp://192.168.1.86/Public/iPhone/Photos in step 1.
    3. Get specified Finder items (check for ignore input from this action - to avoid having the Public folder itself following the workflow)
    - Choose the subfolder Public/iPhone/Photos
    4. Get folder content
    5. Filter Finder items
    - Did not get any results by using arguments as "kind is picture" and/or "kind is movie"
    - Ended up using arguments as "name contains jpg", "name contains mov" etc
    6. Move Finder items
    - Destination folder: Public/Pictures/iPhone
    - I now successfully managed to transfer the pictures and movies from one NAS folder to another
    *** I now want to continue the workflow to delete all other Folders/Files on Public/iPhone/Photos ***
    7. Get specified Finder items (check for ignore input from this action - to have no existing input for the remaining workflow)
    - Choose the subfolder Public/iPhone/Photos
    8. Get folder content
    - Results no showing a folder and a file
    9. Move Finder items to trash
    However, I´m encountering a couple of problems with this workflow;
    Note1: If there are no pictures/movies to move (no output from #5 going into #6), the workflow will stop. Any suggestions on how to skip step #6 and go to #7 if there are no pictures/movies to move? Applescript within Automator? Setting up the workflow as iCal (regular basis), so would be nice if the workflow just completes without errors (i.e. still goes on with deleting other files on the folder, even if there are no pictures/movies to move).
    Note2: Step #9 result in a error "Finder could not move the specified items to trash". Has this something to do with a folder and some other file being attempted deleted from a NAS folder? Any suggestions for how to cope with this problem?

  • Help with Automator workflow!

    I work in graphics at a newspaper. I schedule items for publication with iCal. I want to set up an action that will move documents from one folder to another when the event they are associated with in iCal is passed.
    For example. I have a calender called legals. I schedule the legals to run on a certain date, repeat them as required and then attach the document to the event so it is right there handy when I get ready to publish them. I have a folder called "legals" where all of these files are kept. I find this a wonderful system. What I want for Automator to do is to move the files to a folder called "old legals" when the event has passed in iCal. I am not very familiar with Automator but have been trying to do this for a while and can't figure it out. Any help in this would be greatly appreciated.
    ~Chris

    If you can identify which files need to be moved on what days, you can still do it. Somehow, you have to name them, or organize them so that the computer can identify which ones need to move.
    There is no "mind-reader" action to figure out which files you're thinking about.
    Once you've established a method by which you can identify the particular files, instead of 1) and 2), use Find Finder Items, search in the legals folder, and set the criteria by which you can find the appropriate items.
    Make a different workflow for each particular set of items.

  • Need help creating an AUTOMATOR workflow.

    Sorry if this is the wrong area, but I couldn't find an Automator specific category.
    I currently have a folder containing a bunch of avi's that I wish to convert for watching on an Apple TV.
    I currently use Visual Hub, but find that I occasionally get a bad encode from it.
    I was hoping to set up an automator workflow that does the following:
    1. Whenever an avi appears in a specified folder it converts is using Quicktime's Apple TV Export feature.
    2. Moves the new file to another specified folder.
    3. Add's it to iTunes.
    4. Deletes the original.
    If someone could help me out in writing the workflow, that would be awesome.
    Or even if you know of an already existing automator workflow that did this would be cool.
    Thanks.

    Open Automator.
    Choose Folder Action for the type of workflow.
    Set the folder you want to watch in the top gray bar (Folder Action receives files and folders added to)
    Click on Movies in the Library panel
    Drag Export Movie action to the right workflow panel
    Choose the output type and location. I wouldn't delete files until I know they work.
    Save the workflow.
    Now, just drag .avi's to the folder you chose in the first step. You will see the gear run in the menu and when it stops, the new converted files will be in the folder you chose in the Export Movie action.

  • HT2488 How do I create a workflow in Automator or a script in AppleScripts to download an excel file from a specific webpage?

    I would like to create a workflow in Automator or a script in AppleScript (or a combination of the two), that opens Safari to a specified page and downloads an excel file from this page and saves the downloaded document to my desktop.
    Is this something that be done? If so, how?
    I have so far been able to build a workflow in Automator to open Safari and added an AppleScript that takes Safari to a specific page that has an Excel document.
    I can't figure out where to go from here... Any help would be apprecitated.
    Thanks!

    Would you have the web address the excel sheet is on?
    Is there a simular web page you could point to if not?
    Would there be a copy of the file on an FTP page.  This would be easier. 
    curl
    http://www.cyberciti.biz/faq/mac-os-x-terminal-download-file/
    http://www.thegeekstuff.com/2012/04/curl-examples/
    http://curl.haxx.se/docs/manpage.html
    Macintosh-HD -> Applications -> Utilities -> Terminal
    # Press return to run a command.
    the curl is a terminal command ( Unix ).  It allows you to read a file off of the web.
    man curl
    provides cryptic information on the commnad curl.
    press the space bar to advance  a page.
    press letter to q to quit.
    What you may have to is to read in the web page as a text file.  Go "fishing" through the page to find the excel file you need.  Once you find the file, you can use curl to read the file.
    curl is a very full featured command.  (read complex to figure out ).
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set desktopPath to (path to desktop) as string
        log "desktopPath = " & desktopPath
        set unixDesktopPath to POSIX path of desktopPath
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "ls -l  " & quotedUnixDesktopPath
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run

  • Help with creating Automator Folder Action

    Hi
    I want to create a folder action to empty my Caches from my both System and User Library files. I want a little help in creating the workflow. I tried to create a workflow, but the problem is it was asking for the system password when I selected the Library cache folder from my System. How can I create a workflow and save it as a plugin for my everyday action...
    thanks in advance..

    HI,
    Not sure if Automator can do that but AppleScript might. Post here for help.
    (Applications/Utilities)
    http://discussions.apple.com/forum.jspa?forumID=724
    Carolyn

  • Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Maybe it's set as a login item:
    - System Preferences: Users and Groups:
    - Highlight your user account in the left pane/list
    - Click "Login" tab at the top.
    See if you have an Automater action on the list
    - Note, you can select it, then right-click, and can then select "Reveal in Finder". That way you might have an idea what installed it.

  • Aperture Workflow - need help creating workflow for photo management

    Hi -
    I currently shoot with a Canon SD890 (point & shoot) and a Nikon D300 (SLR). My photography is either personal photography or street photography. I may use some of my photography for a web project but that should not be considered right now. I shoot jpegs with the SD890 and RAW with the D300. I need to create a workflow that will allow me to manage all of my photos as well as the RAW vs JPEG aspect. Here are a few initial questions:
    1) Should I separate the RAW and JPEGs in Aperture (two libraries)? One library for finished photos and one for negatives?
    2) What folder structure should I use? Since I am not a professional photographer, I won't be shooting projects. I think something date or event driven would be best (preferably both).
    I am interested to hear how others do this...especially if you use both point & shoot and SLR cameras.
    Thanks for your help!

    jnap818 wrote:
    1) Should I separate the RAW and JPEGs in Aperture (two libraries)? One library for finished photos and one for negatives? I am interested to hear how others do this...especially if you use both point & shoot and SLR cameras.
    No, use a single Library. Aperture will have no problems with the various formats or with various different cameras.
    2) What folder structure should I use? Since I am not a professional photographer, I won't be shooting projects. I think something date or event driven would be best (preferably both).
    Actually those date or event driven batches of images are very logically "Projects" in Aperture. Simply name each group of images as you import into AP as a new Project.
    IMO it is not good to import camera-to-Aperture (or direct to any app other than the Finder). Best is to use a card reader and use the Finder to copy images from the camera card to a folder on the computer hard drive.
    Below is my Referenced-Masters workflow:
    • Remove the CF card from the camera and insert it into a CF card reader. Faster readers and cards are preferable.
    • Finder-copy images from CF to a labeled folder on the intended permanent Masters location hard drive. I label that folder with the Project name suffixed with _masters, that way I can always find the Masters if Aperture forgets where they are.
    • Eject CF.
    • Burn backup copies of the original images to DVDs or to hard drives (optional backup step).
    • Eject backup DVDs/hard drives (optional backup step).
    • From within Aperture, import images from the hard drive folder into Aperture selecting "Store files in their current location."
    • Review pix for completeness (e.g. a 500-pic shoot has 500 valid images showing).
    • Reformat CF in camera, and archive DVDs of originals off site.
    Note that the "eject" steps above are important in order to avoid mistakenly working on removable media.
    I strongly recommend that every Aperture user spend $35 and work through the tutorial CD Apple Pro Training Series: Aperture 2 (Apple Pro Training Series) by Ben Long, Richard Harrington, and Orlando Luna (Paperback - May 8, 2008), Amazon.com. Note that the value is in working the tutorial, not in using the book as a manual.
    Good luck!
    -Allen Wicks

  • Create a workflow on automator. Download attachments from email and import to iphoto

    I would like to create a workflow on automator to do the following task: save email attachments (photos) from an specific inbox to downloads, for example, and then, import to iphoto.
    I would like to do this on automator rather than applescript.
    I have tried using "get an especific mail item" and then "get attachments", but it does not work.
    Thank you very much

    I would like to create a workflow on automator to do the following task: save email attachments (photos) from an specific inbox to downloads, for example, and then, import to iphoto.
    I would like to do this on automator rather than applescript.
    I have tried using "get an especific mail item" and then "get attachments", but it does not work.
    Thank you very much

  • How to I create an Automator workflow to batch convert Quicktime movies to

    I want to know the best way to create a Automator workflow to batch convert movies in Quicktime Pro using H.264 compression and save as a .mov file?
    Thanks in advance for reading and replying to my post,
    Sebastian

    You might find something in this database.
    Automator Actions Database

  • Help creating an iCal event workflow

    I'm trying to create a workflow where I run & a window pops up so I can add the details & then it adds the details to iCal.
    I was trying to use the 'New iCal Events' action which when run display a window where you can enter the details, but it won't work properly for me. If I run it from Automator the details I enter are added correctly to iCal, but if I run it from the workflow I saved (as an app) the details I enter don't get transferred to iCal.
    Is this a bug, or am I doing something wrong?

    don't hope too much. automator bugs haven't received high priority in the past. you might want to look for a workaround using apple script.

  • Automator workflow help: Moving files

    I am have trouble with an automator workflow. My ultimate goal is to create a image capture plugin that will create a dated folder with two subfolders for 'PNG' and 'JPG' files. Thus far I've been able to get the creation of the folder hierarchy I'm trying to create but when once action to import files from my device pulls the files I want I'm having trouble sperating the two file types into there subfolders.
    As it stands my work flow consist of the following actions and variables:
    *Image Capture plugin work flow*
    1. New Dated Folder (Action)
    2. Set Value of Variable (Variable)
    [Variable: 'Folder' So that I can ref back to this variable]
    3. New Folder (Action)
    [Folder name: 'PNG' using the 'Folder' variable to store this new folder]
    4.Set Value of Variable (Variable)
    [Variable: 'PNG']
    5. New Folder (Action)
    [Folder name: 'JPG' using the 'Folder' variable to store this new folder]
    6. Download Pictures (Action)
    This is the point in wich I get stuck.
    I've tried a few Files & Folders actions but I'm unable to parse by file extension.
    (I've tried both Filer Finder Items and Find Finder Items actions set to the file extension but keep pullling all my files to one sub folder or the other.)
    Any advice would be much

    The Filter Finder Items action should do it - for example, get the original items (and save for later), filter/move one set of items, get the original items back and filter/move another set of items, etc.  Be aware that the period is not a part of the extension, and watch out about mixing previous results into the current set if input items.  Each action has an Ignore Input option (where appropriate) - for example, when getting the original items from a variable, ignore the input so that the previous results (e.g. the path of moved items) don't get mixed in.

  • My Automator Workflow suddenly Stop working. HELP!

    Ok, I work on a high media production facility and every day I need to send audio files on a server. I create a workflow that has been working fine since day one. Yesterday I received a call from the network department saying they didin't received the files correctly (some files were missing and some of them duplicated) I check my files and every each of them were fine. I tried again and it was a mess again. I ended doing it manually (because of the deadline) but I don't know what happened. I check the workflow and everything is fine. What is happening? I attached a pic just in case you need to look at it.

    Hey.
    I ran into this simple problem too. The problem is, is that sometimes the workflow will run and pass onto the next action even when it does not complete a process (i.e. copying, saving, etc). It was baffling me as well, why Automator actions would not wait until the full process of the action gets done.
    So I searched around, and I found a great 3rd party automator action (sold at the App Store), where it will make it wait until it completes each action. Here it is:
    You can find the action here. Unfortunately you will need to buy it (comes in a package - but it's cheap). I did and ever since using it, all my automator actions that involve heavy processing got debugged and worked. Thought you should know.

Maybe you are looking for