Images merging and movies merging

Hello!
I am new to Java Media Framework and I'm sorry about my English is really poor.
I read articles , like :
[Generating a Movie File from a List of (JPEG) Images|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html]
[Merging Tracks from Multiple Inputs|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Merge.html]
I'm at Unbuntu 9.04 i386 Desktop , using JDK 1.6.0_16 , and [JMF 2.1.1e Software|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/download.html].
[ Question 1 ]
I want to merge images into a mov file per 2 images
$ java JpegImagesToMovie -w 320 -h 240 -f 1 -o file:1.mov file:foo1.jpg file:foo2.jpg
$ java JpegImagesToMovie -w 320 -h 240 -f 1 -o file:2.mov file:foo3.jpg file:foo4.jpg
$ ...
the result of 1.mov and 2.mov is work correctly, and then, I want to merge 2 mov files into 1 mov file
$ java Merge -o file:result.mov file:1.mov file:2.mov
the file size of result.mov is almost the sum of the 1.mov and 2.mov , but i cannot play it correctly, the result.mov is only show the content of the 1.mov.
the real cmd :
$ java -classpath jmf.jar:. JpegImagesToMovie -w 691 -h 299 -f 1 -o file:a.mov /images/1.jpg /images/2.jpg
$ java -classpath jmf.jar:. JpegImagesToMovie -w 691 -h 299 -f 1 -o file:b.mov /images/3.jpg /images/4.jpg
$ java -classpath jmf.jar:. Merge -o file:result.mov file:a.mov file:b.mov
[ Question 2 ]
I use [Writing AVI videos using pure Java|http://blog.hslu.ch/rawcoder/2008/08/12/writing-avi-videos-using-pure-java/] to merge images(jpg) into a avi file, and it works correctly. the type is MJPG/MJPEG.
like [Question 1] , 1.avi and 2.avi made, and then , I can use the avimerge tool to merge them into the result.avi , and it works correctly.
but I cannot merge them by [Merging Tracks from Multiple Inputs|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Merge.html] even if I change the code of Merge.java :
@49 : String videoEncoding = "MJPG";
@51 : String outputType = FileTypeDescriptor.MSVIDEO;which is according to [Class VideoFormat|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/apidocs/javax/media/format/VideoFormat.html] and [Class FileTypeDescriptor|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/apidocs/javax/media/protocol/FileTypeDescriptor.html] .
the real cmd :
$ java -classpath jmf.jar:. Merge -o file:result.avi file:a.avi file:b.avi
but I cannot play it correctly.
Thanks for your help !!

hello.there wrote:
hi shadowLife ,
I am also a newbie to this filed.Curently i am working on Video conference tool using JMF. I also need to merge the mulitple audio files and i found, it is possible.
One of my friend tried to merge the two video files, but the problem is that when you play them it plays only first video. As these videos are stored as multiple tracks so only one trakc is played at a time. If you want to see the other video then there should be a option of seeing video track in your player like it is in VLC player.
So i don't know whether merging of two video tracks as a single video track is possible or not (i feel it is not possible), because video stream is different from audio stream.Merging two video streams together doesn't make sense the way it does with an audio stream. Thus, if a video has more than one video stream running concurrently, it'd be for something like "alternate angles" on a DVD, or perhaps security camera software would combine all of the video feeds into a single file like that.
The OP was wanting to concatinate video files, not merge them. One right after the other. This concept makes a lot more sense for most applications.
One way to do this is to play both video on some panel and capture the screen ( i heard that is is possible in java) then create a video from this captured images.It is possible to do that, but you would never want to do something like that... There are more problems with that idea than I can count, just stemming from the fact that that is a very, very hacky solution.
Certainly there are instances where this might be necessary, but anything like that would absolutely be a last-ditch effort and could never be included in any sort of publishable software...
Hope this information will help you.
May be, i can be wrong so hoping for others reply on that. this will help me also for making my fundamentals and knowledge strong.Can be wrong and mostly were ;-) But it's a learning experience for everyone, eh?

