Aspect Ratio DS filter



Dear All,

I am looking for a transform directshow filter that can adjust the AR of a
video; While there are many filters intended for adjusting various formats
to a 4:3 (ie. letterbox) display, I found none able to do the opposite:
adjust various input formats to a 16:9 display (with non square pixels). I
want it for my own usage: being able to use a DVB app (my theatre) on my
16:9 display TV, adjusting aspect ratio on the fly depending on what is on
air.

So I started to look how to write one; I eventually achieved to recompile
the filter samples that come with the directshow SDK. But digging into video
and the microsoft vagaries is complex for a newbie in that field.

My filter should:
- read and write the same format and resolution (preferably YUY2(16)), but
resolution depend on channels watched
- resize and crop the image depending on what is needed
- add black bars on top or side depending on what's needed.

I am looking for some filter sample source code (not overly complex: ffdshow
was of no use :-( that I can modify; especially :
- Handling of YUY2 format; a null transform filter would be great!
- A resizing filter (the bicubic resizing filter by Wanton is great!!!
unfortunately the source code is not available :-((

Doee anyone knows if such a filter exist, or give pointers to source code
samples?

Thanks to all,

Michel

mgouget hat computer dott org


.



Relevant Pages

  • Re: Creating a sample grabber to connect to YUY2 / VideoInfo2
    ... >I want the MS sample grabber to work with DVDs and MPEG-2 files. ... >require it to be able to attach to Video Info 2 formatted streams. ... DIBs in YUV formats are always top-down. ... You can't do this with a trans-in-place filter if you're hooking the filter ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Async Filter question
    ... You will need to add a custom interface with a 'queue for streaming' method ... and you must be sure that the formats of each successive file are identical. ... The most generic solution is to build a source filter which is fed by sink ... an end the next is switched in to the source of the output graph. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: date mailmerge problem
    ... Excel) but as soon as I apply date formats to all the cells, ... You can try changing the way that Word connects to Excel to DDE. ... results, and when I open the filter again, then the filters are shown twice ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Help - Deleting Rows on Text Criteria
    ... >I've created some code that imports a fixed width text file and formats ... but wouldn't it be quicker to filter the whole sheet ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • Re: How clear should the exhaust be from a 240D?
    ... Filter that is in the process of being deleted " ... Adjust the timing chain. ... I disconnected the output fuel line just at the fuel pump and the inlet fuel line right after the inline filter, ...
    (alt.auto.mercedes)