1 diff --git i/ffmpeg/_probe.py w/ffmpeg/_probe.py
2 index 41e8168..eb83b54 100644
5 @@ -4,7 +4,7 @@ from ._run import Error
6 from ._utils import convert_kwargs_to_cmd_line_args
9 -def probe(filename, cmd='ffprobe', **kwargs):
10 +def probe(filename, cmd='@ffmpeg@/bin/ffprobe', **kwargs):
11 """Run ffprobe on the specified file and return a JSON representation of the output.
14 diff --git i/ffmpeg/_run.py w/ffmpeg/_run.py
15 index afc504d..9445cca 100644
18 @@ -172,7 +172,7 @@ def get_args(stream_spec, overwrite_output=False):
22 -def compile(stream_spec, cmd='ffmpeg', overwrite_output=False):
23 +def compile(stream_spec, cmd='@ffmpeg@/bin/ffmpeg', overwrite_output=False):
24 """Build command-line for invoking ffmpeg.
26 The :meth:`run` function uses this to build the commnad line
27 @@ -193,7 +193,7 @@ def compile(stream_spec, cmd='ffmpeg', overwrite_output=False):
32 + cmd='@ffmpeg@/bin/ffmpeg',
36 @@ -289,7 +289,7 @@ def run_async(
41 + cmd='@ffmpeg@/bin/ffmpeg',
45 diff --git i/ffmpeg/tests/test_ffmpeg.py w/ffmpeg/tests/test_ffmpeg.py
46 index 279a323..8d3b35c 100644
47 --- i/ffmpeg/tests/test_ffmpeg.py
48 +++ w/ffmpeg/tests/test_ffmpeg.py
49 @@ -24,7 +24,7 @@ TEST_OUTPUT_FILE2 = os.path.join(SAMPLE_DATA_DIR, 'out2.mp4')
50 BOGUS_INPUT_FILE = os.path.join(SAMPLE_DATA_DIR, 'bogus')
53 -subprocess.check_call(['ffmpeg', '-version'])
54 +subprocess.check_call(['@ffmpeg@/bin/ffmpeg', '-version'])
57 def test_escape_chars():
58 @@ -423,7 +423,7 @@ def test_filter_text_arg_str_escape():
61 out_file = ffmpeg.input('dummy.mp4').output('dummy2.mp4')
62 - assert out_file.compile() == ['ffmpeg', '-i', 'dummy.mp4', 'dummy2.mp4']
63 + assert out_file.compile() == ['@ffmpeg@/bin/ffmpeg', '-i', 'dummy.mp4', 'dummy2.mp4']
64 assert out_file.compile(cmd='ffmpeg.old') == [
67 @@ -490,7 +490,7 @@ def test__run__input_output(mocker):
68 @pytest.mark.parametrize('capture_stdout', [True, False])
69 @pytest.mark.parametrize('capture_stderr', [True, False])
70 def test__run__error(mocker, capture_stdout, capture_stderr):
71 - mocker.patch.object(ffmpeg._run, 'compile', return_value=['ffmpeg'])
72 + mocker.patch.object(ffmpeg._run, 'compile', return_value=['@ffmpeg@/bin/ffmpeg'])
73 stream = _get_complex_filter_example()
74 with pytest.raises(ffmpeg.Error) as excinfo:
75 out, err = ffmpeg.run(
76 @@ -684,7 +684,7 @@ def test_pipe():
80 - cmd = ['ffmpeg'] + args
81 + cmd = ['@ffmpeg@/bin/ffmpeg'] + args
83 cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE