Skip to content
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

pyav 14 breaks unit-tests #8775

Closed
NicolasHug opened this issue Dec 2, 2024 · 0 comments · Fixed by #8776
Closed

pyav 14 breaks unit-tests #8775

NicolasHug opened this issue Dec 2, 2024 · 0 comments · Fixed by #8776

Comments

@NicolasHug
Copy link
Member

NicolasHug commented Dec 2, 2024

pyav 14 was released a few hours ago an CI is red in tests that call write_video():

2024-12-02T11:14:31.5009348Z �[1m�[31mtest/datasets_utils.py�[0m:890: in create_video_file
2024-12-02T11:14:31.5009849Z     torchvision.io.write_video(str(file), video.permute(0, 2, 3, 1), fps, **kwargs)
2024-12-02T11:14:31.5010416Z �[1m�[31mtorchvision/io/video.py�[0m:158: in write_video
2024-12-02T11:14:31.5010777Z     frame.pict_type = "NONE"
2024-12-02T11:14:31.5011269Z �[1m�[31mav/video/frame.pyx�[0m:193: in av.video.frame.VideoFrame.pict_type.__set__
2024-12-02T11:14:31.5011714Z     ???
2024-12-02T11:14:31.5012017Z �[1m�[31mE   TypeError: an integer is required�[0m

https://github.com/pytorch/vision/actions/runs/12117806658/job/33780993942?pr=8601

The change probably comes from this PR PyAV-Org/PyAV@caaddbf

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

Successfully merging a pull request may close this issue.

1 participant