I'm seeing this project starting and I am pretty pleased that someone is trying
to do it using DX.
I already have a feature request which will seem a little strange.
Please make this:
- filter attachable to the splitter subtitle output only
- allow filter to accept an interface on which to raise callbacks
- callbacks take as parameter the DX surface that the filter is using
- callbacks are raised for each frame the filter renders
This will make it possible to use the filter as an overlay image inside a WPF
application instead of passing through the graph to the renderer.
It is then possible to apply additional transformations on the subtitles / or
not make them depending on the application settings.
For example:
- attach the subtitles to the video frame / or to the window
- scale / rotate subtitles with the video frame
- adjust contrast / brightness / opacity of subtitles
All this in real time, depending on user settings.
This is not possible in any player up to date with any existing combination of
filters.
I've managed to do the image transformations by retaining video acceleration
and I'm looking for a way to incorporate subtitles. Right now I can draw simple
textual SRT subtitles (must be in same folder as file), but implementing
ASS/SSA is miraculously hard, and it would be cool to have such a callback with
a new surface.
You can see a demonstration here:
https://www.dropbox.com/s/7kvdd4wt18mkwpx/MediaPoint%202012.1%20x64.zip
Or attachment
Try:
- go fullscreen
- use mouse scroll to zoom
- press right mouse button and continue with scroll to rotate image
I can provide you with the interface implementation which I already have for
the custom presenter that sends frames to the WPF application.
Needs .NET 3.5 and Windows 7 64
Original issue reported on code.google.com by
marino.simic@gmail.comon 8 May 2012 at 1:08Attachments: