The only other watermark / zencoder issue I have found is this one. I hope I am not repeating a questions solved elsewhere. http://drupal.org/node/1491608

Video now has settings/preset pages for each type of conversion. This is great. It also has a spot for ADDITIONAL SETTINGS:

yoururl.com/admin/settings/video/presets

Enter any other Zencoder encoding settings in this text area. Enter each setting on a separate line and separate the setting name (case sensitive) and the value with a colon. To create a nested structure, use two spaces. Malformed settings will be removed.
Example:
clip_length: 00:00:10.0
watermark:
url: http://example.com/watermark.gif
y: 10
x: 10

Now, Zencoder tells me that I should write it this way (JSON):
   

   "watermarks": [
        {
          "url": "s3://bucket/watermark_file.png",
          "y": "-10%",
          "height": 24,
          "x": "20",
          "width": 32
        }
      ]

or this way (XML)

      <watermarks type="array">
        <watermark>
          <url>s3://bucket/watermark_file.png</url>
          <y>-10%</y>
          <height type="integer">24</height>
          <x>20</x>
          <width type="integer">32</width>
        </watermark>
      </watermarks>

and the helpful hint from the module itself suggests I use no "-marks and call it "watermark" instead of "watermarks" - but I have tried everything and not gotten a successful watermark yet. This, for example, does not work.

watermarks:
url: http://EXAMPLE:COM/watermark.gif
x: -12
y: -12
width: 137
height: 35

What should I be writing in this box to get it to work? How can I troubleshoot this?

Comments

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Did you indent the lines below watermarks, like this:

watermarks:
  url: someurl
  x: -12
  y: -12
  width: 137
  height: 35

I'll update the module to show a correct example.

Rhino’s picture

That was it. Thank you for making it clear that the lines needed to be indented.

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I am glad it works now.

Daniel Wentsch’s picture

I'm just trying to figure out how to get watermarks into my videos using the D7 version of video module - I just can't find those additional settings where I could provide the json for the watermark information. Is there another way to do this in Drupal7?

Edit: nevermind, found it (it's been implemented in 7.x-2.6), for each preset you'll find a fieldset for watermarks (admin/config/media/video/presets/preset/[presetname])

deepakrmklm’s picture

Component: Video Transcoding » General
Issue summary: View changes