decord
An efficient video loader for deep learning with smart shuffling that's super easy to digest
파일 탐색기
최종 버전 다운로드 (.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
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/dmlc/decord
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd decord
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
pip install decord
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
sudo apt-get install -y build-essential python3-dev python3-setuptools make cmake
APT 패키지 저장소에서 바로 설치합니다 (Debian/Ubuntu 계열).
sudo apt-get install -y ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev
APT 패키지 저장소에서 바로 설치합니다 (Debian/Ubuntu 계열).
brew install cmake ffmpeg
Homebrew로 이미 빌드된 패키지를 바로 설치합니다. 소스 빌드가 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. CMake
보통사전 준비물
sudo apt-get install -y build-essential python3-dev python3-setuptools make cmake
APT 패키지 저장소에서 바로 설치합니다 (Debian/Ubuntu 계열).
cmake .. -DUSE_CUDA=0 -DCMAKE_BUILD_TYPE=Release
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
cmake .. -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
brew install cmake ffmpeg
Homebrew로 이미 빌드된 패키지를 바로 설치합니다. 소스 빌드가 필요 없습니다.
cmake .. -DCMAKE_BUILD_TYPE=Release
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
