]> git.sesse.net Git - mlt/commitdiff
Fixup some YAML in last commit.
authorDan Dennedy <dan@dennedy.org>
Fri, 8 Jul 2011 06:52:57 +0000 (23:52 -0700)
committerDan Dennedy <dan@dennedy.org>
Fri, 8 Jul 2011 06:52:57 +0000 (23:52 -0700)
src/modules/core/filter_greyscale.yml
src/modules/core/filter_luma.yml
src/modules/core/filter_watermark.yml
src/modules/core/producer_colour.yml
src/modules/core/producer_noise.yml
src/modules/dv/producer_libdv.yml
src/modules/gtk2/producer_pango.yml
src/modules/gtk2/producer_pixbuf.yml
src/modules/vorbis/producer_vorbis.yml
src/modules/xml/producer_xml.yml

index 86e146fd50752c17a3b859ee4eea1f227df2aa82..eeb66f76de50f071a4d570842b984916b0b423b2 100644 (file)
@@ -9,4 +9,4 @@ license: LGPLv2.1
 language: en
 tags:
   - Video
-description: Convert colour image to greyscale
\ No newline at end of file
+description: Convert colour image to greyscale
index 49df19144792c28103f75b54eb8de37609f8cad2..faafde5f8acf8a6eb9b9e3af0e4c58fba29c0bf8 100644 (file)
@@ -9,7 +9,7 @@ license: LGPLv2.1
 language: en
 tags:
   - Video
-description: |
+description: >
   Applies a luma transition between the current and next frames. Useful for 
   transitions from a slideshow created using producer pixbuf.
 parameters:
@@ -17,14 +17,20 @@ parameters:
     title: File
     type: string
     description: The luma map file to be used for the transition
-  - identifier: period
+  - identifier: cycle
     title: Period
     type: integer
     description: >
-      How long to wait between success iterations of the transition. For best 
+      The duration between iterations of the transition. For best
       results set this to a multiple of ttl used in pixbuf.
     mutable: yes
-    default: 24
+    default: 25
+  - identifer: duration
+    title: Duration
+    type: integer
+    description: The length of the transition.
+    mutable: yes
+    default: 25
   - identifier: luma.*
     title: Luma Properties
     description: >
index 0da36d16878b2d237e8fe3c43a9eb35121d0cf26..bb8cda65d4de5c9eaac2cf8de2568b8433d4691c 100644 (file)
@@ -10,7 +10,7 @@ language: en
 tags:
   - Video
 description: Overlay text or images onto the video
-notes: |
+notes: >
   The watermark filter combines a frame producer and a composite transition to 
   overlay the specified text or image onto the video.
 
@@ -30,22 +30,22 @@ notes: |
   
 parameters:
   - identifier: argument
-    title: File or Text
+    title: File/URL
     type: string
-    description: A pango or pixbuf producer file name.
+    description: The file to overlay.
     required: no
     readonly: no
     default: unset
     widget: fileopen
 
   - identifier: resource
-    title: File or Text
+    title: File/URL
     type: string
-    description: see argument  
+    description: The file to overlay.
     required: no
     readonly: no
     default: unset
-    widget: fileopen or text
+    widget: fileopen
 
   - identifier: distort
     title: Allow distorted scaling
@@ -55,23 +55,36 @@ parameters:
     maximum: 1
     widget: checkbox
     
-  - identifier: producer
-    title: Pango or Pixbuf producer
-    type: producer
+  - identifier: producer.*
+    title: Producer
     description: |
-      A pango or pixbuf producer (as appropriate for the file name).
-      Properties may be set on the producer to control its behavior.
+      Properties may be set on the encapsulated producer.
       e.g.: producer.align=centre
       See "pango" and "pixbuf" producers for details.
     readonly: no
 
-  - identifier: composite
-    title: Composite Transition
-    type: transition
+  - identifier: composite.*
+    title: Composite
     description: |
-      The transition that combines the images from the pango or pixbuf producer 
-      with the images from the track.
-      Properties may be set on the composite to control its behavior.
+      Properties may be set on the encapsulated composite.
       e.g.: composite.valign=c
       See "composite" transition for details.
     readonly: no
+
+  - identifier: reverse
+    title: Reverse
+    type: integer
+    description: Overlay the video to which the filter is applied atop the supplied file.
+    minimum: 0
+    maximum: 1
+    mutable: yes
+    widget: checkbox
+
+  - identifier: deinterlace
+    description: Force the supplied file to be be deinterlaced if it is interlaced.
+    type: integer
+    description:
+    minimum: 0
+    maximum: 1
+    mutable: yes
+    widget: checkbox
index 5c2ead9d40f41b06f7642205365e3eaebc42f4c8..341b0bc5acb13526b620f2032c699c159b4bb6ff 100644 (file)
@@ -12,15 +12,13 @@ tags:
 description: A simple color generator.
 parameters:
   - identifier: argument
