Playing lossless video codecs in Java

I need to encode a sequence of frames with a lossless video codec and play them in a Java application. I am not interested in file size. The output frames must exactly match the input frames. Lost codecs do not do this even at high bit rates.

None of these well-known lossless video codecs are supported in JMF or FMJ :

  • Huffyuv
  • Corepng
  • Lagarith
  • Ffv1
  • ...

Do you know any lossless video codec that is supported in Java?

Other options that I have considered:

  • animated GIF: is guaranteed guaranteed playback of a constant frame rate, for example, real video codecs supported?
  • load and display individual frames: how difficult will it be to do this at a constant frame rate without discarding too many frames?
  • Proce55ing: the video playback library requires Quicktime, which is not available on my platform.

EDIT: I finally decided to settle for JMF (non-standard) MotionJPEG in high quality. This is not strictly lossless, but still much better than MPEG4.

+3
source share
3 answers

FMJ / PNG , MJPEG JPEG. XML , uuencodes PNG ( ), - HTTP-, x-multipart-mixed-replace, FMJ , .mmr

+1
  • GIF : , GIF ( )

  • : , . HD 30 , .

  • : , , " " , , . , mplayer * nix/X11 COM WMP DirectShow Windows.

+1

, , , gzip/bzip2 . , , .

Gzipped java.util.zip.GZIPInputStream, Bzip2.

0
source

All Articles