Audio seeking is not working
2 posters
Page 1 of 1
Audio seeking is not working
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
Any body faced this issue
vinujose- Posts : 5
Join date : 2015-08-10
Re: Audio seeking is not working
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.
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.
Re: Audio seeking is not working
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?
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
Re: Audio seeking is not working
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
Re: Audio seeking is not working
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.
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.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum