Hello everybody, I couldn't find any help so far so I wanted to ask the community. Thanks in advance for any suggestions to solve my problem!
I want to create YouTube content and am using my Sony Alpha camera, my MBP and the video editing software lightworks. Lightworks is not working fluently with .mts files.
the Sony Alpha puts all the footage it shoots in a folder named "private". In this folder it creates an archive "AVCHD". inside this archive you'll find another archive named "BDMV" inside of which you finally have the footage, all films together. Nobody really knows the why of the naming nor why Sony uses such a confusing and annoying way of packing the footage created with their cameras. Mystery!
Anyways, I want to create an automator workflow that helps dealing with this:
I want automator to start when I add a new AVCHD archive to the PRIVATE folder
I want it to extract the archive BDMV from the AVCHD Archive
I then want it to open the BDMV archive
I want it to navigate to the .mts files inside that archive
I then want it to run the following script in order to convert the .mts files into .mov :
#! /usr/bin/env bash
## echo $@ > /Users/macbook/Downloads/test.txt
for i in `ls -1 ./*.MTS` ; do /Users/macbook/Downloads/ffmpeg -i $i -c copy -copyts ${i%.*}.mov; done
The idea is having automatically generated .mov files thank to ffmpg
Can anybody help?? THANKS AGAIN!!!
I want to create YouTube content and am using my Sony Alpha camera, my MBP and the video editing software lightworks. Lightworks is not working fluently with .mts files.
the Sony Alpha puts all the footage it shoots in a folder named "private". In this folder it creates an archive "AVCHD". inside this archive you'll find another archive named "BDMV" inside of which you finally have the footage, all films together. Nobody really knows the why of the naming nor why Sony uses such a confusing and annoying way of packing the footage created with their cameras. Mystery!
Anyways, I want to create an automator workflow that helps dealing with this:
I want automator to start when I add a new AVCHD archive to the PRIVATE folder
I want it to extract the archive BDMV from the AVCHD Archive
I then want it to open the BDMV archive
I want it to navigate to the .mts files inside that archive
I then want it to run the following script in order to convert the .mts files into .mov :
#! /usr/bin/env bash
## echo $@ > /Users/macbook/Downloads/test.txt
for i in `ls -1 ./*.MTS` ; do /Users/macbook/Downloads/ffmpeg -i $i -c copy -copyts ${i%.*}.mov; done
The idea is having automatically generated .mov files thank to ffmpg
Can anybody help?? THANKS AGAIN!!!