Modifying input stream of Video before playing it
-
I need some quick help with this problem: I've created a simple video player using DirectShow. When I set playing a video file (f.e. wmv) I need do some file decryption (file is encrypted with own algorithm) before playing the movie stream - during reading data from file into DirectShow's stream buffer. I need some ideas, how can I do this: > Open video file > fread(buffer, bufflen) / apply buffer decryption -> redirect to DirectShow (apply filters, etc.) -> Play Thank you for any support
-
I need some quick help with this problem: I've created a simple video player using DirectShow. When I set playing a video file (f.e. wmv) I need do some file decryption (file is encrypted with own algorithm) before playing the movie stream - during reading data from file into DirectShow's stream buffer. I need some ideas, how can I do this: > Open video file > fread(buffer, bufflen) / apply buffer decryption -> redirect to DirectShow (apply filters, etc.) -> Play Thank you for any support
For DirectShow, you'll probably need to write your own transform filter that decrypts the raw file data and passes it downstream unencrypted. Writing DirectShow Filters[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
For DirectShow, you'll probably need to write your own transform filter that decrypts the raw file data and passes it downstream unencrypted. Writing DirectShow Filters[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
Thanx, I've done it during today, but created a Source filter (file reader). The transform filter won't work as well