Similar Messages

  • Filter Data with Merged and non merged columns in one

    Hi there,
    I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged
    columns.
    With this data I have one merged column which spans 6 rows, and then in the same row I have 6 rows with different points in, and what I want to do is filter my list, but be able to see the merged coloum aswell as the 6 points.
    Any ideas are much appriciated.
    Cheers
    SAN

    You cannot filter across a row - so I have assumed that what you mean is that some cells in columns are merged to serve as the headers, and the data is in the came columns but in the row(s) below the header. If this is incorrect, ignore this post.
    For this example, I have assumed E to J are the column of data and merged cells, column K is free, and the first merged header is in row 1:
    In K1, enter
    =E1
    in K2, enter
    =IF(COUNTA(E2:J2)=1,E2,K1)
    and copy down. Then filter based on column K, and it will show the headers and the data for the selected header value.
    HTH, Bernie

  • Filtering merged and non merged columns

    Hi there,
    I have an excel spreadsheet that has both merged and non merged columns. I want to filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged columns.
    Any ideas are appriciated.
    Thanks

    As you have found, (vertical) merging and filtering do not go together. The value of a merged area only "lives" in the top left cell of the area, the other cells are blank.
    I would unmerge the cells and fill the values down into the blank cells. You should then be able to filter normally.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Working with images - Rotation and Movement

    Hello there,
    I have this problem that I cant seem to solve:
    I need to be able to move an image arround and there are restrictions to where image should be able to move: at any given time, when dragging, image should always cover whole body of a given border_container, this is simply achieved by sending a rectangle to the startDrag function, which will specify where the image is allowed to move. I got that part right, and its working, the problem arrise when I try to rotate the border_container (with the image), it should still be only possible to drag image so it all the time covers the body of the border_container, but I don't know how to do it.
    Code I use looks something like this:
    image.startDrag(getImageDragRectangle());
    protected function getImageDragRectangle():Rectangle
         return new Rectangle(
              this.width-image.contentWidth + x,
              this.height-image.contentHeight + y,
              Math.abs(this.width-image.contentWidth),
              Math.abs(this.height-image.contentHeight));
    Edit: image is not inside the border_container (not sure how relevant it is..)
    Could anyone help me out here and give me any hints or suggestions how I could fix it?

    You would have to write the image to a temporary file so that the browser could read it off the server. Browsers do not have access to the database, so there's no way to get the image from the database to the browser without using some sort of interim solution.
    ~Jer

  • Merging and un-merging Tables (not talking about cells in a table).

    Hello,
    New to Mac-world and iWork 09. If I've two separate tables on a sheet and wanted to merge these two tables, also, if I've a table and would want to separate it into two or three etc. tables, can anyone help me doing this step by step, please?
    Thanks in-advance.

    D,
    Here's a step-by-step.
    *Merging 2 tables.*
    Here we shall assume for simplicity that there are no Footer Rows to deal with, at least not in the table that is going away.
    First, make room in your receiving table, the one that you are going to end up with. (This isn't mandatory, but it helps with the visualization of what you will have when you are done.) To expand a table, click once inside it to activate it and then you will see three large dimpled gray handles; one in the lower right hand corner can be dragged to add both columns and rows at once, one at the lower left corner can be dragged to add rows and one in the upper right corner to add columns.
    Now you have room to add your second table to your first.
    Moving your second table's content into the first table is a four-step process.
    1. Select all the cells in the second table that you wish to move.
    2. Edit > Mark for Move
    3. Select the cell in the first table where you want the upper left cell of the second table to go.
    4. Edit > Move
    Now you can clean up by deleting whatever is left of the second table that you didn't need to move.
    *Separating one table into two or more tables.*
    Lots of ways to do this, but here's my favorite.
    1. In the Sheets Pane, click on the name of the table that you wish to split.
    2. Edit > Copy , Edit > Paste , Select all cells in the new table, Delete them to clear the table.
    Now you have a new table the same size as your original. Make as many copies of this new blank table as you are going to need. This would be a good time to rename the new tables in the Sheets Pane. Again, it's not mandatory that the new tables be the same size as the original, but that's a convenient place to begin.
    3. Select a block of cells in the original table that you wish to split off.
    4. Edit > Mark for Move
    5. Select cell A1 in a blank table.
    6. Edit > Move.
    Repeat steps 3 to 6 as many times as needed.
    Now you need to clean up the blank rows and columns, both in your decimated original table and in your oversized new tables. The easiest way if you don't have any rogue cell content is to activate a table, grab the big handle in the lower right corner and drag up and left until you can't go any further.
    If you have any rogue cells, cells with perhaps accidental content away from your intended work, your table sizing handle will stop working when it runs against them. Any cell with content will block the table size reduction effort and if you want to shrink the table further you will have to either deal with the cells first or delete the rows and columns using other controls.
    Regards,
    Jerry

  • Images enlarge and movies play in iweb, but not when published

    Everything works fine in the program, but when published to site or folder, photos are there, but won't enlarge. The movie thumbnail shows with the little movie icon in the corner, but clicking does nothing.

    On all of your pages  you have an image that appears to cover the photos preventing them from being clicked on.
    Move it to the back via the Arrange menu or get rid of it.
    How did you add the videos to the page?  If you just dragged them onto the page or used the movie page then iWeb will have to upload them when it publishes the page and all will load when the page is accessed which can cause long loading time for the page. 
    Also thre are some files missing for the TV page as seen in the Activity window (Command+Option+A) for the page. Publish the site to a folder on your hard drive and open it there.  Check to see if the movies play OK (after you fix that overlaying image issue). If they do then the problem lies in the uploading of the files.
    If those files are Quicktime then the viewers must have Quicktime installed on their computer in order to view them.  See this page on Roddy's iWeb for Musicians site for methods of presenting movies that will let all computers view them: Player-Showcase.html.  See the list at the right for different players you can use.

  • Difference between oracle 9i merge and 10g merge

    Dear all,
    I really kno the difference between 9i merge comand with 10g merge command???
    please help me to know this..

    ...and you did check the documentation?
    in Oracle 10g the DELETE was added and WHEN MATCHED and WHEN NOT MATCHED are optional (you have to have one of these)

  • Is Facial Recognition, HDR Merge and Panorama Merge included in the Student and Teacher Edition?

    What is included in the Student and Teacher Edition? I launched Lightroom 5 and received a notice of updates. When follow the link to the "update" I get to links that look like "upgrade" for a fee. I want to know if the three functions in the subject are updates or are they upgrades for a fee?

    Moving this discussion to the Photoshop Lightroom forum.

  • Javascripts for gallery images and movies do not work after Apple updates?

    The javascript that opens image links and movies no longer appears to work after runing recent Apple updates. (OSX 10.4.7 and Safari 2.0.4) The pages still work fine in Firefox under 10.4.7 and also in older versions of the OS (10.4.6) and Safari (2.0.3), but nothing happens anymore when clicking on these using Safari on my recently-updated MBP. Has anyone else experienced this?

    No problem here.

  • HT204053 I have two Apple ID's and I would like to merge them into one Apple ID only and move Apps, Music, Movies etc to to the one Apple ID. How can I do that?

    I have two Apple ID's and I would like to merge them into one Apple ID only and move Apps, Music, Movies etc to to the one Apple ID. How can I do that?

    It is not possible to merge Apple IDs.

  • Help Merging And Deleting Part Of Two Images

    Hi All,
    im having trouble with cutting part of a image out and putting it ontop of another to form one image i used to use gimp before but ive started using photoshop after building my own PC
    these are the two images i want merging:
    https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTfNmYfTBCmaN3zTV3_qrrQF48rJPd3QUrW5E t3AiDe-x8RD5rX
    https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRYeijxO3WUIMajNSW_RMvb5u0ksNGrgHGMCG 5Pc7ZqY25ABnNtKg
    its for a tattoo design no doubt most wont like it but hey ho, i want the woman in the middle of the second picture placing inbetween the two faces one the first image (if you understand what i mean) im not to bothered about all the writing as i will be having a saying underneath it all
    any suggestions on the best way to go about this need the image to look as clear as possible and 6" high and 10 wide
    thanks

    Hi EvilJester2013,
    It sounds like you want to composite two images together, this very helpful tutorial can help you with that: http://www.smashingmagazine.com/2010/12/16/compositing-in-adobe-photoshop-time-saving-tips /

  • Lightroom not merging and sorting images from two different cameras - help please !!

    Hi guys,
    I need some help here. I've just imported a few thousands of images form two different cameras, however Lightroom simply sorts them by camera only. (i.e.. images from the first camera, all sorted by capture time, then come images form the second camera.)
    The cameras are the same brand and model, times are synchronised, but the images refuse to merge and sort. I've tried putting them in the same folder and importing, but that doesn't do it either. I've been doing this for years and it all worked fine, till today. Does anyone know whats causing this, and how I can fix it?
    Thanks in anticipation.
    Latch

    Hi John,
    View > Sort > Capture Time is checked, The cameras are in sync down to the second, and images from both have been merging and sorting fine for over two years, till today. Sort order is all set to capture time in all modes and views, but its still sorting first by camera.

  • How to edit a library on second computer and then merge it back?

    Hi there,
    My main 500GB library is on an older Mac Mini and I've got a snappy new Macbook Pro. I want to keep the library on the Mini but it's getting too big for the HD there.
    I've done some tests with Duplicate Annihilator (DA) and it looks like I can really shrink the library by removing dupes.
    I've tried running DA on the mini but it would take several days to complete and I can't seem to keep my family from opening Aperture during that time. According to DA docs it's very dangerous to have both DA and Aperture running against a library at the same time.
    So, I think I want to:
    - Copy or Export my full library to an attached USB drive
    - Connect that drive to the snappier MacBook Pro
    - Run DA against the library on the Macbook Pro and then (carefully/selectively) delete the duplicates it finds
    - Return the USB drive to the Mac Mini
    - Import and/or Merge the smaller libary with the original library, hopefully ending up with the dupes removed from the original Mac Mini library
    To do that I first tried selecting the 'Photos' view in the Library, Select All, and then 'Export Smart Album as New Library' but it seems to have stopped before completing. There's a file in the target folder called "Aperture Photos Export_exporting" that's only 40GB.
    So, my questions:
    - Does the above process make sense?
    - If I simply copy the entire Aperture Library to the USB drive (vs Export) will I be able to Merge when I bring it back, or will Merge only work with a library that was Exported?
    Thanks for any tips.
    Cheers,
    Andrew

    Léonie, perhaps there is an issue with your system?
    Hopefully not, I am seeing the same on three different Macs with Aperture 3.5.1.  Andy.
    My network is too slow right now to download your movie, sorry - I could not yet view your video.
    But I experimented a bit further and found that occasionally the deleted files will be removed from the original library, but not reliably. It seems to depend on the edits done and the way the deleted images are trashed.
    When I do not empty the trash in the exported library, sometimes Aperture will remove the deleted photos when merging, but I could never get it to remove the deleted photos, if I emptied the trash in the imported/exported library.
    Here is an example:
    1. A test project to be exported as library
    2. The exported library after deleting images and emptying the trash
    3. Reimporting and merging
    4. Selecting to solve conflicts by keeping the imported library
    5. After merging, still all seven image versions.
    The only way that merging sometimes did remove the deleted image versions was, when I did not empty Aperture's trash in the imported library, and when I edited a few images before reimporting.
    KIrby, I see your traces in this thread. Do you have time to try to checkout what happens in your Aperture version? That would be great.
    Léonie

  • PSE 8 Exposure and Panoramic Merge Blur

         When I am doing Exposure and Panoramic Merges in PSE 8, or a combination of both for exposure reasons, I often get background features that are double images.  In the above merge, the leaves and some of the smaller branches in the background (look above the falls) are not sharp and some appear as double images.  The rocks and solid ground objects retain much of their sharpness.  When I use the same equipment to take single exposures, the sharpness is usually good.  Is there a solution.  Here is the process I used and a list of equipment.
    Camera: Canon 40D
    Lens: EF-S 10-22mm
    Tripod: Man. 055xwnb
    Head: 410 geared
    ISO 100
    FL: 17mm
    f: 22
    ss: 1.3 sec.
    Mode: Raw
    With the 3 adjustment on the geared head set at 0, the tripod was leveled.  The pan for the second of the two exposures taken as achieved with the use of the geared movement with no change in the leveled tripod position.
    Each of the two exposures was bracketed to achieve 3 exposures at +2/3, 0, and - 2/3.
    In PSE 8 the two sets of 3 exposures each were corrected except for sharpening, and then put through the Photo Exposure Merge process.  This produced the two exposures used for the Panoramic Merge. The Panoramic Merge was then done. Final sharpening was done using the final Panoramic Exposure.
    I have always thought that one of the reason for the blur in the trees and leaves may be due to the long exposure time required to get the flowing water look in the falls and rapids.  A shorter exposure time would be better for stopping any movement in the trees cause by any breeze that is present but the water would then have a much different look.
    Does anyone have a possible solution?
    Thanks, Bernie

    Bernie,
    There are two plausible hypotheses, both of which could be in play here:
    1. The motion of the trees caused by the wind is causing misalignment of the images during Photomerge Exposure.
    2. A bug in PSE's Photomerge Exposure causes its auto-alignment to silently fail on images 10 MP or larger (1 MP = 1024 x 1024 = 1,048,576 pixels):
    http://forums.adobe.com/message/2320219#2320219
    I'm assuming your original images are at the maximum 3888 x 2592 resolution of the 40D (10.1 MP).
    (Since misalignment is occurring in the upper-left of your example, it can't be due to Photomerge Panorama, since the left and right frames only overlap in the center.)
    Closely examining the image suggests that misalignment occurs on some but not all of the branches and leaves, but not on the bigger trunks and branches, indicating that wind is likely causing at least some of it. I think that reducing the shutterspeed would help, but you'll still get some unavoidable motion due to the wind, since doing the bracketed raw exposures will take more than half a second.
    To troubleshoot whether the bug is affecting these images, try resizing the original images to be significantly less than 10 MP, e.g. 3504 x 2336, and then do Photomerge Exposure (but no Panorama).  Is the alignment any better?

  • Merging and storing files and folders on external hard drive

    Merging and storing files/folders  - I have a MacBookPro3,1 &  a MacBookAir1,1 both running OS10.6.8 and then files from backups and archives on a LaCie 250 and LaCie 500. I want to improve my productivity by merging all files/folder into one place.
    I have a WesternDigital 1T to move files/folders to and do my duplicate deletion work.
    The end result I'm seeking is to have all my files/folders stored on the LaCie 500  - with space for expanding iPhoto Library and Movies then that LaCie 500 Backed up on the 1T.   As my computers are older models the internal drives are smaller - MBA 80GB and MBP160. The Air in particular gets full up quickly and doesn't work efficiently.
    What steps/software have you had experience with, and would recommend to merge all my files/folders, delete duplicates, and get it all in one place - including iTunes, iPhoto. 
    What are the pros and cons of keeping & working with files/folders on an external drive rather than on the internal drive?
    I'm aware of sluggishness in iPhoto if the library is too large, and looked into iPhoto Library Manager as an option for my photos.
    Thanks in advance for your help with this way past due Spring cleaning activity.

    Plugins have to be in specific locations for the application to load them. If you're just storing plugins you're not using you can store them anywhere.

Maybe you are looking for

  • How can I get a search bar added when trying to archieve emails in my IPhone's email app?

    My IPhone email app is connected to my Outlook email system in which I have many archieved folders, when I want to place an email in my archieved folders on my IPhone I have to scroll a long list of archieved folders to find the right one, how can I

  • Highlighting current day in month view of calendar

    Apple shows the day highlighted in all their promo images. I searched this forum and the latest entries are 2006 and 2007. Since Apple is showing this, it should be possible. But how? For instance, one plans a trip of two weeks. I'd like the weeks of

  • Can an InDesign swf document automatically resize?

    Hello, Using InDesign CS4, I've created an interactive document and exported into a swf format. The document size is 1024 x 768 px, but will not resize without cropping parts of the document. This means that the majority of users won't be able to use

  • Using complied Matlab in Labview

    I have a Labview vi that uses Matlab to do calculations and plotting by calling a matlab script in Labview.  I also have complied that same Labview vi so it can run on other machines without labview, but the machine must have Matlab since the vi call

  • Basic question on classification

    Hi, Why is classification used? How does it help beside being categorised differently than the actual folder structure? Please clarify. Thanks and regards, Arun