WMASFReader stream seek error.
- From: Dmitry Dudkin <Dmitry Dudkin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Aug 2008 09:43:03 -0700
I have RTSP video stream and it fine played & seeked in AxWindowsMediaPlayer.
But AxWindowsMediaPlayer don't support to change aspect ratio and zoom 4:3
stream to 16:9. And now i try to use VMR9 & WMASFReader to play this stream
under Vista. Play is work but i have to related problems with seeking stream.
When i call SetPositions for IMediaSeeking stream is aborted and i get
Completed event. I try many variations but nothing help. And very strange
that some times SetPositions return S_FALSE and some time with SAME arguments
it return S_OK. If i call SetPositions from main thread then it always S_OK
but it don't work and abort stream.
More that...my stream have 2-3 parts and AxWindowsMediaPlayer fine navigate
between them, but VMR9 implementation stop when first part ended.
I capture RTSP stream and find that on seek AxWindowsMediaPlayer send
PAUSE, SET_PARAMETER and PLAY messages. But when i call SetPosition i have
PAUSE and 3 SET_PARAMETER messages and my stream seeked to end.
How AxWindowsMediaPlayer seek a ASF streams and why it different from
WMASFReader behavior?
Best Regards,
Dmitry
.
- Prev by Date: I have problem on IWMSyncReader.OpenStream
- Next by Date: Using Windows Portable Devices from c#
- Previous by thread: I have problem on IWMSyncReader.OpenStream
- Next by thread: Using Windows Portable Devices from c#
- Index(es):
Relevant Pages
|