search for: m_rtframelength

Displaying 1 result from an estimated 1 matches for "m_rtframelength".

2012 Nov 01
1
DirectShow PushSource with theora encoder and Ogg muxer filters
...n TheoraEncodeInputPin.cpp file [1]. Because by default CPushPinDesktop::GetMediaType(int iPosition, CMediaType *pmt) method in PushSourceDesktop.cpp does not assign a value for average time per frame, I added the line below; pvi->AvgTimePerFrame = FPS_10; FPS_10 is the value I used in m_rtFrameLength(FPS_10) also in the constructor CPushPinDesktop(HRESULT *phr, CSource *pFilter). After all, my problem is I tried different values (FPS_10, FPS_20 and FPS_30) in the code I mentioned above, but the length and quality of the output videos are not sufficient or even correct. Especially durations di...