This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:mts2flv [2013/10/14 20:15] – [Convert mts2flv with applescript and ffmpeg] admin | software:mts2flv [2013/10/15 15:59] (current) – admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
The scripts can be downloaded here: [[http:// | The scripts can be downloaded here: [[http:// | ||
mts2flv.app/ | mts2flv.app/ | ||
+ | For alternatives to quicktime, see here: [[http:// | ||
====== Manual installation ====== | ====== Manual installation ====== | ||
- Save the applescript, | - Save the applescript, | ||
- Copy ffmpeg into the following subdirectory of the applescript directory: %%mts2flv.app/ | - Copy ffmpeg into the following subdirectory of the applescript directory: %%mts2flv.app/ | ||
- | - If not, make ffmpeg executable with: | + | - If not, make ffmpeg executable with: |
<code applescript> | <code applescript> | ||
Line 52: | Line 53: | ||
end tell | end tell | ||
-- from http:// | -- from http:// | ||
+ | display alert " | ||
with timeout of 27000 seconds | with timeout of 27000 seconds | ||
do shell script ffmpeg_location & " -i " & quoted form of full_path & " -vcodec flv -f flv -r 25 -s 800x450 -aspect 16:9 -b:v 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k " & quoted form of full_path & " | do shell script ffmpeg_location & " -i " & quoted form of full_path & " -vcodec flv -f flv -r 25 -s 800x450 -aspect 16:9 -b:v 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k " & quoted form of full_path & " |