We're Hiring!

The AVI compression error in the import command

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

The AVI compression error in the import command

Postby willy » Wed Sep 28, 2011 1:52 am

I tried to import an AVI file to the OMERO server using "omero import" command and I received the compression format error. I found it works fine with the uncompressed AVI file. However, the uncompressed AVI occupied too much space. is there any compression format accepted by the OMERO?

Reference:
///////////////////////////////////////////////////////////////////////////////////
2011-09-27 21:44:18,303 1 [ main] WARN ome.formats.importer.util.IniFileLoader - Creating temporary ini file: /home/wong/omero/tmp/omero_wong/23076@iwasa2/.omero.importer1871204171931223059ini
2011-09-27 21:44:18,313 11 [ main] INFO ome.formats.importer.ImportConfig - OMERO Version: Beta-4.1.2-DE V
2011-09-27 21:44:21,555 3253 [ main] WARN ome.system.UpgradeCheck - UPGRADE AVAILABLE:Please upg rade to Beta-4.3.1 See http://trac.openmicroscopy.org.uk/omero for the latest version
2011-09-27 21:44:21,556 3254 [ main] INFO ome.formats.importer.ImportConfig - Bioformats version: 4.1.1 re vision: ${svn.revision} date: 23 March 2011
2011-09-27 21:44:21,565 3263 [ main] INFO ome.formats.importer.ImportConfig - Debugging at level 0
2011-09-27 21:44:21,832 3530 [ main] DEBUG ome.formats.importer.ImportCandidates - Depth: 4
2011-09-27 21:44:21,833 3531 [ main] DEBUG ome.formats.importer.cli.ErrorHandler - SCANNING: Depth:0 Num: 1 Tot: n/a File: 8079.avi
2011-09-27 21:44:21,901 3599 [ main] ERROR ome.formats.importer.cli.ErrorHandler - FILE_EXCEPTION: /RAID10/home /wong/animation/8079.avi
loci.formats.FormatException: Unsupported compression type 1195724877
at loci.formats.in.AVIReader.initFile(AVIReader.java:380)
at loci.formats.FormatReader.setId(FormatReader.java:913)
at loci.formats.ImageReader.setId(ImageReader.java:596)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:448)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:179)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:448)
at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:205)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:448)
at ome.formats.importer.ImportCandidates.singleFile(ImportCandidates.java:337)
at ome.formats.importer.ImportCandidates.handleFile(ImportCandidates.java:431)
at ome.formats.importer.ImportCandidates.execute(ImportCandidates.java:310)
at ome.formats.importer.ImportCandidates.<init>(ImportCandidates.java:209)
at ome.formats.importer.ImportCandidates.<init>(ImportCandidates.java:162)
at ome.formats.importer.cli.CommandLineImporter.<init>(CommandLineImporter.java:72)
at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:405)
2011-09-27 21:44:21,904 3602 [ main] DEBUG ome.formats.importer.cli.ErrorHandler - SCANNING: Depth:0 Num: 1 Tot: 1 File: 8079.avi
2011-09-27 21:44:21,905 3603 [ main] INFO ome.formats.importer.ImportCandidates - 1 file(s) parsed into 0 grou ps with 1 call(s) to setId in 65ms. (73ms total) [0 unknowns]
No imports due to errors!
2011-09-27 21:44:22,400 4098 [ main] DEBUG ome.formats.OMEROMetadataStoreClient - Logout called, shutting keep alive down.
2011-09-27 21:44:22,401 4099 [ main] DEBUG ome.formats.OMEROMetadataStoreClient - keepalive shut down.
2011-09-27 21:44:22,401 4099 [ main] DEBUG ome.formats.OMEROMetadataStoreClient - closing client session.
2011-09-27 21:44:22,403 4101 [ main] DEBUG ome.formats.OMEROMetadataStoreClient - client closed.
willy
 
Posts: 4
Joined: Thu Sep 15, 2011 1:12 am

Re: The AVI compression error in the import command

Postby cxallan » Wed Sep 28, 2011 9:41 am

There are a limited number of AVI input compression formats supported by Bio-Formats and thus supported by OMERO.importer:

  • MSRLE (Microsoft Run Length Encoding)
  • MS_VIDEO
  • JPEG
More compression formats are supported if you use a MOV container and have QuickTime for Java installed. However, the portability of QTJ is very limited (Mac OS X and Windows only), it has several bugs, and has been deprecated by Apple. Furthermore, all these source formats are at present stored uncompressed in OMERO.server after import so if your goal is to reduce drive space usage overall having a compressed source movie is not going to work.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am


Return to Developer Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest