Conversion of frames to AVI

Hi,
I'm using the last version of JMF and I can generate an AVI file from a list of JPEG images. The problem is that the file is too big!!
A generated sequence with Quicktime gets 400KB versus the AVI one that has 10MB!
The problem is that I don't know how define a codec in order to compress images for the AVI format.
I've seen on the forums and it seems that I should use the setCodecChain method of the TrackControl, but I don't find the clue.
Please, does any one knows how to do that?
Thank you.

Hi there Schumi-z!
Well, it seems many poeple have the very same problem. Let me explain what I have got and what I look for.
I am working on a simple video editor. This program is to take a video as input, read the video and "chop" it automatically. Taken certain frames to different new videos, from one to 10 or more, according to certain parameters of the frame analized.
What I have got until today is a way of opening the video, reading it frame by frame, extracting a frame, analize it. But I'm yet to develop a way to write new videos taking a group of this previously separated frames.
I would like to know, if you are trying to solve the same or similar problem which in any time it envolves writing a new video file, so we can work together and solve this problem as soon as possible.
This work is also a part of my research to complete my thesis work. It would be an honor to have a quote mentioning someone from around the world.
Well, I hope to hear from you soon.
Have a nice day

Similar Messages

  • Reading frames in avi files

    When reading large AVI files, I get an error when trying to read frame 870 or higher: 
    Error -1074395967 occurred at IMAQ AVI2 Read Frame
    Possible reason(s):
    IMAQ Vision: (Hex 0xBFF604C1) Error reading AVI frame
    Is this a limitation of the system? I have the problem even when using the AVI read example.
    Solved!
    Go to Solution.

    I have to disagree. I do not use old functions. The test program is very simple (see the picture). But video contains over 60,000 images (640x480, 8-bit grayscale, no compression). This example hangs on image 3474.

  • Problems with large frame uncompressed AVI files in QT 7 player

    I have just recently gone from QT Pro 6.5.2 to QT Pro 7, mainly because of the HD support.
    I have a dual boot system with QT 7 on Windows 2000, and QT 6 on Windows 98SE.
    I am having problems playing uncompressed AVI files in the QT 7 player, apparently if the frame size is large (in the example case 688 x 516).
    Sometimes I just get "error 108 unknown error" pop up when I try to load the file. Sometimes the file loads but will not play except in short bursts of movement every now and again as it moves along the timeline. Sometimes the file plays, but with one or more broad black lines across the image!
    All the problem files play perfectly in QT 6.5.2, but will not play in QT 7, which should surely play them better, not worse!
    Can anyone make any suggestion as to what's happening?
    I've uninstalled and reinstalled QT 7, which made no difference. I'm sure I don't need any extra codecs, as QT has always played RAW AVIs without anything extra before.
    Thanks in anticipation, Dave.

    I have just recently gone from QT Pro 6.5.2 to QT Pro 7, mainly because of the HD support.
    I have a dual boot system with QT 7 on Windows 2000, and QT 6 on Windows 98SE.
    I am having problems playing uncompressed AVI files in the QT 7 player, apparently if the frame size is large (in the example case 688 x 516).
    Sometimes I just get "error 108 unknown error" pop up when I try to load the file. Sometimes the file loads but will not play except in short bursts of movement every now and again as it moves along the timeline. Sometimes the file plays, but with one or more broad black lines across the image!
    All the problem files play perfectly in QT 6.5.2, but will not play in QT 7, which should surely play them better, not worse!
    Can anyone make any suggestion as to what's happening?
    I've uninstalled and reinstalled QT 7, which made no difference. I'm sure I don't need any extra codecs, as QT has always played RAW AVIs without anything extra before.
    Thanks in anticipation, Dave.

  • Smooth conversion of SWF to AVI with Alpha Channel

    today i tried a program which claims the unique program in
    the world can convert
    SWF to AVI with alpha
    channel, i find that this is the best program which can
    synchronization audio and video, and there won't be watermark in
    the middle of your video, i can also use it to capture pictures
    when i play the swf file, it is a good function that i can put the
    picture in my phone

    Hi there Schumi-z!
    Well, it seems many poeple have the very same problem. Let me explain what I have got and what I look for.
    I am working on a simple video editor. This program is to take a video as input, read the video and "chop" it automatically. Taken certain frames to different new videos, from one to 10 or more, according to certain parameters of the frame analized.
    What I have got until today is a way of opening the video, reading it frame by frame, extracting a frame, analize it. But I'm yet to develop a way to write new videos taking a group of this previously separated frames.
    I would like to know, if you are trying to solve the same or similar problem which in any time it envolves writing a new video file, so we can work together and solve this problem as soon as possible.
    This work is also a part of my research to complete my thesis work. It would be an honor to have a quote mentioning someone from around the world.
    Well, I hope to hear from you soon.
    Have a nice day

  • Best Conversion of AVCHD to AVI

    I recently purchased the SONY NEX-VG30H camcorder that uses AVCHD as the compression format.  From what I have been reading, the image quality is very good.  There are many benefits including both video and audio with the same camera, interchangable lens, and small media size.  Unfortunately, the high AVCHD compression is not recommended for editing for several reasons as follows:
    - editing lossy over lossy leads to an ever degrading result.
    - high CPU processing for editing is required that takes longer than necessary so converting to a less lossy format e.g. AVI is a good idea.
    - not directly supported by Premier Pro.
    I have years of experience with Premier Pro and presently at CS5.  With the forum help I have a hex core CPU that I do not wish to compromise by slowing it down so a conversion to AVI appears to be the best choice.  I find conversion software for apple computers recommended on the Internet.
    What software do I need to convert to AVI to use with an i7 3930K with SSD C and two RAID 2TB support drives?

    Thanks Ann.  I get my information from the Internet, reading posts on the forum and my communications experience with Telus in Canada.
    Perhaps my knowledge of how Premier Pro CS5 operates is lacking or I am not up to date with the latest information.  Up to now, I have been capturing with firewire and editing with DV video.  Since I am provided with a usb cable to download video from the NEX-VG30 camera I understand I download the video directly to my hard drive.  I presume I import to Premier Pro from what I understand you are telling me.  I have not edited with AVCHD in Premier Pro so it is good news that it is possible.
    Any lossy or editing speed issues I try to avoid.  From what makes sense to me and reading Harm Millaard's comments in posts, the CPU has more work to do that must slow it down.  The reason I went to a 6 core CPU was to speed up editing after years of waiting for results that I found annoying and demotivating.  My 6 core PC may be fast enough to do the work but I do not wish to slow it down using AVCHD if AVI is much faster.
    Digital technology using bits rather than analog signal shapes apart from minor conversion issues keeps information pure if bits are not lost, but compression over compression after many processes of the original signal does not appear to be a good idea unless the original information is processed by Premier Pro such that the final product is as true as the original.
    Can you clarify what I have said if incorrect?

  • Fehlende Frames in avi.Datei

    hallo alle zusammen,
    ich habe folgendes Problem. Versuche schon seit längerem über Adobe Premiere Elements 12 mit der Webcam Aufnahmen im .avi Format zu machen. Leider kommt es immer wieder zu dem Fehler, dass die gefertigte Aufnahme unter Premiere nicht in voller Länge angezeigt wird. Beim Öffnen der Einstellungen unter Premiere ist dann immer zu lesen :"In diesem Film fehlen offenbar Frames!"
    Wäre nett, wenn mir da mal jemand weiterhelfen könnte. Liegt es daran, dass die Aufnahme eigentlich im Hintergrund laufen soll, oder liegt es an irgendwelchen systemeinstellungen. In Einzelfällen funktioniert es nämlich tadellos.
    MfG OnkelRoland

    Ähm, Webcam? Hintergrund? Um Gottes Willen... Das kann nix werden. Wie auch? Die Bandbreite eines USB-Busses ist nun mal begrenzt und sobald ajndere Aktivitäten auf dem Bus laufen, wird die Datenrate für andere Dinge weniger und da reicht eben manchmal schon das Wackeln an der Maus. In Kombination mit vielleicht unzureichender Festplattenperformance kann das nix werden. Wenn überhaupt, dann macht man sowas mit der Software, die zur Kamera geliefert wird und den USB-Bus entsprechend für sich priorisiert, aber selbst dan nsollte man es tnlichst vermeiden, irgendwas anderes auf dem System zu machen, was den Datnefluß stören könnte...
    Mylenium

  • Frames to avi

    how can i convert frames into to avi file....meaning that i first converted avi into frames .....now i need to to convert these frames again into avi .........

    Hi Everyone,
    I can think of several reasons why you would like to do this.  It should not be difficult to accomplish really.  The functions that you need in order manipulate AVI’s are installed with IMAQ not the Vision Development Module.  I would suggest taking a look at this knowledgebase that discusses what functions are installed with IMAQ.  Which VI's are Installed with NI-IMAQ?     So if you have IMAQ installed you should have support for it.  I would suggest taking a look at some of the examples that ship with IMAQ.  Specifically the Sequence and Save to AVI.vi and Read AVI Example.vi.  I think with a little work you should be able combine these two VI’s to do what you would like to do. 
    Adam H
    National Instruments
    Applications Engineer

  • Best iPod conversion programs?  from AVI, etc. to MPEG-4

    Some of the programs I've downloaded for trial do not work with Vista Home Premium. And if they do work it will only convery a 5MB file or so.
    My question is what is the best program for converting video files for play with an iPod touch while the OS is Vista Home Premium?
    Naything is helpful, thank you.

    Here is the answer posted by jr20079 - a great program, and freeware:
    Heres the super converter
    http://www.erightsoft.com/S6Kg1.html
    (Scroll down)
    Worked perfectly for me!

  • Drop frame rate when start saving avi file with GigE basler camera

    Hello all,
    I use 2 Ace basler GigE cameras at 60 fps to capture animal locomotion. I experience randomly this kind of problem. When I start to record by a start/stop button and save the videos in the hard-disk sometime the frame rate drop to 20-14 fps and a skip 2 or 3 frame. After that the frame rate became stable to 60 fps. 
    These are the overall settings and spec of the program:
    - I use a producer/consumer loop (I never experienced a filling of the queue even when the drop frame rate occur)
    - I fixed the bandwidth of the Intel 100 GigE card to 500 for each camera
    - size of packet sent = 8000
    - firewall disabled
    - vi execution in highest mode
    I observed that the dropping of the frame rate occur when the vi run for a while without interaction with the operator (the operator set others parameters in another computer, so the vi only acquire the videos without saving them)
    I have attached the vi
    Thank you for your help
    Alex
    Solved!
    Go to Solution.
    Attachments:
    GRAB 2 CAM SAVE AVI TTL SEND C-P LOOP 0.1.vi ‏151 KB

    Alex,
    Does this drop in frame rate occur with both cameras or does it only occur with the "left" or "right" camera acquisition loops.  I think what is happening is that your producer loop is overwriting the images before they get written to the AVI.  In addition there may be some memory conflicts as queues are generally not recommended for IMAQ Images.  Here is an explanation stating that instead of enqueuing an Image Object you are actually enqueuing a memory location to an image.   This means that when you produce a new image it is writing to the same memory location you are trying to read from when you write the frame to AVI.  This forum offers a possible workaround.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • My AVI will not import to PE12. They want to load as audio only. Using Windows 7.

    My AVI files will not import to Premiere Elements 12. They want to load as audio only. Currently using Windows 7.

    twswing
    Just a reminder to those reading your thread...at the onset I wrote
    There are certain .avi files with certain video compression that can be highly problematic, such as,
    AVCHD.avi
    And, we have been pursuing that line of troubleshooting by use of the conversion of the AVCHD.avi to an .mp4 file. Right now, the issue is not which method, but getting the export settings of the conversion method correct. It would appear that your conversion settings with Koyote got away from you, especially with the frame size and frame rate.
    We need to get an import whose properties match the Premiere Elements project settings, set by you or the project. Right now I am suggesting that you set the project setting manually yourself before you import your converted file, as per the how to toward the bottom of the following.
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    But, first the conversion...by whatever method you select, I am suggesting the following H.264.mp4 as a 4:3 file.
    Go back to the AVCHD (H.264).avi and convert it to H.264.mp4.
    Let us target for
    Frame Width 640 pixels
    Frame Height 480 pixels
    Frame Rate 29.97 frames per second
    Pixel Aspect Ratio 1.0.  (also known as Square Pixels)
    Then open Premiere Elements to the Expert workspace File Menu/New/Project and Change Settings.
    Change the project preset to
    NTSC
    FLIP
    Flip Mino and Ultra 29_97p
    Do not forget the check mark next to "Fit Content to Available Space" as you exit the new project dialog.
    Then import your converted H.264.mp4 file into Premiere Elements with Add Media/Files and Folders/Project Assets from where you drag the file to the Timeline. There should be no black borders anywhere.
    Does Koyote conversion offer the settings that I mentioned. If not, we can discuss using HandBrake which I thought might be easier and quicker to use.
    Please review and then let us decide if we are on course.
    Thanks.
    ATR

  • Time to upgrade to Full Frame

    Team,  I currenlty own a 70D and a T3i with a bunch of EF-s lenses. My question is wether to upgrade to a couple of L lenses or upgrade to a full frame camera.  Ideally I love to have a Mark III but a 6D is more realistic.   My budget is about $3500 I do real estate photography with some portrait side gigs on the side, no weddings or big projects.  Will it make sense to keep my 70D with some prime lenses for portrait photograpy?  or go full frame is there much of a difference if i used a 70-200 2.8L lens on a 70D then a 6D?  your help and expertise is greatly appreciated.  

    Unless you want to get into really high end real estate photography, I'd suggest you stick with your 70D for now and start gradually changing your lens line-up, with a goal to build a system that will eventually allow you to add a full frame camera to use alongside the crop sensor camera. There are advantages and limitations with both sensor formats. I use both crop sensor and full frame cameras (a pair of 7D and a 5DII in my case, right now). I prefer the crop camera for sports/action and anything requiring longer telephoto lenses. And I like the full frame for landscape, architecture, portraiture and sometimes for macro work. One of the reasons I choose the full frame for portraiture is control over depth of field. Now, DoF is governed by lens focal length, working distance and lens aperture.... it doesn't actually change due to different sensor formats. However, in order to frame a subject the same way with a full frame camera, it's either necessary to use a longer focal length or move closer to the subject, or a little of both. Changing either distance or focal length will tend to render shallower depth of field. Conversely, full frame cameras can use smaller apertures before diffraction becomes an issue, so a FF also has some advantage for macro work or for landscape/architecture where great DoF is often wanted.  In generaly, there's a bit less lens selection for FF, though it's still quite extensive in the Canon system. This is because a FF camera can only use EF lenses, while your crop sensor 70D and my 7Ds can use both EF-S/crop-only and EF/full-frame-capable lenses. Also in general lenses for FF cameras will be larger, heavier and more expensive. It's most noticeable with telephotos, of course, but to some extent is true even with wide angle. IMO, on 70D a 70-200mm is a bit long for a lot of portraiture work. My most prefered lenses for portraits with a crop sensor camera are 50/1.4, 85/1.8 and 24-70/2.8. On full frame, my most frequently used portrait lenses are 85/1.8, 135/2, 70-200/4 and 70-200/2.8. Sure, there are times that wider and longer lenses can be useful for certain types of portraits. But these are what I use most often and feel are the most basic or "traditional" focal lengths for the purpose. Short telephotos generally render the most ideal perspective for portraits. Also, I mostly shoot candid portraits, not posed. Because that often means working with less than desirable backgrounds, I prefer larger aperture lenses that allow me the option to blur down distractions behind (and sometimes in front of) the subject. If shooting in studio or more posed at a planned location, with more control over the background and other elements, it would be different and large aperture lenses would be less necessary. Real estate photography work often calls for a wide angle and a lot of depth of field. With your crop camera, the EF-S 10-18mm you've got probably sees a lot of use. If you were shooting full frame, you'd probably want EF 16-35/2.8 or EF 16-35/4... or EF 11-24/2.8 (but that would use up most of your budget and not leave room to buy a camera to use it on).  Tilt shift lenses such as the TS-E 17/4 and TS-E 24/3.5 II are also top choices for architectural photography. Compare size, weight and prices. Also, if you use filters a lot, some require larger (16-35/2.8 II uses 82mm) and the TS-E 17/4 and EF 11-24/2.8 both have stongly convex front elements that won't allow standard screw-in filters to be used at all. There aren't many truly wide lenses for crop cameras that are also FF compatible. The EF 11-24/2.8 is one of very few. The EF 14/2.8 II is another. So, to use the crop camera for wide angle shots, you'll probably want to keep at least one or two EF-S/crop only lenses. The EF-S 10-22mm is an older lens than the EF-S 10-18mm, but is a little better built and with more edge-to-edge image sharpness... it's one of the best ultrawides made by anyone... but costs about 2X as much. If it were me, I'd prefer the Canon EF-S 17-55/2.8 IS USM over the Sigma 17-70... but once again this is a "crop only" lens. For dual format purpose, one of the 16-35mm or the EF 17-40/4 might replace it better and be able to serve on both camera formats. I use a little longer 24-70 and 28-135 as my "walk around" or mid-range zooms.    6D is a nice camera and, compared to 70D, would be desirable for very large prints or for low light/high ISO shooting situations. That's because full frame images need less magnification for enlargement and use bigger pixel sites that capture more fine detail, both of which allow for bigger prints. Not that you'd notice much difference with 13x19 or smaller prints. And certainly you wouldn't be able to tell any difference at Internet resolutions if a lot of your stuff ends up on websites. Because the FF camera's 20MP sensor is so much less crowded than the 20MP crop sensor, there is less heat and less cross talk, making for cleaning or less noise in very high ISO images. The difference would be most noticealbe at ISO 1600 and above.   The 70D has a more sophisticated and versatile AF system, except that the 6D's can still manage to focus in one or two stops lower light (center point only). 70D has 19-point AF that's similar to original 7D, active matrix focus screen, and zone focus in addition to the all points/auto and single point/manual focus patterns offered by all Canon DSLRs. The 6D only offers the last to focus patterns, doesn't have zone, and it has a fixed (but interchangeable with a few types) focus screen. 70D's active matrix focus screen makes possible the camera's  "grid on demand" feature that can be turned on or off via the menu, and which can be quite handy when shooting architecture inside or out. With 6D you can get similar grid in the viewfinder, but to do so would need need to swap out with a separately sold, accessory "D" type focus screen. In 70D all nineteen AF points are the more sensitive dual axis/cross type, with the center one enhanced for f2.8 and faster lenses. 6D's eleven AF points have only one dual axis/cross type... the center point... while all the others are single axis type. Either camera's AF system is probably more than adequate for what you say you shoot primarily. If you were shooting sports/action/wildlife/birds, the 70D's AF system would likely be more ideal, though... so I'd rate it as more versatile. The 6D's would be a better choice for low light work, though. 70D also has articulated LCD screen and built-in flash, while 6D has neither of those features. The 70D and 6D share batteries, chargers, memory and have mostly similar control layouts, always nice when using two different cameras interchangeably for various purposes. So, if it were me, I'd probably keep shooting with the 70D and work on lens upgrades first, then add the FF camera later. But that's just me. Your needs might be different and call for another approach. ***********
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & EXPOSUREMANAGER   

  • "IMAQ AVI Create" not found under menuitem "AVI" (IMAQ 2.6)

    Does anyone know why the Libs. "IMAQ AVI Create ,IMAQ AVI Open ,IMAQ AVI Read Frame ,IMAQ AVI Get Filter Names" are not located in the "AVI" menu ? (IMAQ 2.6)
    Thanks Mario

    The AVI VIs should be located there, if they are not there was probably a problem with your installation. Launch the installer again by going to Add/Remove Programs and selecting National Instruments Software. From there another menu will open showing most of your NI software. Select on NI-IMAQ 2.6 and select modify. Double check that support for your version of LabVIEW is selected, and proceed with the rest of the install. If you are still having problems, I suggest calling going to www.ni.com/support and getting a hold of NI Tech support.

  • Converting Frame files to PDF adds carriage return in code snippets

    Our writing group is using FrameMaker 7.2 with Acrobat 9. The documentation we write includes code snippets. Conversion from Frame to PDF adds a carriage return to the end of any line of code. This causes any snippet containing a wrapped line to be incorrect if it is copied and pasted directly from the PDF.  Does anyone knopw if there's a fix for this?
    Thanks,
    George

    Dear Alexander,
    Thanks for the reply.
    In this I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'. I have checked the settings from SPAD that is also same in both servers for particular output device. But the patches are diffrennt in both the servers, the server from which layout is not coming properly having the high level patches in compare to the other server(which is working fine).

  • What do the "Automatic" settings do for Frame size and Frame rate in Compressor 4.1.1?

    Can anyone tell me, very specifically and with technical detail, what the "Automatic" settings do (in Compressor 4.1.1) for the following setting attributes: (1) Frame size and (2) Frame rate
    Thank you!

    Hi, in addition to Russ's advice for the VIDEO PROPERTIES in the Inspector, you might consider the "automatic" options being proposed by compressor.app V4.1.x as OPTIMAL for the destination codec you have specified that deviate (or differ in some way) form the MASTER (source) from where your are transcoding. There's no real TECHNICAL detail. These UI values simply are passed as parameters to the codec. The image/audio results can be PREVIEWed ofcourse in the compressor.app V4.1.x UI (Current PAne) ... us the slider and the timeline to determine final taste!
    Suggested Examples may include:
    REDUCED frame rate for a slower device or stream or bit rate or destination dleivery platform
    reduced bit rate for older devices
    smaller FRAME SIZE for say SD devices specified
    INCREASED frame size with added "padding" in a situation like LETTERBOXING (4:3 in a 17:9 for example.. may others)
    ye old PAL to NTSC conversion
    inter-frame group of pictures (GOP) for distribution.
    Scaling
    retiming
    cropping verses scaling
    or simply what compressor.app "thinks" would work best - usually the best for most work.
    others will have many more suggestions.
    Also note that there are some nice  overidding settings in the inspector/Video for resizing and retiming and Cropping you might consider.
    For client based production distributions, many of us use CUSTOMISED settings. You may create and delete these on an AS NEEDED basis.
    Lastly, There's likely a good write up the defaults in the latest Compressor.app V4.1 Users Guide PDf - you might want to pull it down from http://manuals.apple.com and shove it in ibooks.app. I recommend getting a copy. Also get the latest FCPX 10.1 Users Guide and Motion while you're there. Great for iPAD and iPHONE too if you get bored.
    FWIW.
    Warwick
    Hong Kong

  • Burning avi to dvd

    I'm not sure where this question belongs..anyway, I've downloaded a 460MB avi file that has video but no audio. I downloaded the codec VLC and got sound. I'd like to burn this file to a dvd but when I do I get no sound. How can I get this avi file to burn to a dvd with sound? I'm using toast titanium to burn.

    Hi Jeff,
    follow FShippey's advise and download Visual Hub, it is indeed very cheap and the capabilities of this program are great. I have managed to get 5 hours of very good quality film burned to one DVD which plays on a standard DVD player and TV.
    As well as conversions from and to AVI, MP2, MP4, iPod, PSP, DV, DVD, WMV, Flash. The work is done quickly and sofar I have not had any failures.
    This application is definitely one for every video workers toolbox!

Maybe you are looking for

  • How to post more than one photo on blog page

    Can you post more than the top placeholder photo on a blog page? I'd like to post photos as they relate to the blog I'm writing but can only use the placeholder photo at the top of the entry page--is it possible to place more photos on the page or do

  • Choose paper source as either Letter or Tabloid by PDF page size

    Hi, When i check choose paper source by PDF page size, it seems like its find best fitting paper for PDF size. Can i force it to be either Letter size or Tabloid? Thank you

  • Student with MX7 questions

    I am a student web designer that is working on my high school's website. I have many ideas that I want to implement on said site, but I don't know exactly how. 1.) When you scroll over the links, I want the picture in the center to swap. It should al

  • Local Mailbox Move Fails mapiexceptionmaxsubmissionexceed hr=0x80004005, ec=1242

    Hi, having a major problem moving a mailbox to a new database with the below error.   All input greatly received as have trawled forums with no other similar reported issues... Running DAG on SP3 UR5 Mailbox is 590GB and move fails at 70% with the er

  • Adobe AcrobatPro XI Crashes

    Why does Adobe Acrobat Pro XI crash when I try to use the Fill In & Sign tools?  I am working on an iMac and just recently upgraded the OS to X Yosemite.