Asc 2.0 crash with large embedded video file

Hello,
asc 2.0 crash with large embedded video files
package{ 
  import flash.display.Sprite;
  public class Main extends Sprite{
    [Embed(source="video/myVideo.mp4", mimeType="application/octet-stream")]
    public var video:Class;
    public function Main(){
on Windows with a small video, it compile fine, with a large video (525 Mo) the compiler crash
internal error : java.lang.NullPointerException
        at com.adobe.flash.swf.SWF.addFrame(SWF.java:91)
        at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation
.createFrames(SWFTarget.java:876)
        at com.adobe.flash.compiler.internal.targets.AppSWFTarget$AppFramesInfor
mation.createFrames(AppSWFTarget.java:386)
        at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.j
ava:243)
        at com.adobe.flash.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:674)
        at com.adobe.flash.compiler.clients.MXMLC.buildArtifact(MXMLC.java:660)
        at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
        at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
        at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
        at com.adobe.flash.compiler.clients.MXMLC.staticMainNoExit(MXMLC.java:15
6)
        at com.adobe.flash.compiler.clients.MXMLC.main(MXMLC.java:143)
Thanks

java.lang.NullPointerException
i met this error every time if i compile a "BIG " project.(with 1G+  image resources).   And also ,if you  import 500+ images into Flash CS ...you  know ,its prefix is  "Adobe".
i guess , it's  because somebody not like "BIG " thing.
So..on  32bit windows  platform ..i  upgrade my JVM to  1.7 ,and..modified  -XSS value . it will help us ..but not 100% resolved.
Finally ,i upgrade to  64bit platform ..this problem seems  gone.
I think ,it's  because of the bad RAM Manager  of  JVM. on 32bit windows machine .it's only can manager 1024M ram .(such a stupid VM).   And  on 64bit platform ..JVM seems  to be d normal.

Similar Messages

  • Large online video file (youtube) will freeze the lion

    while loading the large online video file, the os x lion will freeze, only mouse pointer will move~~

    In addition to file format, video codec matters. The iPhone can only play videos encoded with H.264. If you import the .mov or .mp4 file into iTunes, you can select the file then Advanced menu > Create iPod or iPhone Version, and try uploading the converted file to your FTP site.

  • My computer crashed with all my itunes files.  I was able to get some off and transfer them to another computer.  I am afraid to sync my ipod to the new computer becaused I do not want to loose all of my playlists and other music.  Will this happen?

    My computer crashed with all my itunes files.  I was able to get some off and transfer them to another computer.  I am afraid to sync my ipod to the new computer becaused I do not want to loose all of my playlists and other music.  Will this happen?

    To import music into your iTunes library on the computer go to iTunes>Help>iTunes Help>Add items to iTunes and follow the instructions
    Delete the "songs" that do not play in your iTunes library and reimport them.

  • Problem with RTPExport output video files

    Hi, I have a problem with RTPExport output video files. One side streams H263/RTP(AVTransmit2.java) and other write this steam to a file by RTPExport.java. When network conditions are ideal, output video file has same fps and same number of frames like original file. Problem occures, when theres packet lost in network, then output file has different fps,and also has less frames like original video(because it didnt write missing frames to file, and thats why it get shorter). Pls how can I achieve output file that will have the same fps like original one? How to write to file an identical copy of what I can see while receiveing video with AVReceive2.java? Its there a way to modifi rtpexport or avreceiver to do this? Thanks a lot!

    Trubka wrote:
    When network conditions are ideal, output video file has same fps and same number of frames like original file. Problem occures, when theres packet lost in network, then output file has different fps,and also has less frames like original video(because it didnt write missing frames to file, and thats why it get shorter). Okay, first off, the second file is smaller on purpose. RTP intentionally drops packets that are old/out of order in order to make sure real-time video stays as close to real time as it can. This is by design, so there's really nothing that can be done about it.
    How to write to file an identical copy of what I can see while receiveing video with AVReceive2.java? Technically speaking, what you're getting in the RTPExport is exactly what you got on the receiving end. Any frames that are dropped during transmission will not be seen by the receiver, nor saved by the receiver.
    Pls how can I achieve output file that will have the same fps like original one? I'm not 100% sure that you can, but, you can give the following idea a try. I make no guarentees that it'll work, but it should work for you...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/RTPConnector.html]
    That example is an example of a "custom transport layer" for RTP connections. Essentially, it's some code that's handed the RTP packets on the transmission end, and it's expected to deliver those RTP packets on the other end. And it doesn't care about how they get from A to B, only that they do.
    If you were to replace the UDP socket in that example with a TCP socket, you would be guarenteed not to drop packets due to network reasons. Every RTP packet you were handed by the transmitter, you would then hand to the receiver. There is no guarentee that none of the packets would be cast away as "old" by the RTP protocol itself, but there's also no guarentee any of them would be. It's a crap-shoot at best, but it's certainly worth a try.

  • Adobe bridges crashes when opening a video file

    Adobe bridges crashes when opening a video file. i can open and view photos  but not .mov files or any other video file

    Just that one project, or any project?  Can you create new projects?

  • Issues with embedding large HD video files within keynote

    I posted something over at the FCP forum, but Keynote is starting to get problematic when I import and embed 1 to 2 GB HD video files that have background music.
    1 time Keynote did a hard hang during a project save and lost 20 or so slides although the thumbnails were still showing.
    Trying to save the project is starting to also become a real chore.
    I am exporting 3-5 minute long HD video clips shot at 1080i and then deinterlaced in FCP.
    HDV already reduces image sharpness it is. I want to keep the quality/footage sharpness up as high as possible. The selected video size ends up being about 1065 x 569, but that is a size, not a sharpness, one of the things I always found confusing when referring to it as "resolution".
    So what settings would you suggest when outputting via FCP?
    Any Keynote settings or workflows advised?

    You could try uploading them to a joint dropbox account that they could then download them from....but how fast it is will depend on the internet connection available.

  • How to loop to a certain frame with an embedded video flv

    Hi everyone,
    I've searched the internet high and low but can't seem to find an answer to my problem. I have an flv video file that I've imported into Flash CS5 project as an embedded movie, because graphic and movie clip both produced still images. I want to embed the final product onto my website, and have the video autostart in the beginning, play all the way through, and then go back to frame 40 or so and loop continuosly from there. I've tried selecting the final frame and applying the instancename.gotoandplay (40); code but it isn't working. I read that this only works on keyframes, so I tried making the final frame a keyframe but because it is an flv file for some reason it isn't allowing me to do that. I'm a newbie, any help is appreciated.
    Dom

    A second option is to use a NetStream video play. This is a much more powerful and versatile way to control video.
    Looping back to any point in the video is very easy.
    All it takes to get started with NetSteam is to go to the Library panel top bar, in the far right is a tiny menu icon....click and open it, choose new video, actionscript controlled. A video (icon) will appear in the Library.
    Drag the video unto the stage, position and set dimensions as needed. Give it an instance name of "video_screen".
    All you need now is a little actionscript:
    stop();
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    video_screen.attachVideo(ns);
    /* Name of your video, with correct path, goes here */
    ns.play("video1.flv");
    the example path assumes that the video file is named "video1.flv" and is in the same folder as the Web page... edit both as needed.
    Test at this point to insure it's working.
    Now to loop add this to the actionscript:
    ns.onStatus = function(info) {
      if(info.code == "NetStream.Play.Stop") {
      trace("Video complete")
        ns.seek(60);
      ns.play(); 
    This example will trace "Video complete" at the end of the video and then "seek" back to 60 seconds into the video and "play" again from that point.
    While it doesn't seek to a frame, you can figure out what time corresponds and use that.
    If you are interested in trying this method, I'd suggest you set up a new, blank Flash doc and test on there. then exact size and placement is no issue. Just get the video playing and looping. Then implement in the real project.
    Best wishes,
    Adninjastrator

  • CS4 (PS 11) constant crashes with larger files -

    I am encountering persistent program crashes with Photoshop 11 (CS4) when I have multiple layers (four or more) and the file size exceeds 75 mb. The error message that Photoshop has encountered a problem and is closing appears without further details. When I reopen PS, I then get the message about "Photoshop encountering a problem with the display driver and disabled GPU enhancement" despite the fact that I previously unchecked enable OpenGL drawing in the preferences-performance tab. It is blank on that tab after "Detected Video Card" whereas in CS3, it correctly notes the following video card. My video card is nVidia GeForce 7600 GT with the latest driver dated 10/07/08.I have 4 GB of RAM, however in the performance tab of preferences it notes 1.633 GB AM available and Photoshop using 960 mb. I also have CS3 (PS10) and do not encounter the same problem. The OS is Vista.

    Please search the various threads in this forum pertaining to OpenGL issues. Updating to the latest driver 178.24 is inevitable. Also check for the "Old GPU" enabling registry hack. The prefs only get saved on program exit, so it's natural the old options are in place after a crash. Disable OpenGL, exit the program, relaunch it and only then start working with it.
    Mylenium

  • Help Exporting Embedded Video Files From Flash

    I am new to Flash and this may sound, well dumb but here it goes.  I have taken some video files from Final Cut Pro converted them to FLV's imported them and embedded them into flash to create some banners for the web.  I need to know what settings I should use to get these out of Flash for the web. 
    Also I need to send them to someone to look at before publishing.  What would be the best format to do that in and how to do it.
    Also has anyone has any experience creating banners in or online ads in a Video format like FCP and embedding them into a flash file to export them in flash for we publishing.  Sorry again for the dumb question, just new to Flash.

    Is there a reason why you embedded the video in Flash rather than using the FLV player?
    Starting with the video, since you have the source you can create any type of format you need from that which can be used for preview or the final version depending on where it's  going to end up and what is required or preferred.  Flash comes into play if the requirement is to have a SWF/FLV other than some other video format, or if you have other Flash content going on at the same time besides the video.
    But using Flash for this, the most stratghtforward way is to use the FLV player included with Flash (or another 3rd party player) and point it to your FLV.

  • Embedded video file

    Hi, I've been given a PDF with a video file embedded in it. Is there anyway I can export the video file out of the PDF?
    Thanks

    The obvious question is "do you have permission?".
    Adobe software intentionally does not include the ability to extract video content from a PDF document and save it to a file - there are some third-party tools which could inspect the PDF structure, find the embedded data and save it to file, but none of them are free. It's supposed to be difficult, because many PDF document authors use the embedded rich media annotation specifically to prevent people getting their hands on the "raw" footage.

  • Quicktime crashes when opening any video file type.

    Hi, I've been having this problem for quite a long time now. When attempting to open a quicktime file or any other type of video file, the program crashes. It does not report any sort of error message. I've updated both quicktime and windows. I've tried everything that has been suggested in prior posts and have yield no results. This is really irrating me. I don't want to have wasted money on this program and I need this for class. Any advice is appreciated, thank you.

    The files I'm most concerned with playing are my animations exported from Final Cut and from another system's quicktime. These usually are quicktimes or .wma's that are either uncompressed or with a variety of compression, usually DV-NTSC, H.264, HDV 1080 60i, or mpeg4 for the web. But as I've professed before, it seem that the file type isn't necessarily factor. Any video file that should play in Quicktime does not and the program crashes. Upon this I get a very vague error message which reads "Quicktime Player has encountered a problem and needs to close. We are sorry for the inconvenience." That unfortunately is as much detail as I can give at the moment. I know this is a vague problem and that my information is just as vague, but that is all I have gathered. Anything is appreciated.

  • Trouble with seperate audio/video files in DVDSP -- please help!

    When I import my quicktime files into DVDSP, they are automatically segmented into seperate files, and are both the same file size. So essentially my file is doubled, and this causes the total file size to be too large and will not burn. Has anyone else had this issue, and what can I do to remedy it?
    for example: If I import a file that is 1.5gb into DVDSP, then in my asset window I have a video asset with a file size of 1.5gb and an audio track with a file size of 1.5gb. It is double the size of the orginal. There has to be a setting or something that I'm unaware of that will fix this.

    Thanks for your reply.
    I know I need seperate video/audio files. My question is why the audio and video files are the same exact size. They are clearly not the same size in the original file. Im okay with DVDSP doing the compressing, Im not concerned with that. I need to be able to fit large amounts of video onto a DVD, but when I import files (ive tried many different file formats) they are enlarged.
    Should I not be able to import a file that is 800mb and have it stay 800mb, or should I be using a different authoring software that will allow me to do that?
    Thanks for the help!

  • Quicktime crashes when opening a video file

    After installing Snow Leopard, Quicktime X will not play any of my video files. It crashes after I select a movie file from the menu. These are MP4, MOV and Avi previously created with QT7 and iMovie 09. I installed the QT7 from the Snow Leopard disk with the same results. All movie files play on the remaining Leopard (not upgrade) Mac.
    Any Idea?
    Thanks, Dale

    The files I'm most concerned with playing are my animations exported from Final Cut and from another system's quicktime. These usually are quicktimes or .wma's that are either uncompressed or with a variety of compression, usually DV-NTSC, H.264, HDV 1080 60i, or mpeg4 for the web. But as I've professed before, it seem that the file type isn't necessarily factor. Any video file that should play in Quicktime does not and the program crashes. Upon this I get a very vague error message which reads "Quicktime Player has encountered a problem and needs to close. We are sorry for the inconvenience." That unfortunately is as much detail as I can give at the moment. I know this is a vague problem and that my information is just as vague, but that is all I have gathered. Anything is appreciated.

  • Premiere cs5 crashing when I import video files

    For video files, just about everytime, it crashes upon initial import. I have to restart the program and then it will be fine until like 10 min later where it happens again.
    Sorry, a Serious error has occurred that requires Adobe Premiere Pro to shut down
    something like that
    I have:
    6 gb Ram
    1tb harddrive
    quadcore processor
    gtx285 nvidia
    built in audio (HD)
    Win 7 64bit Home Prem
    Dave

    >1tb harddrive
    One hard drive is BARELY going to edit SD material
    My 3 hard drives are configured as... (WD = Western Digital)
    1 - 320G WD Win7 64bit Pro and all program installs
    2 - 320G WD Win7 swap file and video project files
    3 - 1T WD all video files... input & output files
    Search Microsoft to find out how to redirect your Windows swap file
    http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US
    Trying to use only ONE Hard Drive for Video Editing
    You are a music conductor, with a baton that you use to point to various parts of the orchestra... this is like Windows pointing to various parts of the hard drive to do Windows housekeeping or to load program segments for various functions
    Now, at the same time and with the same hand... while still using the baton to conduct the orchestra... pick up a bow and play a fiddle... this would be doing something with your video file at the same time as all the other work
    You as a person cannot do both at the same time with the same hand
    A computer is a LITTLE better, in that it can switch from one kind of task to another very quickly... but not quickly enough for EASY video editing
    You need AT LEAST two hard drives (separate drives, never a partition http://forums.adobe.com/thread/650708?tstart=0 for more) with Windows (or Mac OS) and software on your boot drive, and video files on a 2nd drive so the boot drive is not slowed down by trying to do everything
    I find that the three drives I use work very well for me, for editing AVCHD video... some people use a 4th drive, so video INPUT files are on drive three and all OUTPUT files are on drive four... I only bought a mid-tower case instead of a full tower case (my bad... but had to fit in the space available on my office desk!) so I use the three drives that will fit
    Depending on your exact hardware (motherboard brand & model AND USB2 enclosure brand & model AND external hard drive brand & model) AND the type of video file, you may... or may NOT... be able to use an external USB2 hard drive for SD (Standard Definition) video editing
    Steve Grisetti in the Premiere Elements forum http://forums.adobe.com/thread/856208?tstart=0 and Jim Simon in the Premiere Pro forum http://forums.adobe.com/thread/856433?tstart=0 use USB externals for editing
    A USB3 hard drive connected to a motherboard with USB3 is supposed to be fast enough for video editing (I don't have such, so don't know) but eSata DOES have a fast enough data transfer for video editing... I have not used this eSata Dock... for reference only, YMMV and all the usual disclaimers
    http://www.amazon.com/Thermaltake-BlacX-eSATA-Docking-Station/dp/B001A4HAFS/ref=cm_cmu_pg_ t

  • Mail 5.3 no longer embeds video files

    Running Lion 10.7.5 and Mail 5.3 and Adobe Flash 11.5.502.136: mail won't embed video files – message "Blocked Plug-in."

    Regarding Mac Mail "Blocked Plug-in" situation when trying to embed a video in an email message, through the Safari "Mail Page Contents" or "Email this Page" — depending on whether you're running Safari 5 or 6 — the following will work for YouTube videos only (the ones which have been formatted to support HTML5 playback, as well as Flash:
    Download and install a nifty Safari Extension, "FlashtoHTML5": http://www.joris-vervuurt.com/page3/page3.php
    Once installed, launch Safari and go to Preferences | Advanced | Extensions (Safari 5) or Preferences | Extensions (Safari 6) and enable FlashtoHTML5. You will then be able save the page with the video in Mac Mail, provided the particular video supports HTML5. It won't work, if you copy the YouTube embeded code and clone your own video to drag or mail the page content into your email message. The YouTube code with Flash player language, unless converted by FlashtoHTML5 to a HTML5 player version of the video, will cause Mac Mail / iCloud Mail to block the extensions plug-in.
    As far as video playback on the web page goes, the HTML5 extension will automatically switch back to Flash Player, if the particular video does not support support HTML5.

Maybe you are looking for

  • Mobile Email not retrieving messages for current month

    I did a couple of quick searches on this problem, but I couldn't find any information if this is a known bug with the Mobile Email application.  For the last week or so, whenever I access Mobile Email on my LG enV Touch, the first page of emails show

  • IPod Classic Cover Flow Issues

    Hi Everyone. Just got home with my new iPod. Synced it all up and i've noticed in the actual coverflow view on the iPod it's really messy. Loads of covers over and over again. They are mainly from the compilations. I've checked and i've put album art

  • OS 10.5.4 not compatible with iBook G4?

    My computer: Machine Name: iBook G4 Machine Model: PowerBook6,5 CPU Type: PowerPC G4 (1.1) Number Of CPUs: 1 CPU Speed: 1.33 GHz L2 Cache (per CPU): 512 KB Memory: 1.25 GB on which I currently use 10.4.11, does not like the genuine Apple install disk

  • Thermocouple readings not accurate SCXI 1122-1322

    Hi, I have an issue with reading thermocouple temperatures using my SCXI-1122 module and 1322 thermocouple block (K-type thermocouples). I am also using a laptop to run LabView and a DAQ-6062E card to communicate. I have fiddled with the Measurement

  • Problems with processing files uploaded from Safari browsers

    I have a jsp that allows users to upload files via a secure form and the standard html <input type=”file” … > tag. For complex reasons I need to get the contents of the HttpServletRequest into a character array. Basically my code looks like this: Buf