Re: "Catastrophic failure" in directshow graph

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Jan 7, 12:12 am, Michel Roujansky - DirectShow Consultant and
Trainer <jeremiah_...@xxxxxxxxx> wrote:
On Jan 6, 8:08 pm, "avia...@xxxxxxxxx" <avia...@xxxxxxxxx> wrote:

I have reimplemented the filter, this time all sample deliveries are
made from the worker thread.
this has solved the "catastrophic failure" bug, but now sometimes the
video playback has short visible "loops" where the video frame jumps
back and forth in time.
I used logging and confirmed that I am always deliverng samples in
order, and sometimes some frames are repeated (delivered more than
once) when the gaps between source frames is too large. since I am
delivering in order and from only one thread, I don't understand how
is it that the playback gets loopy? (pun intended)

Hide quoted text -

- Show quoted text -

I have experienced the same "jumpy effect" in a situation where I had
a thread pushing samples towards a renderer. This was caused by the
fact that the allocator was delivering previously used memory buffers
(do not forget that MediaSamples get recycled) and by my thread
failing to actually copy some data to the buffers.
I am not too sure about your technique of keeping a reference on the
MediaSample to retain a valid sample. As Chris indicated, if this is a
D3D surface, it wont work (at least not the way you .

do you think that implementing this as a Transform (with copy) filter
will fix my issue?
.



Relevant Pages

  • Re: mpeg 2 editing
    ... >> exact match to the first MPEG, that it will fit in perfectly with the ... >> rest of the MPEG's frames, that are simply copied to the new ... > the degraded result of retranscoding mpeg-compressed video is not only ... > cheapie capture cards and DVD and hard-disk consumer camcorders ALREADY ...
    (rec.video.desktop)
  • Re: CPU requirements for HDTV MythTV
    ... So, in other words, you have no idea if you were watching 30fps or 25fps. ... Chances are you are dropping a lot of frames and just don't notice it. ... "I got fed up with jerky video playback on my Linux HTPC and Plus UP-1100P ... 23.976Hz NTSC telecine - if displays could do it, ...
    (alt.tv.tech.hdtv)
  • Re: How to store video frames (e.g., for colonoscopy)
    ... lot of frames. ... Which means that for a compressed video ... the pixel data cleanly if some limits are not observed (or ... In terms of the underlying toolkits for parsing DICOM objects, ...
    (comp.protocols.dicom)
  • RE: Excessive Frame Drops in pimg application during video capture on
    ... I suspect it's the buffering filter that's dropping rather than the vcap ... What has happened in the past is the CPU is unable to encode video fast ... logic to evenly distribute the dropped frames throughout the video file. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Looking for DVD camcorder
    ... then it will be identical to the video on the tape. ... you have 25 real frames every second. ... If you add transitions to the edit cut points, then quality will be very, ... Mpeg is compressed to around 20.1. ...
    (microsoft.public.windowsxp.video)