Audio seeking is not working

2 posters

Go down

Audio seeking is not working Empty Audio seeking is not working

Post by vinujose Mon Aug 10, 2015 2:19 pm

I have a wmv file with Video & Audio. I am using VMR 9 for playing the file. My problem is I can't do seek. I am using IMediaSeeking's SetPosition API to seek. I am getting the error.-1072889813.

Any body faced this issue


vinujose

Posts : 5
Join date : 2015-08-10

Back to top Go down

Audio seeking is not working Empty Re: Audio seeking is not working

Post by Admin Mon Aug 10, 2015 2:47 pm

That is error code C00D002B, which means INVALID_REQUEST.

Check if GetDuration returns a non-zero value.

Also check the capabilities. Some filters do not support relative positioning, so best is to use absolute positioning.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Audio seeking is not working Empty Re: Audio seeking is not working

Post by vinujose Mon Aug 10, 2015 2:56 pm

Hi,
GetDuration returns Nonzero Value;

I am using the SetPositions API like this
m_pMediaSeeking->SetPositions(   &newValue, AM_SEEKING_AbsolutePositioning,
NULL, AM_SEEKING_NoPositioning)

Can you tell me How I can use Absolute postioning?

vinujose

Posts : 5
Join date : 2015-08-10

Back to top Go down

Audio seeking is not working Empty Re: Audio seeking is not working

Post by vinujose Tue Aug 11, 2015 6:57 am

when I am checking the Capabilities, its telling AM_SEEKING_CanSeekForwards is not available. But if te stream have video alone, AM_SEEKING_CanSeekForwards is available. why this behaviour is happening ? any idea?

vinujose

Posts : 5
Join date : 2015-08-10

Back to top Go down

Audio seeking is not working Empty Re: Audio seeking is not working

Post by Admin Tue Aug 11, 2015 3:38 pm

I don't know.

The Codec Tweak Tool has an option to set LAV Splitter as preferred for .wmv files. Maybe that works better than the standard splitter from Microsoft (WM ASF Reader). If you also want to use LAV decoders, then you should enable the relevant formats in the settings of those decoders. The Windows Media stuff is disabled by default in LAV.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Audio seeking is not working Empty Re: Audio seeking is not working

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum