View Single Post
Old 26th February 2018, 07:43   #1  |  Link
`Orum
Registered User
 
Join Date: Sep 2005
Posts: 178
Any way to get frame type from a source filter? Also, ranges for 32-bit color?

I have two unrelated questions:

1. Is there any way to get the frame type from lossy video, i.e. I, P, or B, out of a source filter for use within other filters? Or rather, do any source filters support this?

Edit: Looking at the cache file from LSMASHSource(), is this what the Pic= field is for? If so I suppose that will work (as long as users don't Trim(), decimate, splice, etc.)...

2. What are the valid ranges (i.e. white and black point) for 32-bit floating point color spaces? 1.0 (white) to 0.0 (black), or 1.0 to -1.0? Or something else entirely? What about for chroma, and what is the range for TV levels?

I tried feeding 32-bit footage to ColorYUV() only to see "float pixel type is not supported yet."
__________________
My filters: DupStep | PointSize

Last edited by `Orum; 26th February 2018 at 10:49. Reason: grammar
`Orum is offline   Reply With Quote