You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decoding av1.mkv on cpu: ok
Decoding h264.mkv on cpu: ok
Decoding av1.mkv on cuda: Error!
Traceback (most recent call last):
File "/tmp/ipykernel_2248132/3950552733.py", line 6, in <module>
torch_frame = decoder[0]
File "/shared/jupyter/.venv/lib/python3.10/site-packages/torchcodec/decoders/_video_decoder.py", line 169, in __getitem__
return self._getitem_int(int(key))
File "/shared/jupyter/.venv/lib/python3.10/site-packages/torchcodec/decoders/_video_decoder.py", line 141, in _getitem_int
frame_data, *_ = core.get_frame_at_index(
File "/shared/jupyter/.venv/lib/python3.10/site-packages/torch/_ops.py", line 716, in __call__
return self._op(*args, **kwargs)
RuntimeError: Expected format to be AV_PIX_FMT_CUDA, got yuv420p
Decoding h264.mkv on cuda: ok
Sanity check: confirm that av1 decoding works (on a RTX4090)
🐛 Describe the bug
Assertion triggered when trying to decode AV1 on cuda
I've added the videos in a zip file, in case you do not have access to an FFMPEG command that can produce them: videos.zip
Sanity check: confirm that av1 decoding works (on a RTX4090)
With HW accel
Without HW accel:
Versions
The text was updated successfully, but these errors were encountered: