Skip to content

Commit

Permalink
Added ffprobe debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefMarlin committed Dec 12, 2024
1 parent dbf034b commit bfbda83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firescrew.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ func getStreamInfo(rtspURL string) (StreamInfo, error) {
cmd := exec.CommandContext(ctx, "ffprobe", "-rtsp_transport", "tcp", "-v", "quiet", "-print_format", "json", "-show_streams", rtspURL)
output, err := cmd.Output()
if err != nil {
Log("debug", fmt.Sprintf("ffprobe output: %s", output))
return StreamInfo{}, err
}

Expand Down

0 comments on commit bfbda83

Please sign in to comment.