creating a new video out module
Luc Renambot
renambot at cs.vu.nl
Wed Sep 4 16:37:26 CEST 2002
Hi,
Some time ago, I heard it would be possible in the
future to give vlc user-defined buffers for the decoding,
making easy to get the output any video decoding module.
Combined to libvlc, it would make the integration of
vlc into other programs much easier. Any update on that
plan ?
Luc.
renambot at cs.vu.nl
] -----Original Message-----
] From: vlc-devel-bounce at videolan.org
] [mailto:vlc-devel-bounce at videolan.org] On Behalf Of Samuel Hocevar
] Sent: Wednesday, September 04, 2002 16:07
] To: vlc-devel at videolan.org
] Subject: Re: creating a new video out module
]
]
] On Wed, Sep 04, 2002, Bram Stolk wrote:
]
] > Strangely enough, if I feed vlc an MPEG of size 352x288, I get this
] > output on CVS version: Dummy render. Y=704x288, U=0x0, V=0x0
]
] This is because dummy allocates an RGB image by default.
] Add this line to see the currently used chroma for output:
]
] printf("chroma %4.4s -> %4.4s\n", p_vout->render.i_chroma,
] p_vout->output.i_chroma);
]
] You probably want to use the --dummy-chroma or even force
] the output chroma in the source code. See the Init() function
] in dummy/vout.c for how RV16 is forced. For a list of picture
] formats internally used by vlc, you can see
] src/video_output/vout_pictures.h.
]
] > Does the dummy somehow get a rescaled version of the frames?
]
] No, but since RV16 is 16 bits (2 bytes) per pixel, p_pitch
] is twice the number of pixels in a line (hence 704 = 352*2).
]
] > And also, why are UV missing from the frames?
]
] Because planar RV16 has only one plane. Use planar YUV
] such as I420 to get three planes.
]
] --
] Sam.
] --
] This is the vlc-devel mailing-list, see
] http://www.videolan.org/vlc/ To unsubscribe, ] please read
] http://www.videolan.org/lists.html
] If you are in trouble, please contact <postmaster at videolan.org>
]
]
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list