AVI file information

Hello,
I�m looking for a way to read some general information from an AVI file. The most important thing is to get the compressor/decompressor which means I want to know which video codec used used.
Is it possible with JAVA?
Thanks for answering!
with kind regards,
Robert

Should be able to tell the codec with the Java Media Framework [http://java.sun.com/products/java-media/jmf/2.1.1/download.html]
But since it's hard to find actual javadocs for it. I would install it, and then go ask your specific question in the Java Media Framework forums [http://forums.sun.com/forum.jspa?forumID=28&start=0]
Also now that you know which API you should be using, search for the answer before you proceed to ask another question. It probably has already been asked and answered somewhere.

Similar Messages

  • HT3775 I have an .avi file Quicktime is refusing to play, yet the information says Quicktime does play .avi files. Does anyone know what the problem is?

    I have an .avi file Quicktime is refusing to play, yet the information says Quicktime does play .avi files. Does anyone know what the problem is?

    AVI is a legacy file container originated by Microsoft back in 1992 and which has not been officially supported for more than a decade. Like the container, many of the codecs commonly used to create AVI content are also "legacy" compression formats most often supported on PC/Windows platforms. In fact, some codecs have never been transcoded for Mac use. Of those that have, many never made the transition to Mac OS X or the transition to Intel-based platforms. Those codecs that are still supported on the Mac can normally be found in the avi to quicktime converter available as an online download. While some common AVI compression formats may be supported by the QT X Player app, QT 7 currently provides a more compatible AVI playback environment for most "legacy" compression formats. If the codec(s) used in your AVI files are not supported by the avi to quicktime converter for QT use, you can try the VLC media player which may still support more esoteric compression formats. If  VLC does not support the files, the normal approach is to discover which specific audio and/or video codecs were used to create the file and perform an Internet search to see if a compatible Mac component is available for download.

  • Unable to open AVI files in Photoshop CS6

    Unable to open AVI files in Photoshop CS6
    I am running PS6 and want to open and edit AVI files. When I try to do that I get an error message saying "the video file cannot be opened" . This seems to apply to ALL avis - yet I can open and edit MP4, MMV etc. I installed Gspot to track whether it was a codec issue and when I try to open ANY file I get this error message : "Warning: DirectShow crashed while GSpot was attempting to obtain information about a codec.  This is usually due to damaged, misconfigured, conflicting, or poorly written codec drivers.  It is possible, perhaps even likely, that other media players will crash when they attempt to play this file as well, as most of them will also use DirectShow.  GSpot was able to intercept the crash, and has attempted to identify the codec or filter involved; uninstalling or reinstalling this codec or filter may solve the problem.  The codec was tentatively identified as:  C:\Windows\system32\imaadp32.acm Unknown video codec #11" I have NO idea where to go from here. I see a site to download the "imaadp32.acm"  codec but what about the "Unknown video codec #11". What the heck is that and what do I do about it. Any help would be appreciate, Cliff
    ps I should add that the avi files DO open and play in Bridge. I have the latest Quicktime. Everything is up to date and PS and the computer is otherwise working perfectly !

    Thanks Curt and 'Mylenium'
    I did re-set the prefs - but to no avail
    I checked and my graphics driver and audio is all up to date.
    No sure how to verify Windows Media Player's hardware acceleration options. I opened WMP Options /Perfformance tab and under Cd the DirX tab is checked.
    Running Windows Vista - so does the same caution apply regarding a re-install of Windows Media Components and DirectX ?
    Appreciate your help with this somewhat frustrating issue. I am converting some old 8mm film to avi with the hope of doing some edits then burning to DVD.
    Cliff

  • How can I edit .avi files in FCPX?

    What's the best way to convert .avi files so they can be edited in FCPX and then "shared" with iPad and Apple TV2? Definition of best meaning least amount of time and effort without noticeable degradation of quality. I'm an advanced amateur photographer with increasing interest in video but limited knowledge of the technical aspects.
    Now shooting HD with a DSLR camera but have over 100 hours of home/family video taken with Canon GL1 (mini-DV tape) then captured using Sony Vegas Pro. Captured files are .avi, NTSC, 29.97, 720x480, interlaced, 15 minutes or less duration.
    Re-capturing original DV tapes to FCPX would be very time consuming. Don't know why but Vegas Pro 8 running on my older PC (Windows XP) refuses to render out to any of the QuickTime presets including uncompressed. Have Adobe Premiere Pro CS5.5, FCPX and Compressor running on new iMac.
    My "trial and error" approach isn't working. Main problem seems to be with de-interlacing. Have converted .avi files to ProRes 422 using both Adobe Media Encoder and Apple Compressor. Interlacing "jaggies" are apparent with both when edited in FCPX. Jaggies can be eliminated using combinations of "progressive" field order and "blend frame" output option but this results in artifacts and/or noticeably soft image. Best results so far are by converting .avi to ProRes 422 using Adobe preset (lower field first) then using Apple Compressor's "Apple Device: SD for iPad …" output preset to convert the ProRes 422 to .m2v. Still seems a little fuzzy on iPad but maybe my eyes are just wearing out from all the hours I've spent on this problem.
    Thanks in advance for your time and any help you can pass along. The more I work with FCPX, the better I llike it.

    MPEG-4 isn't nearly enough information. There are many other factors that determine whether it will work in FCP. Many MPEG-4 files can be imported and optimized directly into the application.

  • Read an avi file using "Read from binary file" vi

    My question is how to read an avi file using "Read from binary file" vi .
    My objective is to create a series of small avi files by using IMAQ AVI write frame with mpeg-4 codec of 2 second long (so 40 frames in each file with 20 fps ) and then send them one by one so as to create a stream of video. The image are grabbed from USB camera. If I read those frames using IMAQ AVI read frame then compression advantage would be lost so I want to read the whole file itself.
    I read the avi file using "Read from binary file" with unsigned 8 bit data format and then sent to remote end and save it and then display it, however it didnt work. I later found that if I read an image file using "Read from binary file" with unsigned 8 bit data format and save it in local computer itself , the format would be changed and it would be unrecognizable. Am I doing wrong by reading the file in unsined 8 bit integer format or should I have used any other data types.
    I am using Labview 8.5 and Labview vision development module and vision acquisition module 8.5
    Your help would be highly appreciated.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    read avi file in other data format.JPG ‏26 KB

    Hello,
    Check out the (full) help message for "write to binary file"
    The "prepend array or string size" input defaults to true, so in your example the data written to the file will have array size information added at the beginning and your output file will be (four bytes) longer than your input file. Wire a False constant to "prepend array or string size" to prevent this happening.
    Rod.
    Message Edited by Rod on 10-14-2008 02:43 PM

  • How to fix a corrupt .avi file (from capture in CS3)?

    So I was recording a VERY long meeting at work and recorded it to my PC via Premiere. Since the recording was unattended, the file size is 275GB! I didn't really think anything would go wrong since I have recorded large .avi files in the past.
    Well when I try to import the .avi or play it in media player, it is saying it is corrupt/wrong file format. I tried a few avi repair utilities and none of them fixed it. I'm guessing the avi headers are missing, but I thought Premiere wrote progressive .avi files (at least their export is progressive and valid while its writing).
    Any help to repair salvage the avi? I only need about 50% of the actual content.

    >wonder why you can view a video that is currently being exported
    Seeing what the computer is
    DOING while it is doing it is really not the same as trying to open a file after the fact
    I have an inexpensive standalone DVD recorder to be able to move a movie from a DirecTv Tivo box in one part of the house to a DVD player in another part of the house
    I can watch the video on the TV while it is playing from the DTivo box to the DVD recorder
    If I do not properly CLOSE the disc when the recording is done, the DVD will not play
    An improperly closed file is, as you found, not going to work
    As I said, my best GUESS is that hitting the full point on the drive caused needed information to not be written to the header (or file end) and now any software you use to try and play or edit that file doesn't know what the file
    IS because the identity is lost
    I will guess that is also why the AVI repair programs you've tried won't work... they need to have some starting information to work, otherwise the contents of the file are just so much random "noise"

  • What is the best way to work with avi-files?

    Hallo all,
    I'm new to this forum so before asking my question I'd like to say some words about myself:
    I'm not a native english speaker, so please excuse language mistakes I'll possibly make and feel free to ask if I'll write something which you don't understand due to this fact.
    Half year ago I bought a HD Cam from Canon (Legria HF 200) which - in my opinion - has a good quality (good enough for my hobby films), and realized that cutting HD films on Windows would require a lot of expensive high end hardware. So I bought a MacBook and Final Cut Express - a decision I'm very happy with.
    After the first disastrous tries to make a small clip I bought Tom Wolsky's "Editorial Workshop for FCE" and now I'm more happy than I was before (because I've seen that you're posting here: thanks for the great book!)
    But now to my question:
    I have 9 old PAL DV tapes (containing family clips which I'd like to cut now) recorded with my old JVC, which has a FireWire port only. Unfortunately my MacBook doesn't have such, so I have to capture to DV avi using a PC with Pinnacle Studio.
    1.) The avi files are very large (between 13 - 18 GB). Because I'm not able to recapture due to the missing FireWire port I'd like to archive the material on an HDD. How should I convert the AVI to make it smaller without a great loss of quality but keeping the ability to use it in FCE (especially when reconnecting after creating the subclips from the original)
    2.) I'd like to keep the whole captured tape content as master clip and work with subclips from it. Yesterday I converted such an AVI to Film using QuickTime (the size didn't change noticable) and used the DV-Start/Stop detection. Unfortunately that didn't work correctly - some of the markers have been set in the middle of the shots instead as expected exactly between them. Should I do this on the original AVI file to make it work? And if, is it possible to reconnect the subclips created this way to a MOV created from the original AVI?
    3.) On the PC I get an xml file containing the correct position data of the subclips (as timecode, if I remember correctly). Is it possibly, to use this data in FCE to mark subclips? Maybe by putting it manually into an xml project file or something similar?
    4.) Or is there any other way to solve my problem?
    Sorry for the big post and thanks in advance,
    André

    You're welcome, and thank you for the reply.
    2) Yesterday I made the subclips with the In-Out Points and Command-U, the benefit is that I've seen the clip before naming it. Now I'm using markers, it's benefit is that I can write comment and (the later) clip name at once, the drawback is that I have to view to the next shot's beginning before knowing what the shot contains.
    But now I found out that I can reconnect my clips independently to the format I converted the master clip to. I reconnected the media to the original AVI file and it worked, too! The more I work with, the more I'm sold on it... - although it doesn't seem to be able to read and use the date information within the DV AVI.
    1) Ok, I tried something similar within FCE. Just worked, but the file size still remains. Which codec settings should I use? Is the export to DV in MOV with a quality of 75% acceptable for both file size and quality? Or would be encoding as H.264 with best quality an option for archiving, knowing that I have to convert it back to DV if I (maybe) wan't to use it for editing later? Or anything else?
    Thank's in advance again,
    André

  • Unable to play .avi files Elements Premiere 9

    I am a new user.  HP portable workstation running XP Pro, Nivida graphics
    , using a older Flip camera.
    When import from the Flip, .avi files are created.  When I try to edit or view the files, the sound plays but no video.
    I can see and play audio and video using the Microsoft viewer, but I can not in Elementss 9.
    Additional information
    Using a newer Flip camera that exports MP4 files, this notebook plays both video and audio.
    suggestions Please.
    Thank you in advance

    Thank you for the response.  The older Flip will be back into my office later today and I will respond to your questions.
    Regards,
    Doug
    THOMAS COMPUTER CORPORATION
    Doug Polkosky
    Visit our web site & online catalog
    http://www.thomascomputer.com
    203 Park Lake St
    Orlando, FL 32803
    P: 407-855-2020
    F: 407-426-2805
    The information contained in this email has been provided only to the person or entity to which it is addressed. Any retransmission, dissemination, or action based upon this information is prohibited. If you have received this email in error, please delete this email immediately and inform the sender of the error. No email is sent unsolicited. This email is either in response to an email sent from your address or as part of a broadcast that you signed up for. If you would like to be removed from future broadcast mailings, please respond to this email with 'remove' in the subject line. Please allow up to 5 business days for removal.

  • Poor quality of AVI files playback in Adobe Premier Pro CS6

    I tried to play back AVI files loaded from Canon GL2 camera by Premier Pro 2.0.  In Adobe Premier Pro CS6 playback I got jitters and poor quality - what is the problem?

    1st - More information needed for someone to help... please click below and provide the requested information
    -PPro Information FAQ http://forums.adobe.com/message/4200840
    2nd - Exactly what is inside the AVI file?
    Codec & Format information, with 2 links inside to read
    -read both links in reply #1 http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    For PC http://mediainfo.sourceforge.net/en or http://www.headbands.com/gspot/
    For Mac http://mediainspector.massanti.com/

  • My imported AVI file doesn't play audio in Premiere Pro CS5 nor Encore CS5

    Hi there,
    I've been trying to find a solution for my "audio" problem for a few days now, but no luck...
    First of all I'd like to mention that I work on a Mac.
    I have an AVI file that plays perfectly fine in Quicktime (audio and video).
    However, when I import it in Encore or Premiere, it shows the video but there's no audio.
    I understand this probably has something to do with codecs? But I really have no clue what I can do about it.
    I was working in Encore at first, cause I don't really need any editing, just a dvd I'd like to burn. Since the audio didn't work there I've tried importing in Premiere. Same problem of course. Then I tried to seperate the audio and video and transfered it into Soundbooth. Didn't change anything.
    Another problem that occurred in Encore was some errors with gaps. I have about 10 AVI files that I put on the same timeline. Any advice on what I can do about that?
    I'm kinda new in all of these things, so any help would be much appreciated.
    Thanks a lot!

    Hi again,
    I've downloaded mediainspector and got the following results:
    I also checked the timeline after importing a video and there is indeed a red line over the timeline in Premiere, not in Encore:
    Screenshot timeline Encore:
    Screenshot timeline Premiere:
    My project settings in Encore: I took the standard for a dvd Pal widescreen:
    And in Premiere I've tried the 4 different standard settings for DV PAL. All the same result with the red line.
    I've read the articles about the codecs, but I really could use some help what I can do next. Should I convert it to an MPEG2 for dvd file for example? Which converter (free?) is good for Mac?
    Or is there something else I need to do?
    I understand how the programs work but I really don't know so much technical stuff about sound and video.
    Oh, and just for your information: I imported an MP3 file also in the project, to play at the main menu, and that one is playing just fine, no problems there.
    Thanks again for all the help! I really appreciate it.

  • Audigy 2 ZS, Playing .avi files, e

    I have an Audigy 2 ZS soundcard and I am trying to play a .avi file. The sound is fine, except for the voices. They are very faint. They also do not come out of just the center speaker as I would suspect they should. I have tried playing the file with CMSS 3D enabled/disabled and the voices are always software than the rest of the sounds. What can I do to make sure I have all the settings correct on my computer so that it will sound right? I checked the file and it was encoded with this audio information:
    Codec: ac3 (0x2000) Dolby Laboratories, Inc.
    Bitrate: 448 kb/s (5 ch) CBR
    Fs: 48000 Hz

    it seems like you use the software way instead of the hardware way.
    in ac3 configuration:
    Output=
    speakers=spdif
    sample format=24bit.
    if you select in ac3 (or matrixmixer, but you don't need matrixmixer because of soundcardhardware) something else then spdif, then you use software encoding instead of the cardhardware. (same story as dvd-player audio setup)
    also when you're in like codecpack config(3ivx divx etc.): disable video hardware.(otherwise video = earlyer then sound).
    it's pritty complicated when you discover all the sound coding options of a computer with fat soundcard Message Edited by www_96KHz_tk on 06-6-2005 0:39 PM

  • PE 10 missing audio from *.avi files?

    Hi,
      New PE 10 installation.  When I add a *.avi file to the timeline or sceneline, I am missing the audio tracks. Don't see the audio tracks.  Even when I press the Play button above, there is only video and no audio.  But in the Media section, when I select "Edit Original", the avi file plays with audio fine.  What am I doing wrong?
    Thank you,
    Jerry

    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037
    Report back with the codec details of your file, use the programs below... a screen shot works well to SHOW people what you are doing
    For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en
    For Mac http://mediainfo.massanti.com/
    Once you know exactly what it is you are editing, report back with that information... and your project setting, and if there is a red line above the video in the timeline, which indicates a mismatch between video and project

  • How to burn 23 AVI files onto DVD?

    I am trying to figure out how to make a DVD of a tv show season which has 23 episodes for my kids.
    How can I make a DVD with all these?
    Do i have to convert them first or create a project and drag the AVI files in?
    Thanks
    Patrick

    Hi RIPNHL2005
    Welcome to apple discussions. If you find that the avi file/s will not work within iDvd directly (and some will not since avi is simply a container format) then the best way I find is to first convert them with an app like Mpeg streamclip. There are at least two web locations where you can download this freeware and they are shown below.
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    http://www.apple.com/downloads/macosx/video/mpegstreamclip.html
    Assuming your episodes do not exceed 120 mins. per single layer dvd (or about twice that for dual layer media) then you can use iDvd thereafter.
    However I do have an alternate suggestion also. I use software from Elgato / EyeTV3 in combination with EyeTV products to capture directly to my Hdd and then I can use Toast to burn them to Dvd thereafter. Works rather well and especially if I need to exceed 120 mins per dvd. Toast offers a fit to dvd option that you can't find within iDvd.
    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software / products that may be mentioned in this topic. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information above at your own discretion.

  • CS4 Windows problems: crash very often, stuck when import certain avi files

    The followling problems are in CS4 (newer updated) Windows (Windows XP SP3):
    I am using Premiere Pro in CS4 and the program crashes so often (it crashes more than 10 times in one afternoon). It usually starts when I place clip, photoshop file, or other assets to sequence. If it starts leave a lot of frames while I pull the asset (there will be the same frame over the path my mouse went), it is a signal to crash soon. After it restarts, it usually loses the last saved information (even I saved the project way before it crashes). I do not know whether other users see the similar behavior.
    The second problem does not look like only for CS4. It happens in CS3 too. When I place an AVI file (not sure whether other format behaves the same), the import program will stuck in the end (while it shows "generate peaks from xxx.avi"). It will take forever and I never successfully finish importing the file. I worked around and realized it only happens to the avi files I captured from Movie maker (use Auto capture option). The avi file can be played in Windows Media player. If I use Movie maker to cut the end of the avi file, the new avi file can be imported to Premiere without any problem. It seems the last few frames in the captured avi file has problem so the import subfunction will stuck there. I am not sure whether this is the case. If it is, the program should be "SMART" enough to go on or ignore the bad frames.
    Any idea?

    Thanks, Harm. This brings to another problem I had. While I am using PR to capture DV from my two mini-DV cameras, sometimes it just generates a lot flicks or "snow" in the avi files. But with Movie Maker, the same tape will not have such problem. This is why I am using Movie maker to capture the movie since it is accessible beside PR. It seems the PR problem is only for the last few frames so I just cut the last few frames off. I do not know why PR cannot just generate an Error message to UI so we will not just wait there for hours. I did some programming to control many instruments and I understand I cannot project every problem the program will encount, but at least I can generate an error message to tell the user where the problem is. Is this the fundmental guideline for programmers? If PR does like the format, let us know when it reads. It is very frustrated while you wait there hours and hours without any idea why it stucks!

  • Video dimensions on .avi files?

    Hey guys. Sorry for the double post (I wasn't sure which category I should ask this, so I asked in the "Using Mac OS X Leopard" and "User Tips" forums).
    Just out of curiosity, what is the best way to check the video dimensions of a .avi file? I know Finder will tell you dimensions on .m4v's and .mp4's and certain other Quicktime-only files, but I'm trying to convert some of my .avi's to my iPhone and I want to maximize the video quality by minimizing only as much as I have to and keep the original aspect ratio.
    So far, I haven't found a quick way to check the dimensions. Get info and file details in finder don't seem to help me, even though I'm able to open up the files in both Preview and Quicktime (and clearly there is a defined aspect ratio). Any suggestions? Thanks in advance.

    The QuickTime Player application should give you all sorts of information about your file. Even if you don't have QuickTime Pro (to open the more complete "Show Movie Properties"), the "Show Movie Inspector" should give you the pixel dimensions.
    -Doug

Maybe you are looking for

  • My apple id is valid but is not an icloud account

    i see this is a common fault, but how do i fix this??? how do i get the icloud account set up? any ideas? thanks

  • More Than One Website and More Than One Column

    Hi. I have two questions. 1. I have two websites on my iWeb - one for me and one for a company I'm making a website for. I only want to upload the one for me onto my .Mac account, but I don't want to delete the other site. How do I get only one site

  • Mail not sending

    When I try to send mail from Apple Mail, I get the message: This message could not be delivered and will remain in your Outbox until it can be delivered. The connection to the server "smtp.mac.com" on port 25 timed out. This happens on my work and ho

  • F110 Payment Run - BTE / Exits

    Hi ABAP Gurus, Good day. Currently, our Direct Debit Collection file is being created via Transaction F110 during Payment Run. Basically, the Direct Debit file is being uploaded in AL11 after the Payment Run Transaction F110. Please be informed that

  • Is there any tables or function modules for getting currency units.

    Hi, I am working in smartforms.My requirement is I want to print the russian currency. For example if there is 100,25 .I want to get 100 rub 25 kop ( kopecks) like paises for INR. Thanks, Saravanakumar V.