How to set codec for Quicktime 7 export with AppleScript
Hello everyone,
I'm new to applescript and I'm having some trouble with a batch export of video files.
I'm trying to transcode several image sequences into .mov using QT 7, via Automator.
I found this code that works:
on run {input, parameters}
repeat with theFolder in input
tell application "Finder" to set theSequence to first item of folder theFolder as alias
tell application "QuickTime Player 7"
activate
open image sequence theSequence frames per second 24
set nameSequence to (theSequence as string) & ".mov"
tell document 1
with timeout of 500 seconds
save self contained in nameSequence with replacing
end timeout
end tell
end tell
end repeat
end run
The problem is that QT automatically sets the output codec as Photo - JPEG, but in this case I need Prores 422. Is it possible to set a different codec?
One other question: I'd like to set a name pattern for the file name. Right now, it picks the name of the image sequence (imag_seq_001.jpg.mov), but i would like to keep only the first part of the name (imag_seq.mov). And i'd need to do this for different sequences (imag_seq_002, 003, ...), using the same script. Is this feasible?
Thank you for your help.
I have a similar question as well. I tried this for you and nothing happened.
on received file transfer invitation theFileTransfer
end received file transfer invitation
I think "completed file transfer" is regarding to the file being transfered to Apple's Server from your computer when a file is sent, but I'm not sure about "received file transfer invitation." Regarding it being an inline file, maybe try using the attachment class.
attachment n [inh. rich text] : Represents an inline text attachment. This class is used mainly for make commands.
elements
contained by rich text, characters, paragraphs, words, attribute runs.
properties
file (file, r/o) : The path to the file for the attachment syn file name
Similar Messages
-
How to set properties for HTTPClient came with WSClient_extends.jar ?
In my web service client application, we need cookie to maintain session between server and client.
I think the server cookie policy is not completely standards compliant since HTTP request to this server through Apache HTTPClient need to setup following:
"http.protocol.single-cookie-header" to be true
cookie policy to be "CookiePolicy.BROWSER_COMPATIBILITY"
My problem is, we are using Oracle WSClient_extends.jar for web service call, WSClient_extends.jar came with it own HTTPClient implemetation.
Are there equlivant properties can be set in Oracle HTTPClient similar to Apache HTTPClient to handle such cookie policy?
ThanksHi,
This is correct; see my blog entry: http://db360.blogspot.com/2007/01/is-your-java-application-failoverproof.html
However, you need to use oracle.jdbc.pool.OracleDataSource and from what i know Websphere does not (yet?) allow bypassing its own connection pool in favor of Oracle driver's embedded conection pool.
Kuassi http://db360.blogspot.com -
How to set privillages for created user with iSQL *Plus
The hosting company has provided ISQL * Plus interface. I have created user by using the following command:
Create user test identified by test;
Grant connect, resource to test;
But I am unable to load or import data into db. How can I import/load data as its giving permission denied message.
I think there is a lack of imp/loading data grants. Who do I set?
Thanks & best regards
Message was edited by:
Raakh1. which version of the database ?iSQL *Plus 10.2.0.1.0
2. how you are trying/want to import/load data ?from online control pannel I am selecting the Load Data option and processing 7 steps. message appears "Successfully Loaded" but when am seeing log file its given me
Step: Load
Page Refreshed Jun 7, 2007 6:38:47 AM
Status Succeeded
Targets orcl
Started Jun 7, 2007 6:38:11 AM GMT-04:00
Ended Jun 7, 2007 6:38:11 AM GMT-04:00
Elapsed Time 0 seconds
Output Log
Username:SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
ORA-12546: TNS:permission denied
SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 7 06:38:11 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Message was edited by:
Raakh -
Problems with mpeg2 codec for quicktime
I just downloaded the mpeg2 codec for quicktime and installed it. My computer doesn't recongnize it and I still can't play mpeg2 clips. When I check the video codecs installed on my computer, the mpeg2 codec doesn't appear in the list even if I did install it. I'm using windows XP. What can I do?
The QuickTime MPEG2 Component comes with an installer. Did the installer run? Did it show any errors?
It is working for me in QuickTime on Windows XP.
Note: Even with this component there are some limitations. It cannot play AC3 sound tracks. It should however be able to play MPEG2 video from .m2v or .vob or .mpg files. -
How to set optional for table structure in functiona module
hi experts,
as i have small doubt regarding
while publishing web service by using rfc where i am unable to set optional for table structure i am able to put optional for import parameters may i know how to set optional for table structure ....
reagrds prabhanjanIgnoring the TABLES/CHANGING/EXPORTING argument...
while publishing web service by using rfc where i am unable to set optional for table structure i am able to put optional for import parameters may i know how to set optional for table structure
Why not? There's no issue with marking a TABLES interface parameter with 'Optional' and publishing the function module or function group as a web service... -
Muse: How to set up a bilingual site with 2 different navigation bars?
Hi,
I would like to create a website in 2 languages, desktop and mobile version. The structure of the page remains the same for each language. How should I create the site so that I get one navigation bar for the first language and a second one for the other language? Is it feasible in Muse?
Thanks for any hint in advance.
Regards,
christineHi Christine,
Some related threads,
Muse: Multilingual site?
How can i create a multilingual website?
how to set up a multilingual website with Adobe Muse and push it live to Adobe Business Catalyst
Do let me know if you have any question. -
How to set password for a zip file and should be checked when reading that
Hi friends,
how to set password for a zip file and should be checked when reading that file???
thanks.
Praveen Reddy.JHeyy man, i think, u did not get my problem.
all i have to do is:
i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
Tanks for reply. -
How to set password for Local are connection?
How to set password for Local are connection?
do you mean the 802.1x authentication?
check out links below:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_9_ea1/configuration/guide/scg/Sw8021x.html
http://technet.microsoft.com/en-us/network/bb545365.aspx
Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
IT Stuff Quick Bytes -
How to set value for trim and bleed using jsx script?
I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
Following is the code I am trying with:
var _saveName = new File ( root_path +_strFileName+".pdf");
var _saveOpts = new PDFSaveOptions();
_saveOpts.printerResolution = 300;
var bleedarray = new Array();
bleedarray[0] =9.00;
bleedarray[1]=9.00;
bleedarray[2]=9.00;
bleedarray[3]=9.00;
_saveOpts.bleedOffsetRect = bleedarray;I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds. -
How to set sourceURL for MS Access database in other computer?
How to set sourceURL for MS Access database in other computer?
getConnection("jdbc:odbc://www.micrsoft.com:9999/msaccess");
How do you determine the port for the MS Access?
Thank you very much.How to set sourceURL for MS Access database in other computer?You don't.
How do you determine the port for the MS Access?You don't.
Databases like Oracle and MS SQL Server have 'server' software which runs on a server computer. Requests talk to that server software. MS Access does not have a server, so there is nothing to talk to.
You either must use a DSN or create you own server. For the DSN each client must have a mapped driver to the computer with the database. For your own server search the Sun site for JDBC drivers or use RmiJdbc (http://www.objectweb.org/) -
need some help here on the proper setting for quicktime exporting that won't denegrate my footage from handycam canon fs200
What are the existing settings iMovie?
Al -
How to set value for radio button in sap crm survey suite
Hi ,
I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
Thanks & Regards,
SeshuHi,
I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
Regards,
Seshu -
How to set registry for sql client on win...
Hi.
how to set registry for sql client on win fro work with Ukranine
charset.
I got such problem
nls_language set to American_Ukranine.clmswin1251 on client
this give me ukraniane char.
but it override all my settings in initsid.ora this mean
nls_date_format=DD-MON-YYYY
nls_date_languages
twhen I type select sysdate vrom dual answer is 11-jun-99, but
not 11-(ukr month)-1999;
What should I correct in regestry? ( i don't like to do alter
session set..... each time I start sqlplus )
Thank You in advice
nullyou can create method on Application Module and to Client listener
like
public Object[] getData(Number n,Date d)
Object val[]= new Object[2];
String sp = "{? = call get_data(?,?,?)}";
Connection conn = null;
CallableStatement proc = null;
try {
// conn = isConnSupplied ? userConn : ResourceManager.getConnection();
proc = getDBTransaction().createCallableStatement(sp,0);
proc.registerOutParameter(1, OracleTypes.Number);
proc.setObject(2,12);
proc.setObject(3,dateobj);
proc.registerOutParameter(2, OracleTypes.VARCHAR);
proc.executeQuery();
int amttext= proc.getInt(1); //for return value
String msg=proc.getString(2);//for out param
val[0]=amttext;
val[1]=msg;
catch(Exception e)
System.out.println(e);
return val;
}and access this method from backing bean using following code-
BindingContext bindingctx=BindingContext.getCurrent();
BindingContainer binding=bindingctx.getCurrentBindingsEntry();
OperationBinding operationBinding1 = binding.getOperationBinding("getData");
operationBinding1.getParamsMap().put("n",anyno);
operationBinding1.getParamsMap().put("d",dateobj);
operationBinding1.execute();
String vval[] =(String[])operationBinding1.getResult(); -
What is the best FC Pro Easy Set up for video shot with an iPhone 4?
what is the best FC Pro Easy Set up for video shot with an iPhone 4?
There isn't one. You have to convert the media to one of the ProRes codecs, probably ProRes LT would work best. You need to do this in Compressor.
Easy setup isn't relevant as it's options are for tape based media, which this isn't. -
How to set Classpath for MySQL
Hi
I want to connect to my mySQL db with a java program , but I don't know how to install the mySQL connector driver. Can anyone help me? or indicate somewhere where I might find the answer?
And how to set Classpath for MySQL.
my program gives an exception ClassNotFound.
Exception :com.mysql.jdbc.Driver
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at Files.main(Files.java:352)
Plz help me
Thanx
Lalitto make your life easy i tried to connect..
what you have to do is.. you mysql database server should be running
next you have to download one of the version of mysql driver.. i downloaded mysql-connector-java-5.0.5
go to my computer right click - >advance tab -> click on environment variable -> put you path e.g. C:\Program Files\Java\jarFiles\mysql-connector-java-5.0.5\mysql-connector-java-5.0.5-bin.jar
into your classpath in a user variable section..
Try this code
import java.sql.*;
public class MySqlConnect{
public static void main(String [] args){
try{
Class.forName("com.mysql.jdbc.Driver");
String url ="jdbc:mysql://localhost:3306/test";
Connection con =DriverManager.getConnection(url,"root", "password");
System.out.println("Connection: " + con);
}catch(ClassNotFoundException cnfe){
cnfe.printStackTrace();
}catch(SQLException se){
se.printStackTrace();
}have fun
Gurnah
Maybe you are looking for
-
Can 2 apple ID's be shared with family.
I have been using my wife's email address and apple ID so when one of us purchases an app we can both use it. Is there another way that I can create my own apple ID and use my email address, but still be able share app purchases? I just updated to
-
Imovie project won't allow me to do anything to it
I went to add one my last pictures to my project when imovie froze and unexpectedly quit on me. When i restarted imovie, I went to my movie project and realized that it wouldn't let me do anything to it. I can't delete pictures. It won't play the pic
-
How to maintain original lines when converting a word file in a PDF
Unfortunately the table lines often change when converting a word file in a PDF, e.g. dotted/broken lines into straight lines or different kinds of broken lines. How can I maintain the original lines when converting the documents? Many thanks in adva
-
Thunderbolt display changes colour temperature when in full screen mode
27" Thunderbolt Display connected to MacBook Air (2011) changes colour temperature when in full screen mode. Switching any setting in System Preferences/Displays changes it back to the correct colour. I have also seen this on a 24" LED Display (Displ
-
How do I turn off VoiceOver? I was experimenting to try it with eBooks, but now want it off. When I go to settings, then general, the page won't swipe down to accessibility. thanks,