Import  avi save fla

Hi, New to flash and scripting. I have about a 1000 .avi
files to import(embed,separate sound,encode low flash 8) into a
pre-made template (5 timeline layers and a graphic), position and
attach a separated video item and audio item.
Then save as a .fla files under an edited file name. I've
been trying to write a javascript to batch process these with some
success.
The problems are: scripting through the importing menus
(completely automating process), altering the documents names while
creating new files.
I've seen the batch code posted elsewhere in the forum and
based my code on it, that and tinkering around I have managed alot,
I'm just not sure if javascript flash is able to handle my
remaining problems.
I hope someone can help, I'd like 50 hours of tedious work
reduced to 10 hours of autopilot.
appreciate any suggestions, code samples or methods:
Add template
change document name
save unsaved file without clicking
Will post my final code when working to help anyone else who
finds themselves in same sinking boat.
Arctic Mongoose.

hey
i dont know if you are still have these issues or not but if
you do just email me what they are and I'll try to solve them
beacuse it looks like i know the answers to your questions.

Similar Messages

  • How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    Hi hasvi,
    Need Template(.indt), textframes etc for the following script:
    var myFolderInd = Folder.selectDialog();
    var myFile = myFolderInd.getFiles("*indt");
    app.open(myFile)
    var myDoc = app.activeDocument;
    var myDocName = myDoc.name;
    var mySaveFile = app.activeDocument.save(myFolderInd.fsName + "/" + myDocName.split(".indt").join(".indd"));
    var myFolderDoc = Folder.selectDialog();
    var myFile1 = myFolderDoc.getFiles("*doc");
    mySaveFile.pages[0].textFrames[0].place(File(myFile1))
    //~ mySaveFile.place(File(myFile1))
    app.activeDocument.textPreferences.smartTextReflow = true;
    var myPDFFile = new File(mySaveFile.filePath + "/" + mySaveFile.name.split(".indd").join(".pdf"))
    myDoc.exportFile(ExportFormat.PDF_TYPE, File("~/Desktop/abc.pdf"));
    alert("Process Completed")
    Regards
    Siraj

  • How to fix dropouts in imported AVI files?

    I am having audio problems on imported AVIs. Using FCP4, i have imported some 45 min AVI files and rendered them on the FCP timeline.  ON a timeline of 7 subclips, the first 4 clips play and the remaining 3 clips are silent, even though all display waveforms.
    And there's another problem. Of the first few clips that DO play, there is a choppy dropout happening, like the audio drops one frame every half a second. It's a continuous rough and choppy playback effect on the audio. The video portion of the files is fine.
    thx
    John

    Try converting the AVI files to a QuickTime codec that matches your FCP Sequence settings prior to import.  AVI is a wrapper or container the hold A/V content that could have been made from any number of codecs, not all of which work with FCP very well.  Chances are that the files you imported are one of those.
    Also make sure that the files you import are not on the boot drive (desktop, user's home folder, etc) and that all hard drives have at least 15% of free space available.
    -DH

  • Problems in importing avi file

    I have problems\ in importing avi file..
    when i try to import an avi file,, it is written that there is a message "unsupported format or damaged file"..
    What should I do then?
    I use Windows Vista Ultimate..

    Welcome to the forum. As Harm points out, AVI is but a wrapper, and can contain all sorts of data inside. This ARTICLE might give you some insight into working with AVI's.
    Good luck,
    Hunt

  • Importing avi files into jsp pages

    hello all. im new to jsp and java. i would like to know how i could import .avi files from my MySQL database (where ive given paths for the avi files) into a jsp page. i am basically trying to make an application that allows users to select particular video files and play them. the user has the ability to upload and delete these videos

    newbie4337 wrote:
    im sorry i guess i didn't phrase that properly. i meant to say that i had saved the paths in the database If you have some saved URLs in the database (URLs to where these avi files can be found)
    you just need to retrieve the URLs and use them when generating links (<a href="..."></a>) in the html produced by your JSP.
    You have already given the paths in the html generated by your jsp? Paths as in URLs?
    Then you must already have a servlet deployed that accepts HTTP requests for .avi URLs and reads the relevant .avi from the database and serves back an avi stream with the right mime type (video/x-msvideo) in the headers...
    ([w3schools|http://www.w3schools.com/media/media_mimeref.asp]).
    could you give me some more info on that?If the URLs are hosted somewhere else you do not need any of this.

  • Premiere CS5 import avi clips without sound. How can I import avi clips with sound without convert?

    Dear Adobe Forum,
    I have the following problem, please help:
    I would like to import avi clips in adobe premiere. All clips have the same avi codec. But unfortunately my adobe premiere does not import the sound of a few
    avi clips. It is wired because about 10 out 70 avi clips which have all the same avi codec does not work with sound in premiere CS5. In the timline premiere import the video and audio line but there are no audio waves in the about 10 avi clips. additonally premiere plays the 10 avi clips in the source monitor without sound. Furthermore when I open the 10 avi files without adobe premiere they have sound, but with premiere there are no sound in the 10 avi clips.
    What can I do, so that I can import all avi files with sound. I do not want to convert each of the avi files because then they have not a good quality and it is to complicated and it takes to much time to convert all files in this video project and in the other video project in my future.
    Consequently How can I import all avi files so that they have immediately sound? Do I have to change some premiere settings?
    Thank you in advance
    Leonardo

    Now I show you details of 2 files:
    the first video clip which you can import with sound (works):
    Video:
    1280 x  720
    data rate: 4259 kBit/s
    total bitrate: 4387 kBit / s
    Single bit rate: 29 single images / second
    Format                           : AVI
    Format/Info                      : Audio Video Interleave
    File size                        : 63.5 MiB
    Duration                         : 2mn 1s
    Overall bit rate                 : 4 388 Kbps
    ID                               : 0
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : [email protected]
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 4 frames
    Format settings, GOP             : M=3, N=15
    Codec ID                         : H264
    Duration                         : 2mn 1s
    Bit rate mode                    : Variable
    Bit rate                         : 4 248 Kbps
    Maximum bit rate                 : 4 001 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 29.970 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.154
    Stream size                      : 61.4 MiB (97%)
    Audio:
    Bitrate: 128 kBit/s
    Channels: 2 (stereo)
    sampling rate: 48 kHz
    ID                               : 1
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format version                   : Version 4
    Format profile                   : LC
    Format settings, SBR             : No
    Codec ID                         : FF
    Duration                         : 2mn 1s
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Stream size                      : 1.85 MiB (3%)
    Alignment                        : Aligned on interleaves
    Interleave, duration             : 21 ms (0.64 video frame)
    the second video clip which you can import without sound (doesn't work with sound):
    Video:
    1280 x  720
    data rate: 4278 kBit/s
    total bitrate: 4406 kBit / s
    Single bit rate: 29 single images / second
    Format                           : AVI
    Format/Info                      : Audio Video Interleave
    File size                        : 69.3 MiB
    Duration                         : 2mn 11s
    Overall bit rate                 : 4 407 Kbps
    ID                               : 0
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : [email protected]
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 4 frames
    Format settings, GOP             : M=3, N=15
    Codec ID                         : H264
    Duration                         : 2mn 11s
    Bit rate mode                    : Variable
    Bit rate                         : 4 267 Kbps
    Maximum bit rate                 : 4 001 Kbps
    Width                            : 1 280 pixels
    Height                           : 720 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 29.970 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.154
    Stream size                      : 67.1 MiB (97%)
    Audio:
    Bitrate: 128 kBit/s
    Channels: 2 (stereo)
    sampling rate: 48 kHz
    ID                               : 1
    Format                           : AAC
    Format/Info                      : Advanced Audio Codec
    Format version                   : Version 4
    Format profile                   : LC
    Format settings, SBR             : No
    Codec ID                         : FF
    Duration                         : 2mn 11s
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Stream size                      : 2.01 MiB (3%)
    Alignment                        : Split accross interleaves
    Interleave, duration             : 21 ms (0.64 video frame)
    Consequently, as you can see, they have both nearly the same information
    Both video clips have the following audio codec:
    AAC
    In the folder where all raw video clips exist there are a few new files with the codec ending: .AVD ("the name of the file".AVD)
    But the 2 video clips mentioned above does not have any files like .AVD oder something else like that. But the first one works and the second one doesnt work.

  • Problems importing AVI with DV codec to Premiere Pro

    Problems importing AVI with DV codec to Premiere Pro  (720x564 px, 32 kHz stereo, 24.4 bitrate)
    I can't import that video. What can I do?

    Svanur,
    I agree with Harm. The specs. do not match up correctly. Where did those AVI files come from?
    I assume that you are working in PAL-land (and not NTSC-land). Is that correct?
    What platform are you working on, Mac, or PC?
    When you attempt to Import those AVI files, what is the exact error message that you are getting?
    Good luck,
    Hunt

  • How Direct Import .AVI file in to Final Cut Pro 6

    How can i Direct import .AVI Files in to Final Cut Pro 6..
    Please Tell me Any kind of plugin or application or codec.....
    thankyou very much

    The AVI file extension merely indicates that the video contained inside could be from any number of codecs; like a QuickTime .mov, .avi is just a wrapper. Saying you have an AVI file is much like saying you have a car ... it doesn't really tell us anything specific. You need to find out what codec it actually is, then you'll know whether or not it can be imported into FCP without conversion.
    But you'd be better off converting it to a QuickTime codec that FCP works with natively prior to importing.
    -DH

  • Importing AVI

    Hi im a Newbe here coming from the world of Audio Edeting.
    I have to import AVI Video files (DV-PAL 25) in Final Cut. there are a few problems now. first FC says these files are not optimized for fc, so how to optimize them? those filse been captured in windows via premiere. so what are the most important thinks i hav to know importing avi in final cut.
    ah and is there a way to export them with compressor as a avi again. im only able to make mov files.
    thanks for any awnser.....

    Hi,
    AVIs are not best for use with FCP, however, you could ignore that warning and edit your AVIs with no insurmountable issues or convert the AVIs to QTs. but that may add undesired compression steps.
    Yes Compressor allows you to compress as AVI:
    In Compressor settings tab there's a button with a plus icon on the top right corner. Click it and in the popdown menu choose Quicktime Export Components.
    You've just created a new untitled setting. It sits at the bottom of the settings in the untitled folder.
    Double click it and/or see it in the inspector window. Give it a name and in the encoder type choose AVI.
    Now if you click Options button below you can change a number of settings. Remember, the higher the bit rate the better the video will look but greater wil be the size of the video.
    Do some tests to find best settings.

  • Can't import .AVI files in QuickTime Player

    Hi there - Okay,,I'm a real Noob,,but I can't understand why I can't import .AVI files when apparently I should be able to. I have just purchased a Toshiba Camelio S20 and have taken some test movie shots and when I've tried to open them in iMovie or just open them in finder I get the following message
    'The document “IMAG0002.AVI” could not be opened. The movie is not in a format that QuickTime Player understands.'
    The Quicktime player I'm using is Version 10 and I'm working with MacOS X V 10.6.4.
    What am I doing wrong ?
    Pls help ?
    Thanx

    Heya - thank you so much - have done what you suggested and now i can import the clips into iMovie - no problem!
    But,,,,and,,golly,,don't know if I'm being really really stupid but by converting to DV or MOV I lose all audio from any of the clips that I'm importing...
    Can you help some more - sore to be pain in buttocks !! Am completely new to iMovie so am struggling a bit!!!
    Thanking you

  • Importing AVI file problem

    I am getting the message " Selected file does not contain video data, is not a supported video file format, or video codec required is not found." I have used and still use Audition 1.5 with no problems. My other video editing programs have no problems. I unsucessfully tried importing AVI into Audtition 2 when it came out and after a few days gave up and stayed with 1.5. I want to upgrade, but I need to be able to import AVI files reliably. I have the most current codecs and they all seem to be working properly.

    >So, do other audio editors handle video easily, or is Audition like other editors? Reason I ask: I'm going to be working with video in the very near future. I've got 1.5 and from the sounds of things, it's the Adobe audio product that plays best with video.
    By all accounts, some other editors handle it better. But since I stopped editing video years ago, I can't tell you which. There have been threads about it though - it might be worth a search. By and large, I think that it's the more expensive ones that do this, though. If you have AA1.5 it's worth trying this to see if it fits your needs though - it's about the only version that can easily be used for voice-to-picture work - as ryclark attests. It's particularly useful in this case, because you can keep the talent in a quiet place with just a mic and monitor for company, and no PC...
    >And if Audition doesn't handle video as well as other 'primarily audio' editors, is that cuz Adobe's trying to nudge people toward their video products?
    I think that they're trying to nudge people towards SoundBooth, but this doesn't exactly recieve universal approbation in terms of audio for video, to say the least...

  • Unable to import .avi files from digicam

    I'm unable to import .avi files from my finepix digicam. I get a message that says the files are unreadable. With the previous iPhoto version (v 06) I didn't have any problems. Any thoughts?

    I agree with TD regarding Image Capture. I have the same problem with larger video clips and iPhoto 6. You can use Image Capture, choose "Download Some", select just the movie, and upload it to your Desktop. Ignore the blue Progress bar, as it seems to jump from zero to 100% with no real indication of the download progress. Be patient, leave it alone, and eventually the movie should appear on your Desktop. Once there, iPhoto should have no trouble importing it.
    Regards.

  • How import AVI files to my I Mac for editing in Final Cut?

    How import AVI files to my I Mac for editing in Final Cut?

    You first convert them to ProRes with Compressor or MPEG STREAMCLIP, then import the ProRes files into FCP.  FCP doesn't work with the AVI container...footage must be Quicktime, and must be in a codec FCP works with.

  • Import .avi from Pentax K-r

    I would like to import .avi video file from my Pentax K-r without having to rerender to video file. I have Mpeg streamclip & I can convert the video but into what format.
    Please help me

    Here is the what I found in the movie inspector of Quicktime
    Motion Jpeg OpenDML 1280 X 720 Linear PCM, 16-bit little-endian signed interger, 1 channel 32000 mhz, 25 fps
    data rate: 36.13 Mbits/s
    I hope this information helps.

  • Can not import avi files into pse12 catalog

    I am wondering if any one else is having an issue with importing avi (video files from my Nikon D5000) into the PSE 12 catalog.
    Running windows 7 SP1 with all updates.
    Camera is a Nikon D5000
    file type is AVI
    Every time I go to import an avi file (either from my SD card or from my HDD) organizer comes up with the message that it has stopped working and windows is looking for a solution.
    I do not shoot much video so it is not a large concern but it used to work in previous versions of PSE.
    Any and all help with this issue is appreciated.

    Ray
    In many instances, a utility software will be bundled in with the camera purchase. Installing that utility software might bring along with it codecs that are needed to work with the video on the computer and in the program. If you do not see or have such a utility software, so much for that idea. If you go after this from the MotionJPEG codec angle, the Morgan MotionJPEG codec has been available online as tryout (later purchase).
    http://www.morgan-multimedia.com/morgan/php/products.php?sProductId=5&sProductSub=download s
    See
    M-JPEG-2000 Codec v3 (32 bit and 64 bit) and the associated tab for "Download - trial/demo".
    But, could you clarify on
    As soon as I move the avi file off of the sd card the import works.
    Given you have the .avi file on the SD card, what is the path to the point where the import works?
    That is, where are you moving the .avi file to as it leaves the SD card? Surely not to the hard drive since you wrote.
    Also if I go to my hard drive where I saved the avi file and try to import it all by itself, it fails.
    I wonder if you are saying that you take it through a route which includes the Video Importer.
    Thanks for the follow ups.
    ATR

Maybe you are looking for

  • Boot Camp Windows install format to NTFS not working.

    As a preface I am new to Apple and more complex computer issues in general. With that said I have spent several hours trying to get Windows 8.1 installed from the DVD media to a partition created using Boot Camp Assistant. I have tried several sugges

  • Content Viewer update is available!

    The Content Viewer update just landed on the App Store.

  • MacBook using a Pro power brick?

    Is it okay to charge my MacBook with a MacBook Pro power brick/adapter?

  • Help! Today i couldn enter to my Lap. because of the Key password

    Few days ago i changed the security settings of my MacBook Laptop but then when i use it, i always leave it on Sleepy theeeeen, today when i tried to enter it. the chart that was asking me the password was different from the one that appeared to me a

  • Text Bold in One Site

    Hi Something weird happened in Safari (the latest update). I was bored and on Mac Rumors.com and I just dragged some text to the Font Book icon in the dock. Suddenly all of the text on the page changed to bold. I tried restarting Safari and resetting