Image | Audio | Video |
---|---|---|
X |
Returns the aspect ratio of the first track of an MPEG video.
Include file
dmbvideo.h
Syntax
>>-AspectRatio--(--handle--)-----------------------------------><
Parameters (data type)
Return values (data type)
Aspect ratio of first track of MPEG video, or a null value for video in other formats (SMALLINT)
Examples
Get the aspect ratio of the video that is stored for Robert Smith in the video column of the employee table:
EXEC SQL BEGIN DECLARE SECTION; short hvAsp_ratio; EXEC SQL END DECLARE SECTION; EXEC SQL SELECT ASPECTRATIO(VIDEO) INTO :hvAsp_ratio FROM EMPLOYEE WHERE NAME='Robert Smith';