**System Information**
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49
**Blender Version**
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-06-29 17:28, hash: `rB0ea282f74620`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
{F13248754}
```
import bpy
def my_handler(scene):
print("Frame count", bpy.data.images["RANDOM VIDEO IN BDATA"].frame_duration)
bpy.app.handlers.frame_change_pre.clear()
bpy.app.handlers.frame_change_pre.append(my_handler)
```
**Exact steps for others to reproduce the error**
Example file whit video
{F13248767}