moviepy: test_PR_529 fails in debian sid - possibly ffmpeg 5.0

Greetings,

For information, there is an open Debian Bug#1004642 in which it has been noticed that MoviePy was failing its unit test with ffmpeg 5.0 (or some other change that might have appeared at the same time, but that sounds unlikely).

Expected Behavior

All unit tests should pass

Actual Behavior

The test_PR_529 fails with error:

|     def test_PR_529():
|         with VideoFileClip(SOURCE_PATH+"media/fire2.mp4") as video_clip:
| >           assert video_clip.rotation == 180
| E           assert 0 == 180
| E            +  where 0 = <moviepy.video.io.VideoFileClip.VideoFileClip object at 0x7ff9fd890880>.rotation

Steps to Reproduce the Problem

Run the test suite using:

python3.10 -m pytest tests

Specifications

  • Python Version: 3.10.5
  • Moviepy Version: 1.0.3
  • FFmpeg Version: 5.0.1
  • Platform Name: Debian
  • Platform Version: Sid

Thank you for your work on MoviePy!

Have a nice day, 😃
Étienne.

About this issue

Most upvoted comments

Please, don’t ping me again, thanks.