class_docstr: Test encoding features
class_docstr_tok: ["Test","encoding","features"]
docstr: Test webm encoding, video
docstr_tok: ["Test","webm","encoding",",","video"]
code: def testWebMVideo(self):
      "Test webm encoding, video"
      from timeside.plugins.encoder.webm import WebMEncoder
  
      self.encoder_function = WebMEncoder
      self.test_duration = False  # webmmux encoder with streamable=true
      # does not return a valid duration
      if not hasattr(self, "sink"):
          file_extension = "." + self.encoder_function.file_extension()
          self.sink = tmp_file_sink(
              prefix=self.__class__.__name__, suffix=file_extension
          )
          self.encoder = self.encoder_function(
              self.sink, overwrite=self.overwrite, video=True
          )
  
imports: from __future__ import division
  from math import pi
  import numpy
  from unit_timeside import *
  from timeside.plugins.decoder.utils import get_uri, get_media_uri_info
  from timeside.plugins.decoder.array import ArrayDecoder
  import os
  from tools import tmp_file_sink
label_desc: Use image node_id 9 for calling the TestEncoding obj's underlying member method code with example usage: obj.testWebMVideo() without return types