-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
🐛 Describe the bug
Continuing from #912 as the underlying issue has not been fixed.
The issue is that torchcodec is not able to find FFmpeg DLLs, even if the FFmpeg bin folder is added to PATH.
Sample of the error:
[start of libtorchcodec loading traceback]
FFmpeg version 7: Could not find module 'C:\Python313\site-packages\torchcodec\libtorchcodec_core7.dll' (or one of its dependencies). Try using the full path with constructor syntax.
FFmpeg version 6: Could not find module 'C:\Python313\site-packages\torchcodec\libtorchcodec_core6.dll' (or one of its dependencies). Try using the full path with constructor syntax.
FFmpeg version 5: Could not find module 'C:\Python313\site-packages\torchcodec\libtorchcodec_core5.dll' (or one of its dependencies). Try using the full path with constructor syntax.
FFmpeg version 4: Could not find module 'C:\Python313\site-packages\torchcodec\libtorchcodec_core4.dll' (or one of its dependencies). Try using the full path with constructor syntax.
[end of libtorchcodec loading traceback].
Currently, one fix, as recommended in this French comment, is to directly copy the DLLs into the torchcodec site-packages folder.
Versions
Using torch 2.8+cu128, torchcodec 0.7, and Python 3.13.
jonatlr
Metadata
Metadata
Assignees
Labels
No labels