-    title: Color value
-    description: |
+    title: Color
+    description: >
       A color value is a hexadecimal representation of RGB plus alpha channel 
       as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
-      or blue.
+      or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
     type: string
     required: no
     readonly: no
     default: black
-    widget: textbox
-    
-    
+    widget: color
index 1e84896105347ded65592cab05a1243e2de8f3bc..cd3e6076a7ce037d29a49c1ca15520f43eb67fa6 100644 (file)
@@ -31,12 +31,6 @@ parameters:
     mutable: no
     widget: timecode
     
-  - identifier: fps
-    title: Frame Rate
-    type: double
-    description: The output frame rate of the producer
-    readonly: yes
-    
   - identifier: aspect_ratio
     title: Aspect Ratio
     type: double
index 416a71cce99a294800d600f98d0c0b2075a1c094..3b3138616f882ffd63aaa097ce5138c4b315fd04 100644 (file)
@@ -13,12 +13,10 @@ tags:
 description: A libdv based decoder for video and audio.
 parameters:
   - identifier: argument
-    title: Filename
-    description: The name of a .dv file.
+    title: File
     type: string
     required: yes
     readonly: no
-    default: <null>
     widget: fileopen
     
   - identifier: in
@@ -43,15 +41,8 @@ parameters:
   - identifier: resource
     title: Resource
     type: string
-    description: The location of the file
     readonly: yes
 
-  - identifier: fps
-    title: Frame Rate
-    type: double
-    description: The output frame rate of the producer
-    readonly: yes
-    
   - identifier: length
     title: Length
     type: time
@@ -66,3 +57,4 @@ parameters:
     readonly: no
     mutable: yes
     widget: combobox
+    default: best
index cd03f8d02cfdb414581f5f1ef2fbe88d4d0949c0..43d7478999aa1bb3693a123d0856926131ab1952 100644 (file)
@@ -9,17 +9,17 @@ license: LGPLv2.1
 language: en
 tags:
   - Video
-description: |
+description: >
   A title generator that uses the Pango international text layout and Freetype2 
   font renderer.
-notes: |
+notes: >
   Supplying a filename with extension ".txt" causes the loader producer to load 
   with pango. If the filename begins with "+" the pango producer interprets the 
   filename as pango text. This is a shortcut to embed titles in melt commands. 
   For MLT XML, it is recommended that you embed the title text in the property 
   value.
   
-  Pango has builtin scaling. It will rescale the originally rendered title to 
+  Pango 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.
@@ -36,7 +36,7 @@ parameters:
     readonly: no
     required: yes
     mutable: no
-    widget: fileopen # could provide a button to use a file-open dialog 
+    widget: fileopen
     
   - identifier: in
     title: In point
@@ -70,25 +70,25 @@ parameters:
     widget: textbox
     
   - identifier: fgcolour
-    title: Foreground Colour
+    title: Foreground color
     type: string
     description: an RGBA colour specification of the text (i.e. 0xrrggbbaa)
     readonly: no
     mutable: yes
-    widget: colorpicker
+    widget: color
     
   - identifier: bgcolour
-    title: Background Colour
+    title: Background color
     type: string
     description: an RGBA colour of the background rectangle (i.e. 0xrrggbbaa)
     readonly: no
     mutable: yes
-    widget: colorpicker
+    widget: color
     
   - identifier: align
-    title: Paragraph Alignment
+    title: Paragraph alignment
     type: string
-    description: |
+    description: >
       left, centre, right (also, numbers 0, 1 and 2 can be used respectively)
     readonly: no
     mutable: yes
@@ -97,7 +97,7 @@ parameters:
   - identifier: pad
     title: Padding
     type: integer
-    description: |
+    description: >
       The number of pixels to pad the background rectangle beyond edges of text.
     readonly: no
     default: 0
@@ -124,7 +124,7 @@ parameters:
     widget: combobox
     
   - identifier: weight
-    title: Font Weight
+    title: Font weight
     type: integer
     description: The weight of the font.
     default: 400
@@ -135,7 +135,7 @@ parameters:
   - identifier: encoding
     title: Encoding
     type: string
-    description: |
+    description: >
       The text encoding type of the input if not UTF-8.
       See 'iconv --list' for a list of possible inputs.
     default: UTF-8
@@ -150,13 +150,13 @@ parameters:
     readonly: yes
 
   - identifier: real_width
