Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit 5e7e86d

Browse files
committed
add additional parameters to increase the limit for probing
1 parent 16443b2 commit 5e7e86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg/ffmpeg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func (t *Transcoder) GetMetadata() (transcoder.Metadata, error) {
280280
input = "pipe:"
281281
}
282282

283-
args := []string{"-print_format", "json", "-show_format", "-show_streams", "-find_stream_info", "-show_error", input}
283+
args := []string{"-print_format", "json", "-show_format", "-show_streams", "-find_stream_info", "-analyzeduration", "10000000", "-probesize", "10000000", "-show_error", input}
284284

285285
cmd := exec.Command(t.config.FfprobeBinPath, args...)
286286
cmd.Stdout = &outb

0 commit comments

Comments
 (0)