mendevi.database.extract.extract_width

mendevi.database.extract.extract_width(raw: dict[str]) int[source]

Return the width of images in pixels.

SELECT t_dst_video.vid_width
FROM t_vid_video
JOIN t_vid_video AS t_dst_video
    ON t_vid_video.vid_id = t_dst_video.vid_id

or, alternativaly

SELECT t_dst_video.vid_width
FROM t_met_metric
JOIN t_vid_video AS t_dst_video
    ON t_met_metric.met_dis_vid_id = t_dst_video.vid_id

or, alternativaly

SELECT t_dst_video.vid_width
FROM t_enc_encode
JOIN t_vid_video AS t_dst_video
    ON t_enc_encode.enc_dst_vid_id = t_dst_video.vid_id

or, alternativaly

SELECT t_dst_video.vid_width
FROM t_dec_decode
JOIN t_vid_video AS t_dst_video
    ON t_dec_decode.dec_vid_id = t_dst_video.vid_id

Parameters

rawdict[str]

The result line of select request.