How to compress images to video?

Hi All,
I generate 15 images every second, and I want to make it into a video
stream and send it to someone else through network.
To elaborate: I have a Frame window and I want to show the other person
what is happening on the window. So I capure image of window 15 times
in a second and want to convert to video stream, send to other person, and the
want the other person to view the video.
Can someone give me an idea how can I achieve this..
Thanks,
Shrish
PS: There is "video compression manager" in windows API to compress image
data for use in an AVI file
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_video_compression_manager.asp)
Is there something similar in java?

I don't know what is an API key.
However in the context of visual Net you can create very simple a thumbnail.
Be aware this method seems to be to extract a thumbnail. But it is not, it simply creates one.
https://msdn.microsoft.com/en-us/library/system.drawing.image.getthumbnailimage(v=vs.110).aspx
Success
Cor

Similar Messages

  • How to compress a short video clip to e-mail

    Trying to figure out how to compress a short video clip to e-mail. Not sure how to do this thanks

    Sarah,
    When you export/share your video you have a choice of formats.
    Windows Media is a good option and you can choose a preset. Some of the options are DSL/Cable, Dialup, and others.
    Steve's book has a nice section on Sharing Options, and he has a very nice article posted at Muvipix.com as well.
    http://muvipix.com/products.php?subcat_id=44
    You need to register to be able to view the article but the article and registration are both free :)

  • How to compress image to running in slideshow

    How to compress image to running in slideshowss image to running in slideshow
    My website: http://ketoanthuedoanhnghiep.com
    I'm set up a slideshow with two slide with Image. But I don't know how to compress this image. It's too large. My website running very slowly.
    please help

    I got the answer use UIImageJPEGRepresentation(image, compressionQuality) to compress the image.

  • How to store images and video clips in Oracle

    All,
    Can anyone guide me how to store the images and video clips in oracle through pl/sql and also the way to retirve it.
    Edited by: sikander on Sep 7, 2010 3:27 AM

    Some sample code
    connect sys schema  --if scott has no privs to create directory
    --where physical file store in the same machine where database load
    CREATE DIRECTORY IMAGES AS 'D:\images';
    GRANT READ ON DIRECTORY IMAGES TO SCOTT;
    connect scott/tiger
    create table my_book_diagrams (Image BLOB);
    DECLARE
      v_file_loc BFILE;
      v_diagram_loc BLOB;
      v_diagram_size INTEGER;
    BEGIN
      v_file_loc := BFILENAME('IMAGES','Layout.bmp');
      DBMS_LOB.FILEOPEN(v_file_loc );
      v_diagram_size := DBMS_LOB.GETLENGTH(v_file_loc);
      INSERT INTO my_book_diagrams (Image) VALUES (EMPTY_BLOB())
      RETURNING image INTO v_diagram_loc;
      DBMS_LOB.LOADFROMFILE(v_diagram_loc, v_file_loc, v_diagram_size);
    END;
    commit;

  • How to compress image files, jpeg, bmp, gif, png, tiff, etc

    I am new to Jave imaging, does anybody know how to compress an image file, including jpeg, bmp, gif, png, tiff format.
    Thanks
    JC

    some are already compressed.
    If you just want generic compression, it doesn't really matter what type of file they are. A simple approach would be to use ZipOutputStream

  • How to compress image size?

    Hi,
    Is there any way to compress image size in iphone? Actually my application is uploding images to server from phone. It takes long time to upload the original image. So if I can compress or convert to thumbnail, it'll help me out.
    thanks

    I got the answer use UIImageJPEGRepresentation(image, compressionQuality) to compress the image.

  • How to add image and videos in jframeusing netbeans..

    hi. im using netbeans where you can create a jframe form by just dragging and dropping items... can someone help me how to add an image? what item should i drag onto my jframe? help me pleasee...

    demo:
    import java.net.*;
    import javax.swing.*;
    public class ImageExample implements Runnable {
         public void run() {
              URL url = null;
              try {
                   url = new URL("http://blogs.sun.com/roller/resources/jag/SouthParkJAG-small.png");
              } catch (MalformedURLException e) {
                   throw new RuntimeException(e);
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.getContentPane().add(new JLabel(new ImageIcon(url)));
              f.pack();
              f.setLocationRelativeTo(null);
                    f.setVisible(true);
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new ImageExample());
    }

  • How to compress/adjust imported videos in Final Cut Pro and iMovie?

    Left: what the video looks like when played in iPhoto or Quicktime (Dimensions: 960 x 720, Codecs: AAC, H.264) .mov
    Right:  what the video looks like when played in iMovie or Final Cut Pro.
    SOS

    the left shot is 4:3 (960/720)
    the right shot is a 16:9 project (1920/1080 or 1280/720) with a stretched-to-fit 4.3 video.
    If you want an un-stretched project, set it to 4:3 manually when you create a New project, or use the transform-tool and resize the video - which will add bars l/r or chops-off t/b of the video...
    or use the Spatial Confirm settings in the Inspector ...

  • How to compress Photo Booth videos for emailing

    Kindly advise. Thanks!

    Hi, Eric - thanks for your reply. My test .mov file is 2.6 mg. The Zip file resulting from your recommended procedure is 2.4 mg. I need a much sharper reduction. Any further suggestions?

  • How do i blend image and video on premier?

    Hello Everyone
    I'm trying to add a video onto an image on Premier. I want the image to be still and the video to play in the background. How do I make an image and video blend together in Premier?
    Any tips/effects to make this look more interesting? for my project I'm trying to add a disturbing footage from the news onto a landscape photograph.
    I'm using pro 5 on an Imac
    Thanks in advance

    Video on track one.  Image on track two.  Use the motion property to locate and size the image.

  • How to show a compressed image in the report?

    Hi
    I have created a new report.what i do in application is i  compress the image and save it in database.now i need to retrieve the compressed image and display in the report. I have used the following code to decompress the binary data save in the image.I
    dont know after that what should i do. Please help me to show the picture in SSRS Report. I need to show picture in many reports.one of my doubt is how to call this function in SSRS Report. The function accepts input as byte but in database the column in varbinary.
    should i convert the input type of function to varbinary instead of byte array? Please help me.
    Public Function Decompress(ByVal arr As Byte()) As Byte()
    Dim notCompressed As Boolean
    notCompressed = False
    Dim MS As MemoryStream
    MS = New MemoryStream()
    MS.Write(arr, 0, arr.Length)
    MS.Position = 0
    Dim stream As GZipStream
    stream = New GZipStream(MS, CompressionMode.Decompress)
    Dim temp As MemoryStream
    temp = New MemoryStream()
    Dim buffer As Byte() = New Byte(4096) {}
    While (True)
    Try
    Dim read As Integer
    read = stream.Read(buffer, 0, buffer.Length)
    If (read <= 0) Then
    Exit While
    Else
    temp.Write(buffer, 0, buffer.Length)
    End If
    Catch ex As Exception
    notCompressed = True
    Exit While
    End Try
    End While
    If (notCompressed = True) Then
    stream.Close()
    Return temp.ToArray()
    Else
    Return temp.ToArray()
    End If
    End Function
    Thanks & Regards Manoj

    Please try this 
    Public Function Decompress(ByVal arr As Byte()) As Byte()
            Dim s As Byte()
            Dim notCompressed As Boolean
            notCompressed = False
            Dim MS As System.IO.MemoryStream
            MS = New System.IO.MemoryStream()
            MS.Write(arr, 0, arr.Length)
            MS.Position = 0
            Dim stream As System.IO.Compression.GZipStream
            stream = New System.IO.Compression.GZipStream(MS, System.IO.Compression.CompressionMode.Decompress)
            Dim temp As System.IO.MemoryStream
            temp = New System.IO.MemoryStream()
            Dim buffer As Byte() = New Byte(4096) {}
            While (True)
                Try
                    Dim read As Integer
                    read = stream.Read(buffer, 0, buffer.Length)
                    If (read <= 0) Then
                        Exit While
                    Else
                        temp.Write(buffer, 0, buffer.Length)
                    End If
                Catch ex As Exception
                    notCompressed = True
                    Exit While
                End Try
            End While
            If (notCompressed = True) Then
                stream.Close()
                Return temp.ToArray()
            Else
                Return temp.ToArray()
            End If
        End Function
    Thanks & Regards Manoj

  • HT5148 i am using final cut pro x. i have imported some images and video in my timeline. when i play back my video it looks fuzzy. but, when i pause it, it looks clear. how do i get my video to play clear.

    i am using final cut pro x. i have imported some images and video in my timeline. when i play back my video it looks fuzzy. but, when i pause it, it looks clear again. how do i get my video to play clear and not fuzzy?

    Same reply.

  • How to add a 'Download' feature in image and video gallery?

    Hello,
    I have created an image gallery on one screen and placed few videos on another screen.
    Now, I want to add a download feature in photos & footages both.
    Does anyone know how so I do that?
    Prompt response will be highly appreciated.
    Thanks in advance.
    Jay

    Hi,
    Could you please provide additional information on what you mean by Download feature ? Where do you want to download these images and video from ?
    Olivier

  • How to transfer images & videos from inbox to pc

    Hello everyone 
    I need your help
    how to tarnsfer videos and images from inbox to my computer
    I can send them one by one
    but recently I send abuot 200 images and videos 
    and I don't think I can send them one by one and when I mark them I can't find the send option
    any help please 
    and thanks to all
    P.S. my phone is Nokia E75

    http://support.apple.com/kb/HT1386 "iOS: Syncing your data with iTunes".

  • How to include zoom option for images and video in adobe captivate5?

    I am developing an elearning software with captivate 5 which has images and video.
    I want to include an option to be able to zoom the images and video if clicked on the particular area.
    It should zoom any part of the image when clicked on it during run time and go back to original size when clicked again.
    How can I do this?

    1. I try with two images: The thumbnail y the Big Image Zoom image Detail.
    2. I Use Dinamic Images
    3. check this tip

Maybe you are looking for

  • What is new in Nokia 6500s update firmware ver. 6....

    What is new in Nokia 6500s update firmware ver. 6.6? Nokia N73. V 4.0812.4.0.1 Code: 0529786 Nokia 6500 Slide V6.6 code: 0556234

  • TA48312 where can I download iTunes 10.1 - my iPhone 3G won't run on iTunes9.2.1? I'm running PowerBkG4 & OS 10.4.11. Thanks Sean

    Think this is not right somehow but I'm trying to sync an old iPhone 3G with this PBkG4 running iTunes 9 but it refuses and tells me I need iTunes 10.1 or higher. I can;t find this to download. Can anyone help?

  • Spontaneous degaussing while I´m working

    Spontaneous degaussing while I´m working. As far as I know degaussing happens everytime I turn on the eMac. But from time to time mine makes a noise similar to a magnetic turn off (like when you turn on the home TV), and display diminished in voltage

  • Blutooth sharing with pc

    I am having a problem file sharing with my pc laptop.  While the pc can send to my macbook, my macbook can't send to the pc.  I have a 2Ghz core i7 processor running OS X Lion 10.7.5 and the pc is an Acer running Windows7 on an Intel core i3 processo

  • Froze on blue screen?

    I've had my MBP since July 2007 and it's been working fine until this past weekend. All of a sudden I started having a multitude of programs - iTunes completely reset itself, my programs were constantly freezing and crashing, etc. I was using my MBP