-    title: Real Width
+    title: Real width
     type: integer
     description: The original, unscaled width of the rendered title.
     readonly: yes
     
   - identifier: real_height
-    title: Real Height
+    title: Real height
     type: integer
     description: The original, unscaled height of the rendered title.
     readonly: yes
@@ -171,4 +171,4 @@ parameters:
     title: Height
     type: integer
     description: The last requested scaled image height.
-    readonly: yes
\ No newline at end of file
+    readonly: yes
index 4156e745e6cb5753d39a1e3eaa228fb76026890d..382ff010fa0254073d95daa30fc77dcb5d5c8607 100644 (file)
@@ -9,9 +9,9 @@ license: LGPLv2.1
 language: en
 tags:
   - Video
-description: |
+description: >
   A still graphics to video generator using gdk-pixbuf
-notes: |
+notes: >
   Pixbuf 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 
@@ -21,25 +21,24 @@ parameters:
   - identifier: argument
     title: File
     type: string
-    description:
-      - >
+    description: >
         The name of a graphics file loadable by a gdk-pixbuf loader. 
-        See /usr/lib/gdk-pixbuf/loaders
-        definitely png, jpeg, tiff, pnm, and xpm
-      - >
+        See /usr/lib/gdk-pixbuf/loaders.
+        Definitely png, jpeg, tiff, pnm, and xpm will work.
+        
         If "%" in filename, the filename is used with sprintf generate a 
         filename from a counter for multi-file/flipbook animation. The file 
         sequence ends when numeric discontinuity >100.
-      - >
+        
         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 pixbuf tries to load the 
         filename as inline SVG XML, which is convenient for melt commands.
     readonly: no
     required: yes
     mutable: no
-    widget: fileopen # could provide a button to use a file-open dialog 
+    widget: fileopen
     
   - identifier: in
     title: In point
@@ -70,7 +69,7 @@ parameters:
     widget: spinner
     
   - identifier: ttl
-    title: Time To Live
+    title: Time-to-live
     type: integer
     description: How long (in frames) to repeat each picture in file sequences.
     readonly: no
@@ -86,15 +85,15 @@ parameters:
     readonly: yes
     
   - identifier: real_width
-    title: Real Width
+    title: Real width
     type: integer
-    description: The original, unscaled width of the rendered title.
+    description: The original, unscaled width of the rendered image.
     readonly: yes
     
   - identifier: real_height
-    title: Real Height
+    title: Real height
     type: integer
-    description: The original, unscaled height of the rendered title.
+    description: The original, unscaled height of the rendered image.
     readonly: yes
     
   - identifier: width
@@ -108,3 +107,19 @@ parameters:
     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
index 8e83359274e1a946973ea828a1e93e5091ec4809..c5e87e24e5ecd2de5e56bea47e173e9a47feb349 100644 (file)
@@ -24,7 +24,6 @@ parameters:
   - identifier: resource
     title: Resource
     type: string
-    description: File location. See "argument" above.
     readonly: yes
     
   - identifier: in
@@ -45,9 +44,3 @@ parameters:
     minimum: 0
     mutable: no
     widget: timecode
-    
-  - identifier: fps
-    title: Frame Rate
-    type: double
-    description: The output frame rate of the producer
-    readonly: yes
\ No newline at end of file
index 1aaebdfb4d8e7b740a2687b17a67137febb3d8b6..20ba3aba3c64155d6f089ee0f55cc5f9e6d210db 100644 (file)
@@ -14,19 +14,9 @@ description: |
   Construct a service network from an XML description. See docs/mlt-xml.txt.
 parameters:
   - identifier: argument
-    title: URL
+    title: File
     type: string
-    description: |
-      An XML text file containing MLT XML
-      Since MLT XML files can be parameterised, the URL syntax is:
-      {file-name}[?{param-name}{'='|':'}{param-value}[&{param-name}{'='|':'}{param-value}...]]
-      A colon is allowed instead of an equal sign to pacify melt, who tokenises 
-      anything with an equal sign as a property setting. Also, when running 
-      melt from the shell, beware of the '?' and shell filename expansion. You 
-      can surround the URL with single quotations to prevent expansion. 
-      Finally, the loader will fail to match the filename when you use 
-      parameters, so preface the url with 'xml:' to force the loader to load 
-      with the xml service.
+    description: An XML text file containing MLT XML.
     readonly: no
     required: yes
     mutable: no
@@ -35,5 +25,4 @@ parameters:
   - identifier: resource
     title: Resource
     type: string
-    description: File location. See "argument" above.
     readonly: yes