Menu

#17 jpegs2mjpeg has a 2 GigaByte limit

open
mjpeg-jpegs (1)
5
2005-11-09
2005-11-09
epyonrx7
No

Trying to create an mjpeg with a folder of 15GB worth of images.

The resultant movie doesn't work.

If I try with < 2GB, the movie is fine.

Trying to output a QuickTime-compatible .mov

Discussion

  • Jiri Benc

    Jiri Benc - 2005-11-09

    Logged In: YES
    user_id=892642

    Format of QT files used in Almara does not support files > 2
    GB. IIRC there exists some version of QT format that solve
    this, but support for that format is not implemented in Almara.

    Regarding AVI the situation is similar - although AVI files
    supports large files, this extension of AVI format is not
    implemented.

    Probably jpegs2mjpeg doesn't handle this very well and
    crashes instead of outputting some reasonable error message
    - could you please post its output here?

     
  • epyonrx7

    epyonrx7 - 2005-11-10

    Logged In: YES
    user_id=1376141

    Thanks for the fast response!

    I've looked all over the net for a program that can handle large datasets
    but to no avail. Virtually all of them have the 2GB limit. There might be
    something that could be done in QuickTime, but one of the benefits of a
    program like yours is that it writes directly to files and is very quick-
    QuickTime would want an in-memory version before flattening the
    movie. We're doing 5hr+ research study sessions, which results in
    about 20GB worth of images!

    Any chance your program will get an upgrade to a different QT container
    format?

    Also, we do have a temporary workaround. I've written a java program
    that feeds your program a list of images up to 2GB in size (minus a
    buffer for header info) and generates temporary movies until we've
    processed all 20GB. Afterward, we can use another program called
    QTCoffee (specifically catmovie) to concatenate the temp movies. It
    works OK, but it could be better! Here's a link:
    http://www.3am.pair.com/QTCoffee.html

    Here's the output of a failed capture session. Could also use a quick
    spelling fix: writting -> writing.
    ----

    INFO: jpegs2mjpeg version 0.1.1 - JPEG files to Motion-JPEG
    convertor.
    INFO: Copyright (c) 2004 Jiri Benc
    INFO: This is a part of Almara project (http://almara.sourceforge.net/).

    INFO: Output will be in QuickTime file format.
    INFO: Reading list of file names from stdin...
    INFO: Total of 12818 input file names specified.
    INFO: Found 0 corresponding audio file(s).
    INFO: Reading first file, `cap_077300.jpg'.
    INFO: Video size is 1280x1024x24.
    INFO: No audio track will be generated.
    INFO: Creating headers...
    PROGRESS: Start video-constructing.
    PROGRESS: Done.
    INFO: Writting rest of file...
    ERROR 107: Error writting output file (0).

     
  • epyonrx7

    epyonrx7 - 2005-11-11

    Logged In: YES
    user_id=1376141

    Thanks for the fast response!

    I've looked all over the net for a program that can handle large datasets
    but to no avail. Virtually all of them have the 2GB limit. There might be
    something that could be done in QuickTime, but one of the benefits of a
    program like yours is that it writes directly to files and is very quick-
    QuickTime would want an in-memory version before flattening the
    movie. We're doing 5hr+ research study sessions, which results in
    about 20GB worth of images!

    Any chance your program will get an upgrade to a different QT container
    format?

    Also, we do have a temporary workaround. I've written a java program
    that feeds your program a list of images up to 2GB in size (minus a
    buffer for header info) and generates temporary movies until we've
    processed all 20GB. Afterward, we can use another program called
    QTCoffee (specifically catmovie) to concatenate the temp movies. It
    works OK, but it could be better! Here's a link:
    http://www.3am.pair.com/QTCoffee.html

    Here's the output of a failed capture session. Could also use a quick
    spelling fix: writting -> writing.
    ----

    INFO: jpegs2mjpeg version 0.1.1 - JPEG files to Motion-JPEG
    convertor.
    INFO: Copyright (c) 2004 Jiri Benc
    INFO: This is a part of Almara project (http://almara.sourceforge.net/).

    INFO: Output will be in QuickTime file format.
    INFO: Reading list of file names from stdin...
    INFO: Total of 12818 input file names specified.
    INFO: Found 0 corresponding audio file(s).
    INFO: Reading first file, `cap_077300.jpg'.
    INFO: Video size is 1280x1024x24.
    INFO: No audio track will be generated.
    INFO: Creating headers...
    PROGRESS: Start video-constructing.
    PROGRESS: Done.
    INFO: Writting rest of file...
    ERROR 107: Error writting output file (0).

     

Log in to post a comment.

MongoDB Logo MongoDB