I have a WPF application that starts real-time recording using the Windows Media Center using the Windows Media Center SDK, waits 2 minutes, and then plays the current recording file (.wtv) in WPF MediaElement. The problem is that the video image freezes, and this is not consistent with when it happens. I looked at it and found that the timeline is still moving, so MediaElement still thinks the video is playing.
This only happens when you try to play the video file that is currently being recorded, previously recorded shows play very well. Both Media Center and Media Player can play these files without any hiccups; This problem has only WPF MediaElement. Any help would be appreciated.
c # wpf windows-media-center television
eborlas
source share