JpegSource
From Avisynth wiki
(Difference between revisions)
m (update) |
m (new version) |
||
Line 2: | Line 2: | ||
{{Filter2 | {{Filter2 | ||
| SEt | | SEt | ||
− | | 2014. | + | | 2014.4.18 |
− | | [http://dl.dropboxusercontent.com/s/ | + | | [http://dl.dropboxusercontent.com/s/dpyz6gxhp47i162/JpegSource_20140418.7z JpegSource_20140418.7z] |
| Source filters | | Source filters | ||
| free for non-commercial use, closed source. | | free for non-commercial use, closed source. | ||
Line 16: | Line 16: | ||
::*YUV440 JPEGs (AviSynth does not support this colorspace) | ::*YUV440 JPEGs (AviSynth does not support this colorspace) | ||
::*CMYK/YCCK JPEGs | ::*CMYK/YCCK JPEGs | ||
− | |||
<br> | <br> | ||
:RGB encoded images are supported, but AviSynth does not support planar RGB so there's a work around to correctly display RGB JPEGs. | :RGB encoded images are supported, but AviSynth does not support planar RGB so there's a work around to correctly display RGB JPEGs. | ||
Line 54: | Line 53: | ||
<br> | <br> | ||
== Changelog == | == Changelog == | ||
− | Version | + | Version Date Changes<br> |
− | 2014.1.5 | + | 2014.4.18 04/18/2014 - Support JPEGs with arithmetic compression. |
+ | - No longer locks files after first frame was decoded. | ||
+ | - Added MT and cache hints for AviSynth+. | ||
+ | - Changed compiler to VS2013.<br> | ||
+ | 2014.1.5 01/05/2014 - Initial release | ||
<br> | <br> | ||
== External Links == | == External Links == | ||
*[http://forum.doom9.org/showthread.php?t=170028 Doom9 Forum] - JpegSource discussion. | *[http://forum.doom9.org/showthread.php?t=170028 Doom9 Forum] - JpegSource discussion. |
Revision as of 13:33, 18 April 2014
Abstract | |
---|---|
Author | SEt |
Version | 2014.4.18 |
Download | JpegSource_20140418.7z |
Category | Source filters |
License | free for non-commercial use, closed source. |
Contents |
Description
- An advanced JPEG decoder for AviSynth 2.6.
Limitations
- JpegSource does not support the following:
- YUV440 JPEGs (AviSynth does not support this colorspace)
- CMYK/YCCK JPEGs
- RGB encoded images are supported, but AviSynth does not support planar RGB so there's a work around to correctly display RGB JPEGs.
- See the examples below.
Requirements:
- - SSSE3 capable CPU
Syntax and Parameters
- JpegSource (string file, int "rec", int "length", float "fps_num", int "fps_den")
- string file =
- Path to image file. Path can be omitted if the script is in the same folder as the image file.
- string file =
- int rec = 1
- Number of reconstruction passes.
- int rec = 1
- int length = 1000
- Clip length in frames.
- int length = 1000
- float fps_num = 24
- FPS numerator.
- float fps_num = 24
- int fps_den = 1
- FPS denominator.
- int fps_den = 1
Examples
JpegSource with default settings:
JpegSource("image.jpg", rec=1, length=1000, fps_num=24, fps_den=1)
Correctly display an RGB encoded JPEG:
JpegSource("RGBimage.jpg") MergeRGB(last, UToY8(), VToY8(), "RGB24")
Changelog
Version Date Changes
2014.4.18 04/18/2014 - Support JPEGs with arithmetic compression. - No longer locks files after first frame was decoded. - Added MT and cache hints for AviSynth+. - Changed compiler to VS2013.
2014.1.5 01/05/2014 - Initial release
External Links
- Doom9 Forum - JpegSource discussion.