A video format similar to mjpeg for non-linear video editing in Java. Alpha channel (transparency) is supported for photomontage.
File extension of swingvideo: .svd
A swingvideo file can be regarded as a sequence of images packaged into a jar file. Each frame is stored as a jar entry in either jpeg or png format. Since a swingvideo (suffix: .svd) is a jar file, all frames can be easily extracted with winrar/winzip/jar. Meta info of the video, e.g. fps, length, width, height, is stored in MANIFEST.MF of the jar file.
Similar to mjpeg, swingvideo is easy to decode and edit. It can be used for video/Picture remixing.
Attributes in manifest of a SwingVideo file:
name of animation class width height number (frame number) loopnumber (number of loop) uuid (unique jar file id) The internal directory structure of a SwingVideo jar file
/ /uuid + mask.png (optinal) /montage/uuid + #####.jpg (a sequence of images, png can be used for transparent video content) Animation type of SwingVideo Swing video supports three kinds of animation:
classname: AnimatedJpg ( a sequence of jpg images) classname: AnimatedPng ( a sequence of transparent png images) classname: StaticPng ( no animation, a still png image instead)
Advantages: Decoding and encoding of swingvideo are very easy. All frames can be easily extracted with Winrar/Winzip/Jar. Different from mjpeg, it has an alpha channel.Compared with the animated png it offers higher compression ratio.
Use Patent Claims
These details are provided for information only. No information here is legal advice and should not be used as such.