Welcome Guest ( Log In | Register )

how to get the VorbisFormat2
post Jun 6 2012, 08:30
Post #1

Group: Members
Posts: 4
Joined: 6-June 12
Member No.: 100455

I try to decoder ogg in mediafoundation. now I have see the dshow filter but I don't understand how to create VORBISFORMAT2

unsigned long channels;
unsigned long samplesPerSec;
unsigned long bitsPerSample;
unsigned long headerSize[3]; // 0: Identification, 1: Comment, 2: CodecSetup

VorbisDecodeInputPin::SetMediaType(const CMediaType* inMediaType)
I don't know how to get inMediaType->pbFormat in mediafoundation. or how to get the VORBISFORMAT2s header by use libvorbis?
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 1st December 2015 - 08:53