After a bit of a struggle I now can record webm using some java code as part of a conference. The resultant file seems sensible in mkvalidator and gives the right sort of info in mkvinfo, it plays badly in windows media player and vlc, windows gives a static image at the start and vlc gives a black frame for a while, then displays the correct image moving a bit slowly, and then it comes into a bit of a mess with the encryption of the frames and goes really colourful a bit like a surrealist painting.
It strikes me that I have a problem with the timecode and also that I am probably dropping some frames.
As part of debugging this what I would like to do is to run code to play the resultant webm file. Which I might be able to use also to run other webm files. (or at least the video track).
I note that in the neomedia classes there is a datasource based upon an Ivf file which is supposed to be created from a webm file. I am, however, not that clear on how I might find webm-ivf convertor.
It strikes me that it might be sensible to modify that to simply run from a webm file from which I might be able to spot where I am going wrong on writing the file.
Is this a sensible strategy or is there an easier route?