JpegImagesToMovie

I downloaded the latest JMF and is installed correctly. I'm trying to run JpegImagesToMovie example with the proper parameters. I don't understand why I'm getting the following error:
- create processor for the image datasource ...
Setting the track format to: JPEG
- create DataSink for: C:\??\??\??\out.mov
Cannot create the DataSink: javax.media.NoDataSinkException: Cannot find a DataSink for: com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@cd2c3c
Failed to create a DataSink for the given output MediaLocator: C:\??\??\??\out.mov
Thanks...

>
parameters used:>Note that I did not ask what parameters were used, so much as the exact command typed. Something more along these lines.
C:\JpegToMovie>java JpegImagesToMovie -w 576 -h 432 -f 1 -o file:./out.mov 100_9216.jpg 100_9390.jpg 100_9652.jpg
- create processor for the image datasource ...
Setting the track format to: JPEG
- create DataSink for: file:./out.mov
start processing...
  - reading image file: 100_9216.jpg
    read 185634 bytes.
  - reading image file: 100_9390.jpg
    read 182426 bytes.
  - reading image file: 100_9652.jpg
Done reading all images.
...done processing.
C:\JpegToMovie>java JpegImagesToMovie  -w 576 -h 432 -f 1 -o C:\out.mov 100_9216.jpg 100_9390.jpg 100_9652.jpg
- create processor for the image datasource ...
Setting the track format to: JPEG
- create DataSink for: C:\out.mov
Cannot create the DataSink: javax.media.NoDataSinkException: Cannot find a
  DataSink for: com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@c21495
Failed to create a DataSink for the given output MediaLocator: C:\out.mov
C:\JpegToMovie>java JpegImagesToMovie -w 576 -h 432 -f 1 -o C:\\out.mov 100_9216.jpg 100_9390.jpg 100_9652.jpg
- create processor for the image datasource ...
Setting the track format to: JPEG
- create DataSink for: C:\\out.mov
Cannot create the DataSink: javax.media.NoDataSinkException: Cannot find a
  DataSink for: com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@c21495
Failed to create a DataSink for the given output MediaLocator: C:\\out.movOh, and hopefully you will spot the error if you look closely at the input and output.

