Re: Video Renderer problem on CE6



Hello, Jiang
My transform filter does hardware decoding process, and it decodes media
bitstream to video memory surface.
But, there are some special cases that the default video renderer switches
to software rendering and gives the transform filter a buffer in system
memory.
As far as i know, there are 3 cases:
1. during playing, switch CE Player to backgroud() - for example, activate
explorer and let it cover CE Player completely.
2. during playing, move CE Player down until its titlebar is covered by the
taskbar of Windows CE.
3. play media file normally. After it finishes, do not close CE Player and
let it "Play" again.

Here, take case 3 as example.
When playing media file again, the first frame is keyframe(I-Frame).
But, during the first frame, the transform will receive one dynamic format
change from video renderer(why?) - the media type of output is not null.
The video renderer gives the transform a buffer in system memory, and this
keyframe has to be skipped.(the hardware cannot get this frame)
The hardware has to sync to next keyframe for decoding the correct image.
It may wait too long...depends on when next keyframe comes

Thanks!

"Haitao Jiang (MS)" <haitaoj@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:ejE6GyTMHHA.4000@xxxxxxxxxxxxxxxxxxxxxxx
Would please tell us more about your system, CPU and platform, etc.? Is it
a WMV, MPEG, or other format?

X86, CE6, and normal WMV9


Do these scenarios happen to the transfer filters (decoders) provided by
MS as well?
I think this issue has influence on hardware decoding.
When one dyanmic format change comes from video renderer, there is no lock
and unlock for directdraw surface on CE6.
The hardware will stop decoding.
(CE5 has lock/unlock although CE Player is covered by explorer - case 1)

Thanks,
--
Haitao Jiang
Software Design Engineer in Test
Windows Device Core Multimedia

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use.



.



Relevant Pages

  • Re: cannon connect my filter to the vidoe renderer filter
    ... in the registry. ... with the same setup(that is same file source and transform filter) i m ... able to achieve intelligent connect with my custom dump filter. ... There is no issue with MS Video Renderer. ...
    (microsoft.public.pocketpc.developer)
  • Re: cannon connect my filter to the vidoe renderer filter
    ... with the same setup(that is same file source and transform filter) i m ... able to achieve intelligent connect with my custom dump filter. ... There is no issue with MS Video Renderer. ... connection between my custom transform filter and video renderer ...
    (microsoft.public.pocketpc.developer)
  • Re: Video Renderer vs. VMR9
    ... the samples in a worker thread. ... With VMR9 the graph works fine both with immediate sample ... With Video Renderer immediate delivery (no ... From the debugger I found that the transform filter ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: custom filter not being connected to video renderer
    ... connection between my custom transform filter and video renderer ... happens but the system crashes after one frame is delivered from the ... i m deriving my transform filter from CVideoTransformFilter and RGB565 ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: About colorspace converter
    ... The video renderer may be using DirectDraw's hardware ... overlay where the hardware supports YV12. ... the stock video renderer is supposed to always ...
    (microsoft.public.win32.programmer.directx.video)