decord
An efficient video loader for deep learning with smart shuffling that's super easy to digest
File Explorer
Download Latest Version (.zip)- ccpp.yml
- pypi.yml
- dlpack
- dmlc-core
- CUDA.cmake
- FFmpeg.cmake
- FindCUDA.cmake
- FindCUDAArchFlags.cmake
- FindFFmpeg.cmake
- Util.cmake
- config.cmake
- index.rst
- conf.py
- index.rst
- Makefile
- symbol.png
- audio_reader.ipynb
- av_reader.ipynb
- count.mov
- example.mp3
- flipping_a_pancake.mkv
- Javelin_standing_throw_drill.mkv
- video_loader.ipynb
- video_reader.ipynb
- c_backend_api.h
- c_runtime_api.h
- device_api.h
- module.h
- ndarray.h
- node_base.h
- packed_func.h
- registry.h
- serializer.h
- threading_backend.h
- util.h
- audio_interface.h
- av_interface.h
- base.h
- video_interface.h
- __init__.py
- function.py
- ndarray.py
- types.py
- __init__.py
- __init__.py
- .gitignore
- base.pxi
- core.pyx
- function.pxi
- ndarray.pxi
- node.pxi
- __init__.py
- base.py
- function.py
- libinfo.py
- ndarray.py
- README.md
- runtime_ctypes.py
- __init__.py
- mxnet.py
- tf.py
- torchdl.py
- tvm.py
- utils.py
- __init__.py
- kinetics400_action.py
- __init__.py
- action.py
- __init__.py
- base_action.py
- dataloader.py
- __init__.py
- base.py
- __init__.py
- _api_internal.py
- audio_reader.py
- av_reader.py
- base.py
- logging.py
- ndarray.py
- video_loader.py
- video_reader.py
- setup.py
- audio_interface.cc
- audio_reader.cc
- audio_reader.h
- improc.cu
- improc.h
- README.md
- cuda_common.h
- cuda_device_api.cc
- cuda_module.cc
- cuda_module.h
- c_runtime_api.cc
- cpu_device_api.cc
- dso_module.cc
- file_util.cc
- file_util.h
- meta_data.h
- module.cc
- module_util.cc
- module_util.h
- ndarray.cc
- pack_args.h
- registry.cc
- runtime_base.h
- str_util.cc
- str_util.h
- system_lib_module.cc
- thread_pool.cc
- thread_storage_scope.h
- threading_backend.cc
- workspace_pool.cc
- workspace_pool.h
- random_file_order_sampler.cc
- random_file_order_sampler.h
- random_sampler.cc
- random_sampler.h
- sampler_interface.h
- sequential_sampler.cc
- sequential_sampler.h
- smart_random_sampler.cc
- smart_random_sampler.h
- cutter.h
- interval_cutter.cpp
- README.md
- scene_cutter.cc
- ffmpeg_common.h
- filter_graph.cc
- filter_graph.h
- README.md
- threaded_decoder.cc
- threaded_decoder.h
- cuviddec.h
- nvcuvid.h
- cuda_context.cc
- cuda_context.h
- cuda_decoder_impl.cc
- cuda_decoder_impl.h
- cuda_mapped_frame.cc
- cuda_mapped_frame.h
- cuda_parser.cc
- cuda_parser.h
- cuda_stream.cc
- cuda_stream.h
- cuda_texture.cc
- cuda_texture.h
- cuda_threaded_decoder.cc
- cuda_threaded_decoder.h
- LICENSE
- README.md
- logging.cc
- storage_pool.cc
- storage_pool.h
- threaded_decoder_interface.h
- video_interface.cc
- video_loader.cc
- video_loader.h
- video_reader.cc
- video_reader.h
- bench_decord.py
- bench_opencv.py
- bench_pyav.py
- cv2.npy
- test_ffmpeg_audio_reader.cc
- test_ffmpeg_video_reader.cc
- test_audio_reader.py
- test_av_reader.py
- test_bridges.py
- test_video_reader.py
- corrupted.mp4
- unordered.mov
- video_0.mov
- video_180.mov
- video_270.mov
- video_90.mov
- generate_test_videos.cmd
- generate_test_videos.sh
- build_macos_10_9.sh
- build_manylinux2010.sh
- update_version.py
- .gitignore
- .gitmodules
- CMakeLists.txt
- gpu.Dockerfile
- LICENSE
- README.md
# Installation Guide
git clone https://github.com/dmlc/decord
Downloads the entire project code from GitHub to your computer.
cd decord
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommendedpip install decord
Installs the package published on PyPI directly β no need to clone the source.
sudo apt-get install -y build-essential python3-dev python3-setuptools make cmake
Installs directly from the APT package repository (Debian/Ubuntu-based).
sudo apt-get install -y ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev
Installs directly from the APT package repository (Debian/Ubuntu-based).
brew install cmake ffmpeg
Installs the pre-built package via Homebrew β no source build required.
Pulled directly from this repo's README.
3. CMake
Mediumsudo apt-get install -y build-essential python3-dev python3-setuptools make cmake
Installs directly from the APT package repository (Debian/Ubuntu-based).
cmake .. -DUSE_CUDA=0 -DCMAKE_BUILD_TYPE=Release
Analyzes the source code and generates build configuration files (must be run inside the build folder).
cmake .. -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release
Analyzes the source code and generates build configuration files (must be run inside the build folder).
brew install cmake ffmpeg
Installs the pre-built package via Homebrew β no source build required.
cmake .. -DCMAKE_BUILD_TYPE=Release
Analyzes the source code and generates build configuration files (must be run inside the build folder).
Pulled directly from this repo's README.
4. Python
Easypip install decord
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
