Re: Converting video files keeping date/time
Re: Converting video files keeping date/time
- Subject: Re: Converting video files keeping date/time
- From: Ben Waldie <email@hidden>
- Date: Mon, 06 Apr 2009 09:05:16 -0400
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
>.
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.
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