     ).join(',') + ' pps=' + @pictureParameterSets.map((pps) ->
       "0x#{pps.toString 'hex'}"
     ).join(',')
+
+  getTree: ->
+    obj = super
+    obj.sps = @sequenceParameterSets.map((sps) -> [sps...])
+    obj.pps = @pictureParameterSets.map((pps) -> [pps...])
+    return obj
 
 # esds
 class ESDBox extends Box

  getDetails: (detailLevel) ->
    "handlerType=#{@handlerType} name=#{@name}"

# Video Media Header Box (vmhd): general presentation information
class VideoMediaHeaderBox extends Box
  read: (buf) ->

      "chunkOffsets=#{@chunkOffsets.join ','}"
    else
      "entryCount=#{@entryCount}"

  getTree: ->
    obj = super
    obj.chunkOffsets = @chunkOffsets
    return obj

# smhd
class SoundMediaHeaderBox extends Box
