Can I join two avi video files?

Hello,
after long search in this java forum, i don't get any solutions.
My problem is I want to assemble some avi files, and I'm not so good in JMF. So maybe anyone has a solution or a programm for me.
I'm also thankful for Tipps&Tricks or Links
Thank you very much.
Thomas

If you are using a Linux machine, you can use a command-line tool called AVIMerge.
I recently used it for joining individually submitted segments of a film like so:
avimerge -o InstrumentalityPart2.avi -i 01.avi 02.avi 03.avi 04.avi 05.avi 06.avi
There's also a way to do it in MPlayer/MEncoder using stream copying and rebuilding the index, but AVIMerge is easier to use.
Two caveats:
- AVIMerge isn't included in the out-of-box install of most distros, so you'll probably have to download and install a copy before you can use it.
- The AVI files you are joining have to have the same format (in the PAL vs. NTSC sense of resolution and FPS), and (I believe) the same encoding (as in "XviD with a constant Q of 2, a keyframe interval of 92...."). Basically, it only works properly if all of the videos you are joining were encoded the same way, with the same tools, and in the same format. This means that, if your individual video segments are in different formats or encodings, it's best to obtain the highest-quality copies possibe, as the re-encoding process will inevitably result in a loss of quality (though careful selection of filtering parameters can minimize some of this effect for certain types of footage).
I don't know of any Java tools that do the same thing, and am unsure of whether your goal is just to join a bunch of AVI files, or to make a JAVA app that, among other things, can join a bunch of AVI files. I do know that there is a way to use the "Runtime" object to call command-line programs from Java and wait until they terminate - which could allow you to make a Java wrapper for a program like AVIMerge or MPlayer/MEncoder.
Unfortunately, all of this is pretty much useless on Windows machines (though it might work on Mac OSX, I'm not sure).

Similar Messages

  • How to import two AVI video files & convert to one FLV ?

    Status:
    - Newbie using PC & Flash CS3 ver9l
    - I can import a single AVI video file and convert it to an FLV video.
    Problem:
    - I have two AVI video files... one 4GB (20 minute) long and one 2GB (10 minute) long... and want to combine them to have a single 30 minute long FLV video file.
    Question:
    - Can I do this in Flash? When I "convert" a single AVI video to a FLV using the File, Import method... I can't really see the video on the Flash time line. I'm a newbie so I'm probably doing something wrong.
    - I tried doing a File, Import for file-1.avi and then doing it for file-2.avi... but the two were on top of each other... and not end to end.
    Maybe some kind sould will walk me through this.
    Thanks for any help.

    Your not going to be able to combine two videos as one in flash, if your using Win try Win Movie Maker, I believe you can drag both into a WMVM timeline and can then save as one file, then you can use AVC video converter or the like to encode them into an .flv or.f4v file.

  • HT3775 how can i convert an AVI video file to work on my iMac?

    I have just bought an imac and am trying to put my movies on to the mac from a microsoft machine. A lot of them are in AVI or MKV formats and I want to know if there is a converter I can download on my imac which will convert these files? Any help would be gratefully received.

    If you just want to move these avi and mkv files to play on iMac, you can download VLC player, it plays just every file format.
    http://www.videolan.org
    For converting files to Mac readable format, I use this one all the time:
    http://www.appgeeker.com/how-to/convert-avi-to-mp4-mac.html
    It supports handling multiple files at a time. one of my cameras record in .AVI format and i bulk convert to .mp4 or h264.

  • HT3775 can you convert an AVI video file?

    how do you convert to view an AVI video

    FWIW, clicking on your link results in a warning:
    I don't know why; however, one of the results was showing CNet downloads and they are not recommended as they may contain unwanted additional adware or malware as noted in the warning.

  • My avi video files are no longer supported in PRE9? Help!

    I created a movie in premiere elements 9  several months ago.  My video was imported from avi files on my computer.  The avi files were originally downloaded from my camera.  Everything was fine and I even burned a near finished copy of my project on a DVD.  Now, several months later, I open up the project to put my final touches on it and notice that all the avi video files are red in the timeline.  On the organizer tab for my project under media type, it says, "offline".  So, I clicked on the avi file and it asks me to find it.  I find it (the files have not moved) and click on it and I get this error, "Error Message. This type of file is not supported, or the required codec is not installed."  This is very strange.  Do you have any ideas? My operating system is Windows 7.

    I kind of suspected MJPEG (just a hunch, as two other CODEC's, commonly wrapped in an AVI, DivX and Xvid, seldom every play correctly to start with).
    Now, there are many "flavors" of MJPEG. It is an older CODEC (or really type of CODEC, as there are so many versions), that was ressurected for use in mostly (then) stills cameras, with video capabilities added. It is not a bad CODEC, but each camera mfgr. has tweaked it for their purposes. This can create issues. MJPEG is not the "universal," that say DV-AVI Type II is. Canon will have a version, Nikon another and Panasonic yet another. They all show as MJPEG, but will be a bit different. A similar analogy can be drawn with Camer RAW files - Canon's differ from Nikon's, which differ from Panasonic's, though they are all Camera RAW. Also, Nikon, for instance, is constantly changing what is in their NEF (Camera RAW) files, so that the newest will require the latest release of Adobe Camer RAW (ACR), to be processed in Photoshop. MJPEG is similar to that, with fewer variations - but still individual variations.
    Now, there could well be reasons that things have changed. The first one to strike me would be that you installed the software that came with that camera, and included its specific version of the MJPEG CODEC, then later removed say the camera's utility, taking that specific version of MJPEG away. You might well have others, but PrE is having a hard time matching them up.
    In that article I linked to on MJPEG, I mention two popular MJPEG CODEC's, Morgan and MainConcept. Both are rather generic MJPEG CODEC's, and when MJPEG resurfaced, they worked fine for most such files. However, as time has elapsed, and camera mfgrs. tweaked and tweaked, they are less likely to work 100%. Once, they were the "silver bullet" for MJPEG - but not so much any more.We began seeing more users, with either, or even both, still having issues with newer MJPEG CODEC's. As most camera mfgrs. ship a copy of their specific version, somewhere along with the camera, it became common practice to recommend installing that specific version from the specific camera's utility disc. Unfortunately, that was not always easy to do. Some included their version of MJPEG as a separate installation (best way, IMHO), but many incorporated it into the camera's driver installation (still good), and then there are those instances, where the specific version of the MJPEG CODEC is installed along with other utilities on the disc, such as maybe a little editing program, or a file cataloging utility. Scant mention is ever made of the specific MJPEG CODEC, and how it is installed on one's system. The latter method seems to be the most common now. I have the full utilities, including the camera's own editing programs, installed for my Canon, my Nikon and my wife's Panasonic. That means that I have at least five (think that the total count is eight on my workstation) MJPEG CODEC's: one for Canon, one for Nikon, one for Panny, one Morgan and one MainConcept.
    What camera produced those MJPEG AVI files?
    Do you have that camera's editing and cataloging utility installed?
    Do you have the utility disc for that camera?
    Have you removed any such editing, or cataloging utility, between the time that the files worked, and when they did not?
    I do not believe that any version of PrE actually installs any version of MJPEG (could be wrong here), though they work with, and include various other MainConcept (mostly MPEG) CODEC's. That means that one will need to install an MJPEG CODEC, and the one specific to that camera, might be required.
    You obviously do have an MJPEG CODEC (or more), installed in your OS. As there is a vast difference between playback of an AV file, and editing that same file, it could be that PrE is just not able to use the installed version, with those files. As it once was able to edit them, I am guessing that something has changed, and it could be as simple as cleaning out one of the supplied utilities for the camera, that also removed its specific version of the MJPEG CODEC.
    As PrE does not install the specific version of the MJPEG CODEC, many recommend not trying to edit such material. I am not of that mindset, but do allow that one might have to do some extra work (and work that is NEVER outlined in the camera mfgr's literature - unfortunately), to get things to work. I had to install a bunch of programs, that I will never directly use, just to be able to edit the MJPEG AVI's from my family's cameras, in both PrE and PrPro. I hate having to do that, as it fills up my HDD with stuff, that will otherwise never be used - but I need the specific CODEC, and it's only available to be installed WITH other software - all too common nowadays, and a mistake on the part of the camera mfgrs. IMO.
    Good luck, and I hope that with the specific MJPEG CODEC, you will be back up and editing your footage, as you were once able to do.
    Hunt
    PS - sorry for writing an entire encyclopedia there, but MJPEG is not as simple as it could be.

  • Two different video files in the same clip

    Well, I've been looking around and have been wondering if it's possible t have two different video files play at the same time, both being shown at the same time, for example, what I would like to do is; I have two separate video files, one of me playing rhythm on a guitar, the other of me soloing, and would like the to play at once, both being visible at the same time, one on each side of the screen.

    if you're using iMovie vers≤6, look at the plug-in makers for some PIP (picture in picture) plug-in...
    geethree.com
    imovieplugins.com
    stupendous-software.com
    or, in case you own QTpro, you can use that ..
    or, if you like total control, consider purchasing/'upgrading' to FinalCutExpress..

  • My Captivate 8 is not converting my .avi video files to .flv or .f4v, anyone know why and how to fix it?

    My Captivate 8 is not converting my .avi video files to .flv or .f4v, anyone know why and how to fix it?

    Hi There,
    Can you try to launch Adobe Media Encoder CS6 ( come with Captivate 8) and try to convert .avi video files to .flv/ .f4v format.
    Let me know if it helps.
    Regards,
    Ajit

  • How to play .avi video files

    I've been searching for a program to download that will play .avi video files. The things I find, I either can't install, or they don't play .avi. I can't install them because I can't figure out how to run .exe applications either, which most of the installation files are (it just says choose application).
    Can someone please tell me of a good update to quicktime or a different video program, and/or tell me how to open .exe files?

    Well you can check out some of the free players like
    VLC:
    http://www.versiontracker.com/dyn/moreinfo/macosx/14738
    or
    Mplayer:
    http://www.versiontracker.com/dyn/moreinfo/macosx/27163
    Both of which will play just about any file format.
    Alternatively you can set up quicktime to play these same files (mpeg4, avi, etc.). You can find out how to do so along with links to the various codecs here:
    http://www.lordofthecows.com/avi_qt.php

  • I cannot play the avi video file on my macbook!!! Need help please

    hi there
    i have a macbook and it plays other avi video file but i recently downloaded this video off of utorrent and when i play on it, it says quicktime couldnt recognize this video and suggests me and takes me to another link. I have already downloaded Perian, what else can i do about it? I need some help, thank you.

    See if VLC will work (it should)....
    http://www.macupdate.com/app/mac/5758/vlc-media-player
    ....go to the developers web site and check all the file formats that it will run.....

  • Burning multiple avi video files

    Hi,
    how do I burn mutliple avi video files onto one DVD, using idvd 6?
    thanks
    Jess

    AVI is a big box, and can contain lots of formats inside. Some are compatible with iDVD, some are not. If they are, just drag them on iDVD, then play with the chapters, menus etc.
    If not, you need to convert them in an iDVD (QuickTime) friendly format, loosing some quality. You can use QuickTime Pro (costs money), or ffmpegX (almost free), or alike.

  • HT204382 how can i play an AVI movie file on my mac????????

    how can i play an AVI movie file on my macbook??????

    Or download and install the free MPlayerX from the App Store.

  • Can you please help me by saying me how can i join two different picture to make it as one picture.??

    Hi Sir/ Madam,
       My name is Rishav and I am facing some problem with my Photoshop CC. Actually I have a question. If you guys could help me out i will be very obliged. The quest in "Can you please help me by saying me how can i join two different picture to make it as one picture.??"

    Maybe you should post over at
    Photoshop for Beginners
    or start with the "Get Started" section of the Help:
    Photoshop Help | Photoshop Help
    And your question
    Can you please help me by saying me how can i join two different picture to make it as one picture.??
    does not seem particularly specific – do you want to simply combine two images as they are, do you want to clip elements from the one and insert them into the other, …?
    Could you post (lores of) the images and explain what you intend to achieve?

  • Sync audio with two different video files to create split screen

    I want to sync two different video files to a high quality audio file and create a split screen from there in Final Cut Pro X. Help please?

    I'm following along at home, Tom, trying to make sense out of your instructions. (Editorially: This kind of operation is among the reasons I thoroughly loathe FCPX.) This would have been easy in FCP7. Perhaps it's actually the same amount of work (you are describing operations in FCPX I have not bothered to try yet—too scared) but it's far more direct the old way: Find sync points for all three files, stack them up in a timeline, nudge till precisely matched, apply effects.
    But I'm glad you're here to help us through this stuff!

  • How to Cnvert a RAR file to an AVI video file on my iMac with Mac OSx 10.82?, how to Cnvert a RAR file to an AVI video file on my iMac with Mac OSx 10.82?

    Good Morning,
    I have been trying to find a simple sotware as a trial version to try and covert a RAR file which is suppose to be a video screener and convert it to a AVI video file on my iMac with out any luck!
    Could someone please give me some advice on how to convert RAR to AVI. and the best software to try and purchase?
    Thank you.
    Nellie

    Hi,
    I did download this from the App Store and when I use The Unarchiver it takes a couple of minutes to convert and it comes out as a DVDRip and will not open. Then a window copens and suggest it may be found at the App Store and when I click OK it "Your Search has no Results."
    I would appreaciate any other advice.
    Thank you.
    Nellie

  • Can we join two totals tables in ABAP Query

    Hey Gurus!
    Can we join two totals tables in ABAP query.
    I am tyring to join FAGFLEXT with internal orders totals table.
    Thanks
    S

    Hi,
    Report painter majorily operates around characteristics and key figures.
    ABAP query comes even more handy.  The advantage is -
    1. You can link many tables
    2. Create selection screen as you like to have
    3. User friendly report creation
    4.  Logic can also be coded.
    5. Authorization can be set
    I have written a article in SDN, which gives you an idea as to how to go about using ABAP query.  Have a look on this - [Article - Practical Usage of ABAP Query|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f6b256-23be-2b10-8b93-cad83a617634]
    Regards,
    Sridevi

Maybe you are looking for