Skip to content

get resolution #428

@xgdgsc

Description

@xgdgsc

Would it be useful to add get_resolution like

function get_resolution(vPath)
    meta = FFMPEG.exe(`-v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 $vPath`, command=FFMPEG.ffprobe, collect=true)
    resplit = split( meta[1], ",")
    parse(Int,resplit[1]),parse(Int,resplit[2])
end

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions