Elecard
May 19, 2013, 11:54:35 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: VMR9 letterbox/pillarbox?  (Read 1601 times)
sebk
Newbie
*
Posts: 2


View Profile
« on: February 15, 2010, 04:21:26 am »

Hello!

I want to have an OSD on top of the video and would like to use the VMR9 SetAlphaBitmap()-feature for that. The problem is that within my window (which is 16:9), the VMR9 scales 4:3-content in a way that the OSD only covers exactly the 4:3-area -- in other words, the so called "composition space" is a 4:3-square within my 16:9 window.

Now, I use the Elecard Push Demuxer and manually create its output-pins. On the video-output-pin I set the formattype to FORMAT_MPEG2_VIDEO and then set the dwControlFlags of VIDEOINFOHEADER2 to AMCONTROL_USED | AMCONTROL_PAD_TO_16x9.

Connection to the "MPEG-2 Video Decoder" succeeds -- however, the video-decoder neither honours these flags nor passes them through to the VMR9.

I've also set EM2VD_FormatVideoInfo to 1 or 2, to no avail.

Any hints? Also, if anyone knows of a different (performant & flickerfree) way to have an OSD with alpha over a directshow-video, let me know.

Regards
Logged
IrinaM
Moderator
*****
Posts: 138


View Profile
« Reply #1 on: February 15, 2010, 11:06:26 pm »

Hello sebk,
Unfortunately I cannot help you. Please send an email to our Technical Support.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!