• 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: Converting video files keeping date/time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting video files keeping date/time


  • Subject: Re: Converting video files keeping date/time
  • From: Joao Duarte <email@hidden>
  • Date: Tue, 7 Apr 2009 09:07:20 -0300


Em 06/04/2009, às 10:05, Ben Waldie escreveu:

João,

On Apr 4, 2009, at 9:14 PM, Joao Duarte wrote:

I'm still on that thing of getting all my videos converted for use in iphoto/imovie.
I want to get, say, mpegs from specific folders and convert them to mp4s or other QT format.
I might use an workflow to locate the file, open QT and converting.


Two difficulties arouse:

When i convert, i lose the original date/time, so I can't play photos (not converted) and videos in sequence.
Is there a way to keep the information of the original date/time and then changing the date/time of the converted files (this is not impossible, it is only impractical for hundreds of files)? Something with Variables?


2 to get files from a bigger folder and its subfolders and be able to store the path in a way to put the converted file in the same folder? Again, Variables?


You can certainly use variables in Automator to store a path, and reference it later. You can find some tips for using variables in episodes 13 and 14 of my video podcast series "Mac Automation Made Simple" <http://www.automatedworkflows.com/tips/podcast.html> and in iTunes, as well as my Macworld article "Automator Power: Variables and Looping" <http://www.automatedworkflows.com/tips/users/macworld/macworld.html >. And, of course, more comprehensive variable usage is covered in my book "Automator for Mac OS X 10.5 Leopard: Visual QuickStart Guide" (Peachpit Press) <http://www.automatedworkflows.com/books/automator_vqs.html >.

==> I watched it, it is very instructive. I think i will be able to edit the files and put them in the original folders using this system. I had no idea how to work with variables, but they are really very powerful.

Regarding changing the modification date of the converted files, there's probably not an easy way to do this. I did released an action called "Set Modification Date of Finder Items" <http://www.automatedworkflows.com/software/automator_actions/finder.html >. However, there's not an action that I'm aware of for retrieving the modification date of files, and my action won't work with date variables.


One possible solution might be to use the "Sort Finder Items" action to sort your files alphabetically. Then, perhaps you could use the "Rename Finder Items" action to rename the files in the correct order, or to add a numeric prefix, so they sort properly.

I resist to change all file names. Perhaps i try to put the date and time as filenames.


Many thanks.
João

Hope this helps.

-Ben

Ben Waldie
President
Automated Workflows, LLC
610.935.0652
=============================================
 AppleScript * Automator * Workflow Automation
 Products, Training, Custom Development Services
 <http://www.automatedworkflows.com>
=============================================

_______________________________________________
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
References: 
 >Converting video files keeping date/time (From: Joao Duarte <email@hidden>)
 >Re: Converting video files keeping date/time (From: Ben Waldie <email@hidden>)

  • Prev by Date: Re: itunes info imported from excel file
  • Next by Date: Re: itunes info imported from excel file
  • Previous by thread: Re: Converting video files keeping date/time
  • Next by thread: itunes info imported from excel file
  • Index(es):
    • Date
    • Thread