MAC OS X: Forum

AppleScript app for removing tracks from Quicktime files

COW Forums : Apple OS X

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Drew Lahat
AppleScript app for removing tracks from Quicktime files
on Oct 31, 2012 at 4:05:01 am

I usually post questions, but here's an answer for once:

There are some scenarios where you want to get rid of audio or video in a bunch of Quicktime files. When syncing audio and video in FCP or Avid, the clips must contain only audio or video tracks, respectively. Perhaps you rolled audio in a video camera and the picture is useless and just takes up space. Conversion can be lossy, slow, and you may lose timecode.

Deleting tracks is possible (one file at a time) via Quicktime Player's "Show Movie Properties" feature, but I got very annoyed one day when I had 60 files to process...

I ended up developing a little app that does just that: it batch-removes video or audio tracks from a list of QuickTime files. It's also written in AppleScript, which means you can use the source code to modify it in any way you want, and learn how to control Quicktime with AppleScript.

More info and download:
http://www.precisionpost.com/channels/videovillage/2012/10/delete-tracks-from-quicktime-files---applescripting-qt.html


Return to posts index

max rosenheim
Re: AppleScript app for removing tracks from Quicktime files
on Aug 26, 2014 at 7:24:44 pm

Donwload link's broken, would you be as kind as to share that script again?
=) thanks


Return to posts index

Drew Lahat
Re: AppleScript app for removing tracks from Quicktime files
on Aug 26, 2014 at 9:33:52 pm

Indeed, the website has been redesigned just recently so my little section is no more... For now, you can download the application and source code here:
http://www.drewlahat.com/misc/DeleteQTTracks.zip
http://www.drewlahat.com/misc/DeleteQTTracks.txt

The original page (with brief documentation) can be found at the Wayback machine...

It also appears that Mac Informer stores a copy of the app, although it hasn't been validated by me.
http://macdownload.informer.com/delete-qt-tracks/download/


Return to posts index


luke sloma
Re: AppleScript app for removing tracks from Quicktime files
on Nov 4, 2014 at 6:27:06 pm

This is great! Is there a way to delete the Timecode tracks as well?


Return to posts index

Drew Lahat
Re: AppleScript app for removing tracks from Quicktime files
on Nov 5, 2014 at 7:12:35 am

There is... just open a QT file (in QT Player 7), hit Cmd+J, choose the timecode track and delete it...

This of course does it one file at a time, not automated. Also note that if you need more QT manipulation capabilities, I recommend VideoToolShed's QTChange utility. More powerful and useful that my script :-)


Return to posts index

luke sloma
Re: AppleScript app for removing tracks from Quicktime files
on Nov 5, 2014 at 4:10:17 pm

Thanks for the reply! I got this far, I was just curious if your script could be altered to batch remove the timecode tracks for, say, 282 clips.

For whatever reason, QTC won't strip TC tracks from my ProRes source. However, my version may be out of date.

luke


Return to posts index


Drew Lahat
Re: AppleScript app for removing tracks from Quicktime files
on Nov 8, 2014 at 4:27:08 am

Let me start with an "Avid question"... why would you need to do that?


Return to posts index

Bouke Vahl
Re: AppleScript app for removing tracks from Quicktime files
on Nov 16, 2014 at 3:55:13 pm

Eeh Luke,
You're referring to QTchange?
If so, it 'should' work. But do note, deleting tracks DISABLES them.
(since there is no new clip generated, there is only a small change in the metadata of the file.)

It can't be a version problem afaik (but you can always download the latest demo, and that's probably a free upgrade).

One thing to check, you do have read/write persmissions on the files?

hth,

Bouke

http://www.videotoolshed.com/
smart tools for video pros


Return to posts index

max rosenheim
Re: AppleScript app for removing tracks from Quicktime files
on Sep 27, 2015 at 2:42:48 pm

A bit delayed but wanna say thanks =)
For those formats that QT doesn't handle (i.e. hevc) I found using this ffmpeg's code quite useful - ffmpeg -i [input_file] -vcodec copy -an [output_file]
A good for y'all


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]