How to calculate sampleTime and sampleDuration before decode |
![]() ![]() |
How to calculate sampleTime and sampleDuration before decode |
Jun 18 2012, 13:36
Post
#1
|
|
|
Group: Members Posts: 4 Joined: 6-June 12 Member No.: 100455 |
I have create ogg decoder in media foundation
I have read some packte as a sample (compress data), now I need to know the sample' time and sample's duration Now I know the AvgBytesPerSec and SamplesPerSec and so on, but this parameters are use for uncompress data so how can get IMFSample's time and duration by use compress data ? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 02:03 |