Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mediapy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
import typing
from typing import Any
import urllib.request
import warnings

import IPython.display
import matplotlib.pyplot
Expand Down Expand Up @@ -1231,12 +1232,13 @@ def _run_ffmpeg(
"""
argv = []
env = {}
ffmpeg_path = _get_ffmpeg_path()

# Allowed input and output files are not supported in open source.
del allowed_input_files
del allowed_output_files

argv.append(_get_ffmpeg_path())
argv.append(ffmpeg_path)
argv.extend(ffmpeg_args)

return subprocess.Popen(
Expand Down