Similar Messages

  • JpegImagesToMovie problem

    Hello ,
    I wanted to convert my sequence MotionJEPG to video type file . ( avi /mov ) . For this goal I search and I found peace of code JpegImagesToMovie.java which so many people had been used . But Wen I try to run it give me error which i not sure how i can solve it . I need help for it .Please have look and let me know .
    944
    946
    - create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file://c:/camJ/helllotest.mov
    start processing...
    - reading image file: file:/c:\cam1\image100.jpg
    - reading image file: file:/c:\cam1\image101.jpg
    - reading image file: file:/c:\cam2\image95.jpg
    - reading image file: file:/c:\cam2\image96.jpg
    - reading image file: file:/c:\cam2\image97.jpg
    - reading image file: file:/c:\cam2\image98.jpg
    - reading image file: file:/c:\cam2\image99.jpg
    Done reading all images.
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" java.lang.NullPointerException
         at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
         at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
         at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
         at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
         at com.sun.media.BasicController.close(BasicController.java:261)
         at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
         at com.sun.media.BasicController.close(BasicController.java:261)
         at LiveCameraVedioRecord.JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:198)
         at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
         at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
         at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
         at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)

    Sounds like a problem with creating the output file... does the "camJ" folder exist?

  • JpegImagesToMovie--com.sun.media.processor.unknown.Handler

    hi,
    I get the following error with JpegImagesToMovie.
    It seem same as:
    http://onesearch.sun.com/search/highlight/index.html?url=http%3A%2F%2Fforum.java.sun.com%2Fthread.jspa%3FforumID%3D28%26threadID%3D585235&fterm=JpegImagesToMovie
    But look like no answer!
    C:\>java JpegImagesToMovie -w 320 -h 240 -f 1 -o file:/c:/test.mov file:/c:/k1.jpg file:/c:/k2.jpg
    - create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:/c:/test.mov
    start processing...
    - reading image file: file:/c:/k1.jpg
    - reading image file: file:/c:/k2.jpg
    Done reading all images.
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" java.lang.NullPointe
    rException
    at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
    at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
    at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
    at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:196)
    at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
    at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
    at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
    at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)

    The basic problem is that this program, like all of the JMF examples, is very haphazardly coded. From what I can gather somewhere in the excecution of the program there was a major thread conflict. JMF is not thread safe and requires the use of wait for state methods. In all honesty, I have never had a sample program compile and run succesfully as is. I think it would just be easier to re-write this code, except this time use the StateHelper class which can be found in the JMF guide. The StateHelper class manages all of the Player and Processor threads so you don't have to worry about it. I wish I could be of more help here but I think this is just a case of some sloppy code.

  • JpegImagesToMovie - Exception in thread "JMF thread: SendEventQueue: com.su

    I am trying to create a movie file from a bunch of images I have using Sun's JpegImagesToMovie class found here:
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.html
    I can't post all 500 lines of the sample code here but it's unchanged from the download page above. The error is happening at the following line, almost at the end:
    raFile = new RandomAccessFile(imageFile, "r");Here is what happens when I run it. I have to hit CTRL+C in order to get it to come back to the prompt once it breaks. Any ideas?
    C:\Users\admin\workspace\Tester\bin>java JpegImagesToMovie -w 320 -h 240 -f 5 -o
    file:/c:/images/movie.mov file:/c:/images/picture1.jpg file:/c:/images/picture2.jpg file:/c:/images/picture3.jpg file:/c:/images/picture4.jpg file:/c:/images/picture5.jpg file:/c:/images/picture6.jpg file:/c:/images/picture7.jpg
    file:/c:/images/picture8.jpg file:/c:/images/picture9.jpg file:/c:/images/picture10.jpg file:/c:/images/picture11.jpg file:/c:/images/picture12.jpg file:/c:/images/picture13.jpg file:/c:/images/picture14.jpg file:/c:/images/picture15.jpg
    file:/c:/images/picture16.jpg file:/c:/images/picture17.jpg file:/c:/images/picture18.jpg file:/c:/images/picture19.jpg file:/c:/images/picture20.jpg
    - create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:/c:/images/movie.mov
    start processing...
      - reading image file: file:/c:/images/picture1.jpg
      - reading image file: file:/c:/images/picture2.jpg
      - reading image file: file:/c:/images/picture3.jpg
      - reading image file: file:/c:/images/picture4.jpg
      - reading image file: file:/c:/images/picture5.jpg
      - reading image file: file:/c:/images/picture6.jpg
      - reading image file: file:/c:/images/picture7.jpg
      - reading image file: file:/c:/images/picture8.jpg
      - reading image file: file:/c:/images/picture9.jpg
      - reading image file: file:/c:/images/picture10.jpg
      - reading image file: file:/c:/images/picture11.jpg
      - reading image file: file:/c:/images/picture12.jpg
      - reading image file: file:/c:/images/picture13.jpg
      - reading image file: file:/c:/images/picture14.jpg
      - reading image file: file:/c:/images/picture15.jpg
      - reading image file: file:/c:/images/picture16.jpg
      - reading image file: file:/c:/images/picture17.jpg
      - reading image file: file:/c:/images/picture18.jpg
      - reading image file: file:/c:/images/picture19.jpg
      - reading image file: file:/c:/images/picture20.jpg
    Done reading all images.
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" java.lang.NullPointerException
            at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescript
    ion(QuicktimeMux.java:936)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.j
    ava:925)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.j
    ava:905)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.j
    ava:806)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.j
    ava:727)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.j
    ava:644)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.j
    ava:582)
            at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux
    .java:519)
            at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
            at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
            at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
            at com.sun.media.BasicController.close(BasicController.java:261)
            at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
            at com.sun.media.BasicController.close(BasicController.java:261)
            at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:230)
            at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254
            at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
            at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
            at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)

    Damn, give me enough time and I might figure this out myself.
    So after a little searching I figured out you don't have to put the file prefix in front of the image locations so I retried it with the following and it seemed to have worked:
    C:\Users\admin\workspace\Tester\bin>java JpegImagesToMovie -w 320 -h 240 -f 5 -o file:/c:/images/movie2.mov
    c:/images/picture1.jpg c:/images/picture2.jpg c:/images/picture3.jpg c:/images/picture4.jpg c:/images/picture5.jpg
    c:/images/picture6.jpg c:/images/picture7.jpg c:/images/picture8.jpg c:/images/picture9.jpg
    c:/images/picture10.jpg c:/images/picture11.jpg c:/images/picture12.jpg c:/images/picture13.jpg c:/images/picture14.jpg
    c:/images/picture15.jpg c:/images/picture16.jpg c:/images/picture17.jpg c:/images/picture18.jpg c:/images/picture19.jpg
    c:/images/picture20.jpg
    - create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:/c:/images/movie2.mov
    start processing...
      - reading image file: c:/images/picture1.jpg
        read 19298 bytes.
      - reading image file: c:/images/picture2.jpg
        read 19316 bytes.
      - reading image file: c:/images/picture3.jpg
        read 19282 bytes.
      - reading image file: c:/images/picture4.jpg
        read 19260 bytes.
      - reading image file: c:/images/picture5.jpg
        read 19270 bytes.
      - reading image file: c:/images/picture6.jpg
        read 19301 bytes.
      - reading image file: c:/images/picture7.jpg
        read 19283 bytes.
      - reading image file: c:/images/picture8.jpg
        read 19319 bytes.
      - reading image file: c:/images/picture9.jpg
        read 19222 bytes.
      - reading image file: c:/images/picture10.jpg
        read 19141 bytes.
      - reading image file: c:/images/picture11.jpg
        read 19009 bytes.
      - reading image file: c:/images/picture12.jpg
        read 19016 bytes.
      - reading image file: c:/images/picture13.jpg
        read 18985 bytes.
      - reading image file: c:/images/picture14.jpg
        read 18902 bytes.
      - reading image file: c:/images/picture15.jpg
        read 18865 bytes.
      - reading image file: c:/images/picture16.jpg
        read 18884 bytes.
      - reading image file: c:/images/picture17.jpg
        read 18923 bytes.
      - reading image file: c:/images/picture18.jpg
        read 19031 bytes.
      - reading image file: c:/images/picture19.jpg
        read 19290 bytes.
      - reading image file: c:/images/picture20.jpg
        read 19474 bytes.
    Done reading all images.
    ...done processing.However, when I try to play the movie2.mov output file in either Windows Media Player or Quicktime, both of them crash before playing anything.
    Edited by: DeX on Feb 26, 2008 12:50 PM

  • Green band in output video. (From program: JpegImagesToMovie.java)

    Hi!! I'm working in this examples: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.java.
    This program makes a MOV video from a list of images (in JPEG format). In the video appears a green horizontal band. It's an error, no?
    Somebody help me?

    java_developper wrote:
    player = Manager.createRealizedPlayer(original); !!!!????
    u should create player for the clone datasource not for originale oneUmmmm, why should he do that? In what way does that matter at all which is the clone and which is the original?

  • How to compine FrameAccess and JpegImagesToMovie?

    Hello,
    I want to have a sequence of image accessed by FrameAccess (I use vid2jpg where I output BufferedImages) and then save the images as video using JpegImagesToMovie. I also modified JpegImagesToMovie to read BufferedImages, but now the problem is that JpegImagesToMovie looks for a folder of "images" to read and make the movie.
    Any idea how to make it work?
    Thanks

    this is y i asked about the code.. would have been simpler if u posted it for every1 to see..
    anyway, if its asking for a folder of images, maybe u should save everyting (every frame, buffer or whatever) as jpeg files first, then convert them to movie. if u wish to use that method i may have a code somewhere which does just that

  • How to Modify JpegImagesToMovie

    I would like to Modify JpegImagesToMovie so that I can view the resultant movie as it is being created. Do I need to clone the datasource?
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.html

    RE-publishing a SharePoint Designer workflow will not affect running instances of the previous workflow instance.  I don't know of any way to modify the workflow variables in a running workflow instance.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • URGENT!!! JpegImagesToMovie

    We have several JPEG images to be saved into a single MOV file. We are having a problem in automating passing of command line arguments into the JpegImagesToMovie.java class. Typical scenario will be passing an unknown number of JPEG files as arguments in a method call to be converted into a MOV file. Please help us as we are not sure how best to go about it.

    I used frame grabber to get JPEG pictures.
    use a loop to save picture file name 1pic.jpg 2pic.jpg .........XXpic.jpg
    Then when using JPEGtoMOV code, create a method that loops the XX amount, create a String[] and add each file name (string name), there you go, pass the String[] as an argument to cunstructor.

  • Modifiying JpegImagesToMovie example

    Hi,
    I've modified the JpegImagesToMovie example in order to generate an AVI file.
    The problem is that the AVI file generated is very big comparing to the one generated as Quicktime.
    Do you know how to generate an AVI file with compressed images?
    Thank you.

    After setting the processor's content descriptor, get its track controls. Iterate through the track controls to find one with a format that is an instance of VideoFormat. Next, obtain all the available formats from that control. Iterate through those and find one you like, say, CVID. Then set the control's format to the selected format. Personally, I like the MJPG codec for hi-res work because it maintains good quality while still doing decent compression.         TrackControls[] tc = p.getTrackControls();
            for (int i = 0; i < tc.length; i++) {
                TrackControl c = tc;
    Format f = c.getFormat(); // current format
    if (f instanceof VideoFormat) {
    Format[] fmt = c.getSupportedFormats();
    if ((fmt != null) && (fmt.length > 0)) {
    // look through fmt array for desired format
    // and once found, use c.setFormat(newFormat)
    Use a decent debugger to inspect the results. There is no available documentation that can tell you what to expect.

  • JpegImagesToMovie NoDataSinkException problems

    Hi,
    I'm using Sun's JpegImagesToMovie to convert a sequence of jpeg images to quicktime .mov format. The problem i am having seems to be related to the input images, and output location being in a different location to the JpegImagesToMovie class file.
    When i have the input images and output location in the same directory, or lower in the directory structure, as the class file there is no problem and it does the job that is required.
    However, when these locations are in a different area - either in the parent directory of the class file or any other folder on the system, a NoDataSinkException is called and a .mov file is not produced.
    Anyone got any ideas as to what could be the problem?

    I had a similar problem. Change the program parameters so that "file:" precedes the output argument and "file:" does not precede the image (jpg) files. Clearly just a work around.
    Example:
    -w 320 -h 240 -f 1 -o file:C:\test.mov C:\src\myimage1.jpg C:\src\myimage2.jpg C:\src\myimage3.jpg
    The only problem i have found is that when playing the .mov file, i get a corrupted data message. But when i play it, i see the images i put into the movie. The last one however, gets painted over top of the second last image. Haven't solved that yet.

  • JpegImagesToMovie ... play video

    I downloaded JpegImagesToMovie from [urlhttp://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.html[/url]
    I'm trying to play the video by cloning the processor datasource but i get this exception
    javax.media.NoPlayerException: Cannot find a Player for: com.ibm.media.protocol.SuperCloneableDataSource$PushDataSourceSlave@bf1d3b
         at javax.media.Manager.createPlayerForSource(Manager.java:1512)
         at javax.media.Manager.createPlayer(Manager.java:500)
         at javax.media.Manager.createRealizedPlayer(Manager.java:579)
         at mySource.JpegImagesToMovie.doIt(JpegImagesToMovie.java:131)
         at mySource.JpegImagesToMovie.main(JpegImagesToMovie.java:330)what does it mean ? what i have to do ?
    thanks

    If you mean "can I play a video file's video part via AppleTV and the audio part via the Macbook" then the answer is no.
    You could probably play the video on AppleTv and also play it on the Macbook and output the audio, but you would have to do this manually, and 2 applications accessing the same video file might cause stuttering playback issues. Additionally you'd have to manually sync the audio and lip sync problems are annoying at the best of times.
    If you mean "can I watch a video from AppleTV and play separate music via iTunes on the Macbook", then the answer is yes.
    AC

  • JpegImagesToMovie to read single images

    Hi,
    I found that JpegImagesToMovie reads a list of images first and then creates the movie. Is that correct?
    Can I make it to read image by image without the use of a Vector, just to load single images, one at the time and at the end to save it to video?
    Thanks

    Hi MDM_PS,
    One idea is that we can used the ADO.Net knowledge, for example, we can use it like this “SELECT top xx from table…”, we can store the data in a new data source, then use this new data source in the unit test.
    Tony also shared us a workaround , maybe you could refer to it here:
    https://social.msdn.microsoft.com/Forums/en-us/f35d4e7c-1479-45f3-9985-38304e97b748/how-do-i-retrieve-value-from-single-cell-on-csv-file-using-data-driven-tests-for-codeduitest?forum=csharplanguage
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • JpegImagesToMovie - Unable to see movie

    Hi, I am new to JMF programming. I tried to create a movie file using a bunch of JPEGs. I have hard coded the command argument as w=320, h=480, f=1, out.mov.
    When I run out.mov it launches VLC player showing progress bar progressing but no picture / movie is shown.
    Can someone tell me what should I do.
    Thanks,
    Sanjay Ujjainkar

    I am using JpegImagesToMovie.java to convert bunch of JPEGs to a movie file. I observed that this program works fine for JPEGs having RGB color mode, but does not work for images with color mode CMYK..
    I have a program that extracts screen shot images from my android phone (Screen Size- 320x480) and save it in a folder on my PC.
    Following is the code snippet I am using to dump images into folder.
    // Find a jpeg writer
              ImageWriter writer = null;
              Iterator iter = ImageIO.getImageWritersByFormatName("jpeg");
              if (iter.hasNext()) {
                   writer = (ImageWriter)iter.next();
              // Prepare output file
              ImageOutputStream ios = ImageIO.createImageOutputStream(new File("c:\\jpegtomovie\\"+"ImageToMovie_"+filename+".jpeg"));
              writer.setOutput(ios);
              // Set the compression quality
              ImageWriteParam iwparam = new MyImageWriteParam();
              iwparam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT) ;
              iwparam.setCompressionQuality((float)1);
              writer.write(null,new IIOImage(image,null,null), iwparam); //image is BufferredImage object
    Then I run JpegImagesToMovie.java to make the movie.
    It seems that
    writer.write(null,new IIOImage(image,null,null), iwparam); writes the BufferredImage object - 'image' in cmyk color code format. However JpegImagesToMovie.java merge the images into movie but when I play the movie it does not show any picture but only progress bar progressing.
    Let me know what should I do.
    Thanks
    Sanjay Ujjainkar

  • Video from JpegImagesToMovie not playing properly at more than 1 fps

    I have a bunch of JPEG images I captured from android smart phone @ 2 images per second. I then merged them to make .avi movie using JpegImagesToMovie.java application. Ex - java JpegImagesToMovie -w <width> -h <height> -f <frame rate per sec.> -o <output URL> <input JPEG file 1> <input JPEG file 2> ....
    If I give frame rate as 2 then generated video appears as moving with fast forward rate. Is there any other command based tool / application to make movie out of jpegs.
    This is very urget to me. Let me know for any solution.
    Thanks
    Sanjay Ujjainkar

    This is very urget to me. Let me know for any solution. Perhaps you should enroll in a 5th grade math class and re-learn fractions?
    If you capture images every 2 seconds, and you specify a framerate (frames per second) as 2... then you're playing them 4 times faster than you captured them.
    If you took a photo every 2 seconds, you'd want to play 1 frame every 2 seconds, or, 0.5 frames per second...

  • Having trouble with JpegImagesToMovie...

    Hiya ppl, I've developed a small program that can annotate and capture the desktop. I decided to add a recording feature by integrating  . I bundled the final classes into a jar and used an exe wrapper on it.
    The problem is that the recording feature works fine on my PC, but not on any of my friend's PCs. They do have jmf 2.1.1e WPP installed and classpath set. Here's a direct link to the program (201 KB) if you wanna check what I mean :-
    http://www.hotlinkfiles.com/files/2582225_tgqia/Ensnarev4.1.2.rar
    I would really appreciate it if someone could help me out, thanks.sorry, I must have accidently posted the topic twice. A moderator can delete this.
    Edited by: sahan_j on Jul 23, 2009 12:43 PM

    sahan_j wrote:
    Hiya ppl, ...Please make efforts to [write well|http://catb.org/~esr/faqs/smart-questions.html#writewell] *(<- link).*
    JMF needs to be available on the client machine before the app. can work. Possibly not all of it, just the parts needed to make a MOV.
    There are a number of ways to go about installing it, depending on how your application is delivered.
    1) You copy the Jar onto the machine. In this case, also copy and run the installer.
    2) You have an 'installer' package that the user opens, and the installer extracts the Jar and puts it somewhere for the user. In this case, include the JMF installer in the installer package and ensure the installer script calls it.
    3) +If deploying via  [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] *(<- ")* (note the app. will need 'all-permissions' to do installations or get screen shots).+ Either:
    a) Call the installer appropriate for the platform, before the JWS app. is called onto screen (JWS already has inbuilt functionality to do this, see the [ExtensionInstallerService demo.|http://pscode.org/jws/api.html#eis] *(<- ")* for an example)
    b) Instead of 'installing' the JMF, you might simply add the relevant Jar's (with classes and natives, though I think no natives are needed for creating MOV Files) to your apps. run-time classpath (which is also easy to do, using web start).
    Edit 1:
    I generally prefer to avoid calling the installer because of the idiotic message that appears after installation, to the effect.. "Please reboot now!". It has never, to my observation, been necessary, and is scary to the typical user.
    Edited by: AndrewThompson64 on Jul 23, 2009 9:30 PM

Maybe you are looking for

  • Videos in iPhoto not working,

    My videos in iPhoto have recently stopped playing. The picture is still there but the videos don't play.  I can play the videos through Finder but I would like to be able to use iPhoto still. Does anyone have any ideas how to fix this?  Thanks.

  • XCode update deleted iTunes Library files

    I just updated XCode, and this meant updating the part about mobile applications, and my itunes library file was deleted in the process. Is there any way to retrieve my playlists/ratings? Last backup was a while ago, guess I've lost about 1000 rating

  • E Recruitment Infotyes

    Hi Plz tell me E Recruitment Infotyes

  • Alias field not "sticking"

    I've defined a BIP data set using an OBIEE data model. I can change the column Aliases in the Query Builder - Conditions screen. They show up in the SQL Query box on the Data Set page. But if I go back into the Query Builder, the aliases are all gone

  • I have KOBO on my Android A500, silver /  Adobe  Digital Editions?

    I have a KOBO app uploaded on my Android A500, silver. How do I upload a book  into my Adobe Digital Editions? I am just getting used to the  android way of doing things.  Thank you for any assistance that you can give.