Skip to content

[Bug] #3243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
xwjBupt opened this issue Feb 17, 2025 · 0 comments
Open
2 tasks done

[Bug] #3243

xwjBupt opened this issue Feb 17, 2025 · 0 comments

Comments

@xwjBupt
Copy link

xwjBupt commented Feb 17, 2025

Prerequisite

Environment

OrderedDict({'sys.platform': 'win32', 'Python': '3.12.8 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:48:34) [MSC v.1929 64 bit (AMD64)]', 'CUDA available': False, 'MUSA available': False, 'numpy_random_seed': np.uint32(2147483648), 'GCC': 'n/a', 'PyTorch': '2.6.0+cpu', 'PyTorch compiling details': 'PyTorch built with:\n - C++ Version: 201703\n - MSVC 192930157\n - Intel(R) oneAPI Math Kernel Library Version 2025.0.1-Product Build 20241031 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.5.3 (Git Hash 66f0cb9eb66affd2da3bf5f8d897376f04aae6af)\n - OpenMP 2019\n - LAPACK is enabled (usually provided by MKL)\n - CPU capability usage: AVX2\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=2236df1770800ffea5697b11b0bb0d910b2e59e1, CXX_COMPILER=C:/actions-runner/_work/pytorch/pytorch/pytorch/.ci/pytorch/windows/tmp_bin/sccache-cl.exe, CXX_FLAGS=/DWIN32 /D_WINDOWS /GR /EHsc /Zc:__cplusplus /bigobj /FS /utf-8 -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE /wd4624 /wd4068 /wd4067 /wd4267 /wd4661 /wd4717 /wd4244 /wd4804 /wd4273, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.6.0, USE_CUDA=0, USE_CUDNN=OFF, USE_CUSPARSELT=OFF, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=OFF, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, \n', 'TorchVision': '0.21.0+cpu', 'OpenCV': '4.11.0', 'MMEngine': '0.10.6', 'MMCV': '2.2.0', 'MMCV Compiler': 'n/a', 'MMCV CUDA Compiler': 'n/a'})

Reproduces the problem - code sample

def readvideo_mmcv(video_path):
try:
video_content = mmcv.VideoReader(video)
frame_count = len(video_content)
return frame_count, video_content.fps, video_content.width, video_content.height
except Exception as e:
return False, False, False, False

Reproduces the problem - command or script

def readvideo_mmcv(video_path):
try:
video_content = mmcv.VideoReader(video)
frame_count = len(video_content)
return frame_count, video_content.fps, video_content.width, video_content.height
except Exception as e:
return False, False, False, False

Reproduces the problem - error message

[ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1326 open Could not find decoder for codec_id=61
[ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1375 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture

Additional information

i can not read my video(download link:https://drive.google.com/file/d/1ZWXCmB11aupPAXasyd8XGzjsaBxjU2av/view?usp=sharing) and showing the above problem, what is the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant