Sample Header Ad - 728x90

How do I trim first and last few seconds of a mp4 using AppleScript?

1 vote
1 answer
475 views
I'm using Mac 10.13.3. I want to trim the first second and the last two seconds from my mp4 (movie). I tried writing an Applescript like so trim output.mp4 1 from (0*60 + 1) to (32*60 +38) but when I try and save it, I get the error A identifier can’t go after this identifier. Could someone provide some guidance on how to correct my script? When I try and trim using the QuickTime GUI, I find I can't move the trim bars by just a second or two with my mouse (it seems to move in large increments), otherwise I'd use that route.
Asked by Dave (361 rep)
May 28, 2018, 02:02 PM
Last activity: Jun 22, 2020, 10:18 PM