Skip to content

Commit a9a8220

Browse files
authored
Print FFmpeg location in setup.py (#2734)
1 parent a98e17e commit a9a8220

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,13 @@ def get_extensions():
331331

332332
ffmpeg_exe = distutils.spawn.find_executable('ffmpeg')
333333
has_ffmpeg = ffmpeg_exe is not None
334+
print("FFmpeg found: {}".format(has_ffmpeg))
334335

335336
if has_ffmpeg:
336337
ffmpeg_bin = os.path.dirname(ffmpeg_exe)
337338
ffmpeg_root = os.path.dirname(ffmpeg_bin)
338339
ffmpeg_include_dir = os.path.join(ffmpeg_root, 'include')
340+
print("ffmpeg include path: {}".format(ffmpeg_include_dir))
339341

340342
# TorchVision base decoder + video reader
341343
video_reader_src_dir = os.path.join(this_dir, 'torchvision', 'csrc', 'cpu', 'video_reader')

0 commit comments

Comments
 (0)