[theora] Reading framerate, height, width from Theora file
cristian.adam at gmail.com
Wed Dec 30 00:47:12 PST 2009
On 30/12/2009 09:23, Silvia Pfeiffer wrote:
> Maybe the DirectShow filters can help you get started?
The DirectShow filters can help but it's not that straightforward.
One needs to build a small DirectShow graph and then interrogate the
output pin of Theora Decoder for the VIDEOINFOHEADER2 data structure.
The rcSource field will contain the height and width of the movie
and the AvgTimePerFrame field will help in computing the framerate.
One can test this easily by using GraphStudio
DirectShow.NET should be used when using DirectShow in .NET languages.
I am planning on implementing the IMediaDet Interface for the Theora
will help in cases like this. But I
cannot give an estimate.
The C# Theora Decoder might be of more use in this case:
More information about the theora