Skip to content

ffprobe returns error on mpeg-ts inputs #29

Description

@maxutility2011

When the input video is a TS file, ffprobe (e.g., ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate -of default=noprint_wrappers=1:nokey=1 input.ts) returns r_frame_rate twice, e.g.,
"
30/1
30/1
", causing the following line to fail, https://github.com/google/uvq/blob/main/utils/probe.py#L115. Error message received: "Error getting r_frame_rate for input.ts: too many values to unpack (expected 2)". The code only expects one single output, e.g., "30/1".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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