QuickTime save self contained with current filename?

Is there an AppleScript variable for the current QuickTime filename? I'm working with an script written by someone else and it asks for input for the file name at the end of the script - but I want it to just use the current file name. Here's the line I'm trying to tweak:
"save self contained document 1 in fileToSaveTo"
("fileToSaveTo" is the variable that gets defined via user input prior to this line.)
I'm thinking it should be something along the lines of:
"save self contained document 1 in current_filename"
but I don't know the correct parameter... Thanks for any help!

This will get you the name of the frontmost QT file
set theName to name of front document

Similar Messages

  • Export - QuickTime Move (self contained) - different from project size

    I've been chasing a problem of my iMac not being able to play back finished videos, possibly because I don't have enough computer power (https://discussions.apple.com/thread/3318100?tstart=0)
    While looking at this I just realized something - the completed video is 1920x1080, even though the original source files and FCE project properties are all at 1440x1080.
    Is that normal? If not, where should I start looking to find whatever is wrong?

    Yes, it is normal.  It's a difference between rectangular pixels and square pixels.
    -DH

  • Movies self-contained and then lost?

    I have been making quicktime exports, self-contained, with most of my projects, but after about 6 months I will go back to look at my exported videos and a search shows up and tells me that the video cannot be found. Is there a problem with my mac, because icon still shows that the video is taking up the same space in my drive as before, do I need to just make regular exports without self-containing the videos?

    Self-contained are the safest type of export.
    Restart your Mac holding the Shift key down until the log on appears, log on (often just click past the password prompt) and run Disk Utility to correct permissions on all drives (or Repair if Permissions is grayed out)
    Restart

  • Exporting Final Cut timeline in highest quality Quicktime (self-contained)

    Hi, I am wondering if you can help me. I just finished editing a film in HDV, 24P in Final Cut Studio 2 and need to export it as a stand alone quicktime file to take it to the color correction people and then for downressing in order to write to DigiBeta tapes.
    My question is, do I simply export to Quicktime movie self-contained file using default (current) setting? I also see there are options such as Applre ProRes422 HQ, uncompressed 8bit and 10bit. From what I've heard uncompressed 8 and 10 bit and also apple ProRes422 are higher qualities? Am I wrong?
    But going to Uncompressed 8bit or even to Apple ProRes won't make a difference since I only have HDV quality and that's the highest quality I can get anyway?
    Please advise.
    Thank you

    Exporting a self contained QT Movie, and not recompressing will get you an HDV file that is full quality. But unless the facility you are going to has FCP on the machine they load this, they won't be able to see it. Same with ProRes...which would be the better choice for color correcting (10-bit, I-Frame format instead of GOP). ProRes and HDV (and DVCPRO HD) are codecs that only come with FCP, and any computer, even a mac, that doesn't have FCP installed cannot even view those file formats.
    Shane

  • Quicktime save using applescript

    i have a lots of movies of various sizes and formats that I want to standardise.
    I want 720x400 size in the same format as recorded (i.e. no transcoding). I can do this manually using quicktime by re-sizing the movie then saving as a self contained movie.
    I know this does'nt actually resize the movie it just puts it into a .mov container that tells quicktime what size to "play" it at next time............
    anyhow I`m happy with this solution. And looking at the quicktime library in applescript I see there is a " save self contained" command..... cool!
    however I have coded this code:
    set infile to choose file with prompt "select file:"
    set outfile to choose file name with prompt "Save altered file here:"
    try
    tell application "QuickTime Player"
    activate
    close every window
    open infile
    set dimensions of document 1 to {720, 400}
    tell document 1
    save self contained file outfile
    end tell
    -- save document 1 given «class dfil»:file outfile, «class
    savk»:self contained
    close document 1 saving no
    end tell
    end try
    The save line that is commented in currently does nothing, I don't really understand why.
    The save line commented out, gets further by bringing up the save as window in Quicktime but i have no way of selecting save (automatically), I have tried to command a button click via the system events call (which works for other apps), but the script seems to be stalling at the save line, i.e. the button click is never executed.
    anyone got any ideas?
    cheers
    Steve

    sorry code came out wrong
    set infile to choose file with prompt "select file:"
    set outfile to choose file name with prompt "Save altered file here:"
    try
    tell application "QuickTime Player"
    activate
    close every window
    open infile
    set dimensions of document 1 to {720, 400}
    tell document 1
    save self contained file outfile
    end tell
    -- save document 1 given «class dfil»:file outfile, «class
    savk»:self contained
    close document 1 saving no
    end tell
    end try
    Message was edited by: Steven Prigg

  • QT Reference File or QT Self Contained, Lossless?

    I have a project on a timeline that I want to export as lossless. It was shot and editied at 1440 x 1080i HDV.
    Should I export it as a Quicktime File (Self Contained) or a QT Reference File?
    Which will give me a Lossless file?
    What settings should I use when I go to File ------ Export ------ Quicktime?
    Current Settings?
    Thanks in advance.
    FCP 7
    Mac Pro
    Intel Xeon
    10 GB RAM

    Both self-contained or reference will give you the same quality.
    I use self-contained most of the time as Compressor seems happier with them and I have lots of space on hard drives.
    x

  • Self Contained QT video issues

    I have a AVCHD video edited with FCP 6 and exported as a self-contained QT file.
    1. When watching the self-contained file, there seems to be wavy lines during parts of it when there is motion, however, as a self-contained QT file there should be no compression? What might be causing this?
    2. The exported file appears distorted when viewed in the QT player - faces seemed stretched, etc.
    Thanks for any help.

    however, as a self-contained QT file there should be no compression?
    Self contained means only that the file is independant of other media files. A Reference movie literally refers to other files or parts of files in order to exist.
    Using the FCP commands: Export > QuickTime Movie > Self Contained > Current Settings will produce a file without further compression, because it is made with the same codec as used by FCP's Sequence setting.
    As to the file you have, what settings does it use?
    Is the codec using interlacing? If so, where are you viewing it?
    Are you viewing it at 100% of its native size?
    Stetched vertically or horizontally?

  • Quicktime - Save As

    Hi guys I'm just wandering if there is a way to get automator to use the save as command in quicktime. This is what I would like to achieve:
    Select Video Files
    Save-as a self contained movie
    I have looked in automator and cannot find such an option. I have found it is possible to use export but not save as.
    The reason I want to do this is at the moment I have all of me video files in iTunes as unsupported avi files using a referenced .mov file. This works fantastic on my iMac where all my media is stored, but it is not possible for computers connecting to my iMac iTunes library to see these files, instead only actual files. If it is possible to instead make these referenced files stream-able that would be an easier option, but if not I am going to save them all as self contained movies in .mov format so they can be shared. At the moment I am opening each file individually and saving as then importing it into iTunes, I was hoping automator would be able to help me out and speed up this process.
    Thanks

    It used to be easy Ron. The latest quicktime update seems to have broken the save function.
    All you used to have to do is this...
    tell application "QuickTime Player"
    tell document 1
    save self contained in file x
    end
    end

  • Cant export AV Self contained but can export QT Conversion Full Quality DV

    Having trouble exporting Quicktime movie, "Self-Contained"is checked. Include Audio & Video. It exports about 3/4 of the way and than get general error. I have searched the forum but found nothing that would help. I have exported it using quicktime conversion Full quality Dv and it exports fine and plays fine. But when I import full quality dv back into fce and render it, the last 10 minutes of the 22 minute video has no sound.All music is aiff and all pics are jpeg, tif, And video is all original DV. Have have made several videos using all the same types of format and have never had this problem. Could someone help. Thanks.....Rick

    Did you render all and mix down the audio before you attempted to export the movie?
    Sequence > Render All > Both
    Sequence > Render Only > Mixdown
    Do both of them, in order, then save your project, then try exporting again.
    What version of QT do you have on your system?

  • Issue with Exporting video as Quicktime, Self Contained

    Hi, I am a new Final Cut Pro user, and a new Mac user really. I am taking a film editing class and we are required to capture and edit HDV footage into essentially a 2-3 minute edited video. So I completed the capture and editing, and my finished product came to about 2:15. My professor is requiring us to turn in the assignment on a flash drive. Problem is, my exported video lags/skips/pauses throughout the entire thing, especially when played on a flash drive. Also, I noticed the file size is abnormally large for a 2 minute video, clocking it at around 2.3 gig. I also noticed that it exports a bunch of source files as well, and the exported video won't play without them. However, I am 100% positive that I exported "as a self contained video." So shouldn't that mean the video should be able to play on its own, no strings attached so to speak?
    Something is just fishy about my video when I export it. All I want is a simple quicktime that should play without lag, and play on its own, but instead I get a huge video with all the source files, despite the fact that I checked the "self contained" box. Is there anything that stands out that I might be doing wrong? A particular sequence setting I should change? I'd greatly appreciate it.

    Hi -
    The reason that your video is playing back poorly is that a USB flash drive does not have the speed necessary to support playing back your movie. I am confident that the flash drive is just a way of delivering the file to your instructor, and that once delivered, they will transfer the mov file from the flash drive to a regular disk drive for playback.
    You can test this yourself right now by dragging the mov file from your USB flash drive to your hard drive and playing it from there.
    If it does not play correctly after having done that, post back.
    In regards to the having other source files on the drive, are you confident they were created when you exported your finished movie to it?
    What exact method did you use to export your movie - it should have been: remove all in and out points from the timeline, click on the sequence icon for the sequence you wish to export, go to the menu File > Export > Quicktime Movie and when the dialog box opens, make sure Make Movie Self Contained is checked, as well as Current Settings and Audio and Video, unless otherwise specified by your instructor.
    If it were me, I would export the mov to my hard drive, the copy that export to the USB flash drive, but it is up to you.
    The size of the resultant file is depends on the codec and frame size you used for the edit.
    Hope this helps.
    MtD

  • Save as self-contained movie option no working in browser downloaded video

    HELP!!!!!
    Today my QuickTime Pro 7 option arrow to save browser downloaded videos as self-contained movie has stopped functioning. Any suggestions?
    Thanks.

    +I've found mov's to be substantially larger in size than wmv, but I can't really explain why, other than compression being the factor.+
    MOV files are a container format, not a compression format. Also, when saving as a self-contained MOV, it simply repackages the file with the same encoding, so this problem is independent of compression issues.
    +You can also get on the F4M user forum+
    Yes, that was going to be my next step. I posted the question there, and they said the increase in size is a side effect of making the WMV compatible with the MOV format. It has something to do with ASF packetization.
    http://forum.flip4mac.com/forum/messageview.aspx?catid=10&threadid=1439&forumid= 1
    To get around this problem, I guess I'll just have to recompress all the files in some other (non-WMV) format.

  • Self-contained QT with Chapter Markers

    Hope this is the right forum:
    I use FCE HD
    My buddy uses latest versions of FCP and DVD SP.
    I have an FCE Project/Movie with Studio Pro Chapter Markers. Can I make this into a self-contained Quicktime Movie, give it to my bud, and can he now drop that into DVD SP and create a DVD with Pro menus and my chapter markers?
    Thanks in advance

    Yes!
    Once the QT file has been exported from FCE, you need to turn on the chapter text track of this QT file, so that the chapters show up in DVD SP. You can do this in QT Pro, by loading the QT file and pressing Command + J, then place a check in the text track for the chapter markes and then save/close the QT file before encoding with Compressor.
    Once he gets the QT file, (self contained QT file) he needs to use compressor to encode the QT file into a Mpeg2, (.m2v) file. He will also need to encode the audio, (if he is using DVD SP 4.x) into .ac3, using compressor 2. This can all be done in one batch, using Compressor 2.
    Once the video and audio are formated into Mpeg2 and AC3, those files can be brought into DVD SP and the DVD authoring process can begin.

  • What Is The Difference Between Save As Self-Contained Movie and Exporting

    What Is The Difference Between Save As Self-Contained Movie and Exporting a Video as a Quicktime File

    Save As places the file inside a .mov container. No re-encoding.
    Your still have the option to save this file as "self-contained" (all the parts travel with the file) or "reference" (small file sized movie that merely "points" to the movie parts).
    A reference movie can't play if the source files can't be found. If they are moved or deleted the reference movie will fail and it can't be re-created.
    Exporting is done to convert one QuickTime format to another. Typically you do this with a high quality source file. Exporting previously compressed files is a bad idea that leads to unpredictable results.
    QuickTime doesn't open WMP formats without third party software help (Flip4Mac is one). You can't convert (export) WMP formats without paying extra fees to upgrade their software.

  • Encore won't save project with new filename

    I have just rendered a bluray disc image of a project. Now I want to save a version of the project to tweak it specifically for the DVD image, and preserve the bluray project. On the first failed saved I learned in this forum to run Encore as an administrator. Did that, but now Encore just crashes after copying most of the project files. There's enough room on the volume, as I've already corrected after that failed save.
    It is a lenghty but not particularly complexly authored project consisting of a 1 hr 26 mins video timeline from a PrPro timeline exported via Adobe Bridge; a short picture gallery rendered in PrPro as an m2v video file; 2 motion and 2 still menus; and English and Japanese subtitles for the long video timeline. As the project developed I had saved progressive versions with unique filenames so I'd have restore points if a file I was working on got corrupted. No problem then.
    But now in the final stages of the project I can no longer make an incremental save, Any ideas?

    Yes, just a crash. Here's what Windows reports:
    Faulting application name: Adobe Encore.exe, version: 6.0.1.13, time stamp: 0x4fb5057e
    Faulting module name: MSVCR100.dll, version: 10.0.40219.1, time stamp: 0x4d5f034a
    Exception code: 0x40000015
    Fault offset: 0x00000000000761c9
    Faulting process id: 0x16d0
    Faulting application start time: 0x01cd83f6b867d78a
    Faulting application path: C:\Program Files\Adobe\Adobe Encore CS6\Adobe Encore.exe
    Faulting module path: C:\Windows\system32\MSVCR100.dll
    Report Id: 47679503-eff0-11e1-9433-446d57c6c61e
    I have been deleting the older projects and their caches to retain disc capacity. But if the current project previews w/o problem and can output a disc image, it must have all it needs as a complete project file, right?

  • Using 'Save As' in a self contained file is dropping elements

    Hi there,
    I am finding with a fully self-contained Keynote file containing placed audio, movie and images, when you do a 'save as' it says there is a problem saving some elements in the file and they drop off. However if I duplicate the original file in the finder, then open in Keynote, delete and edit some pages and do a straight 'save' it works fine!
    Any suggestions would be most helpful so I can go back to doing 'Save As' - the more intuitive method of working.
    Thank you,
    Josh

    That is a typical behavior of Keynote 3 that disappeared with upgrade to Keynote 4 in my case.
    The respective files were probably rather aliased to some place (i.e., the trash), than stored in toto in the Keynote file. Again a problem of Keynote 3 not carried over to Keynote 4.
    On the other hand, Keynote 4 is much slower with large files, unfortunately.

Maybe you are looking for

  • Duplex printing not available on HP LaserJet Pro 200 color MFP M276nw

    There are multiple posts on here and all over the internet from Mac users who simply want to print duplex, but I don't see any answers, so I thought I'd add my voice with a new post and see if it gets any attention beofre I start emailing HP's suppor

  • SWF movie not loading properly.

    I decided to use a loader method for a flash project. When I load swf files from a folder on my computer into my main movie, it loads just fine. However, when I try to load the same exact swf files from a remote server, the script fails on me giving

  • How do you mixdown audio?

    After renedring. How do you mixdown the audio? Please help. Some of my video/audio, depending upon where I upload it to on the net, sounds tinty or slushy. I have tried almost every audio setting to correct this. I have never "mixed down", what is th

  • New iTunes - Artwork downloaded doesn't match

    I just installed the latest iTUnes version. I have gone through my whole library and downloaded the artwork (album covers) but when the artwork doesn't match, I try to delete it but the wrong cover stays, and I have no way to remove it..... Does anyo

  • Macbook shutoff is a bad battery issue - free replacements offered

    MacBook and MacBook Pro Battery Update 1.2 Apple has recently discovered that some batteries used in its MacBook and MacBook Pro notebooks may have battery performance issues. Apple is offering a software update that is designed to address these issu