]> git.sesse.net Git - mlt/commitdiff
update service metadata for pixbuf and qimage
authorDan Dennedy <dan@dennedy.org>
Wed, 7 Mar 2012 05:04:09 +0000 (21:04 -0800)
committerDan Dennedy <dan@dennedy.org>
Wed, 7 Mar 2012 05:04:09 +0000 (21:04 -0800)
src/modules/gtk2/producer_pixbuf.yml
src/modules/qimage/producer_qimage.yml

index ca6475d80aafc4ff1e4c156adc5b05d65e4b131c..7707638efe7a6f7fdef54f1d7f483ad1ce51ce2f 100644 (file)
@@ -2,7 +2,7 @@ schema_version: 0.1
 type: producer
 identifier: pixbuf
 title: GDK-PixBuf
-version: 1
+version: 2
 copyright: Ushodaya Enterprises Limited
 creator: Dan Dennedy
 license: LGPLv2.1
@@ -26,9 +26,11 @@ parameters:
         See the output of gdk-pixbuf-query-loaders.
         Definitely png, jpeg, tiff, pnm, and xpm will work.
         
-        If "%" in filename, the filename is used with sprintf generate a 
+               If "%" in filename, the filename is used with sprintf to generate a
         filename from a counter for multi-file/flipbook animation. The file 
-        sequence ends when numeric discontinuity >100.
+               sequence ends when numeric discontinuity >100. If the file sequence
+               does not begin with the count of 100, you can also embed the number
+               of the first image between the "%" and a "d", "i", or "u".
         
         If filename contains "/.all.", suffix with an extension to load all 
         pictures with matching extension from a directory.
@@ -59,13 +61,13 @@ parameters:
     mutable: yes
     widget: spinner
     
-  - identifier: real_width
+  - identifier: meta.media.width
     title: Real width
     type: integer
     description: The original, unscaled width of the rendered image.
     readonly: yes
     
-  - identifier: real_height
+  - identifier: meta.media.height
     title: Real height
     type: integer
     description: The original, unscaled height of the rendered image.
index b998f9cc8dcd6c1b14a5fbef983f9e5c61bf7610..71c789e5c52c2280a013e01237d4693d8c6dab44 100644 (file)
@@ -2,10 +2,106 @@ schema_version: 0.1
 type: producer
 identifier: qimage
 title: Qt QImage
-version: 1
+version: 2
 copyright: Visual Media ?
 creator: Charles Yates
 license: GPLv2
 language: en
 tags:
   - Video
+  description: >
+       A still graphics to video generator using Qt QImage
+  notes: >
+       QImage has builtin scaling. It will rescale the originally rendered title to
+       whatever the consumer requests. Therefore, it will lose its aspect ratio if
+       so requested, and it is up to the consumer to request a proper width and
+       height that maintains the image aspect.
+foo
+parameters:
+  - identifier: argument
+       title: File
+       type: string
+       description: >
+               The name of a graphics file loadable by Qt.
+
+               If "%" in filename, the filename is used with sprintf to generate a
+               filename from a counter for multi-file/flipbook animation. The file
+               sequence ends when numeric discontinuity >100. If the file sequence
+               does not begin with the count of 100, you can also embed the number
+               of the first image between the "%" and a "d", "i", or "u".
+
+               If filename contains "/.all.", suffix with an extension to load all
+               pictures with matching extension from a directory.
+
+               If filename contains the string "<svg", then qimage tries to load the
+               filename as inline SVG XML, which is convenient for melt commands.
+       readonly: no
+       required: yes
+       mutable: no
+       widget: fileopen
+
+  - identifier: begin
+       title: Begin
+       type: integer
+       description: When using an image sequence, this sets the starting number.
+       readonly: no
+       minimum: 0
+       mutable: no
+       widget: spinner
+
+  - identifier: ttl
+       title: Time-to-live
+       type: integer
+       description: How long (in frames) to repeat each picture in file sequences.
+       readonly: no
+       default: 25
+       minimum: 0
+       mutable: yes
+       widget: spinner
+
+  - identifier: meta.media.width
+       title: Real width
+       type: integer
+       description: The original, unscaled width of the rendered image.
+       readonly: yes
+
+  - identifier: meta.media.height
+       title: Real height
+       type: integer
+       description: The original, unscaled height of the rendered image.
+       readonly: yes
+
+  - identifier: width
+       title: Width
+       type: integer
+       description: The last requested scaled image width.
+       readonly: yes
+
+  - identifier: height
+       title: Height
+       type: integer
+       description: The last requested scaled image height.
+       readonly: yes
+
+  - identifier: force_reload
+       type: integer
+       description: >
+         Reload the file instead of using its cached image. This property
+         automatically resets itself once it has been set 1 and processed.
+       minimum: 0
+       maximum: 1
+       mutable: yes
+
+  - identifier: disable_exif
+       title: Disable auto-rotation
+       type: integer
+       minimum: 0
+       maximum: 1
+       widget: checkbox
+
+  - identifier: force_aspect_ratio
+       title: Sample aspect ratio
+       type: float
+       description: Optionally override a (mis)detected aspect ratio
+       mutable: yes
+