u2takey / ffmpeg-go

golang binding for ffmpeg
Apache License 2.0
1.66k stars 167 forks source link

No way to specify ffprobe path #117

Open juanique opened 5 months ago

juanique commented 5 months ago

This code https://github.com/u2takey/ffmpeg-go/blob/6649d14c4aeb35093a062d4660a55507198cd03e/probe.go#L35 assumes that ffprobe is on the system PATH. There should be a way to specify the path of the executable to run.

nzoschke commented 4 months ago

Yes this follows from the ability to set a different ffmpeg path via ffmpeg.SetFfmpegPath(name).

It is important to be able to specify non-system binaries for both ffmpeg and ffprobe