Log in

View Full Version : Directshow - Playing Currently Encoding Video


daveoggy
11th October 2008, 21:26
I'm using ffmpeg.exe to encode some video to a DVD compliant MPEG and was looking for a way to check that the output is what I wanted. Media Player doesn't allow me to open the file until the whole encode is complete, however Zoom Player opens the file just fine.

The filter graph in Zoom player has a componant called Smart Play Graph which is acting as the source for the rest of the filter. Can anybody shed light on what they might be doing inside this Smart Play Graph in order to play the currently encoding file?

LoRd_MuldeR
12th October 2008, 03:30
I'd assume that WMP tries to obtain exclusive access to the file, which can't succeed while ffmpeg.exe is still writing to the file.

Obviously Zoom Player uses it's own Source filter and opens the file with read access only...