I'm using Mathematica 12.1 on windows 10 (Microsoft Windows [Version 10.0.16299.1686])
When going to the Help file about VideoPlay I tried the standard example and it crashes the Kernel.
For me it's easy to simulate I just use:
stream = VideoStream["ExampleData/Caminandes.mp4"]
Dynamic[stream["CurrentFrame"]]
VideoPlay[stream]
The errors I get:
When using another piece of code:
stream = VideoStream["ExampleData/bullfinch.mkv"]
Panel@Column[{
Dynamic[stream["CurrentFrame"]],
Slider[
Dynamic[QuantityMagnitude[stream["Position"],
"Seconds"], (stream["Position"] = #) &], {0,
QuantityMagnitude[stream["Duration"], "Seconds"]}],
Button[
Dynamic[If[stream["Status"] === "Playing", "Pause", "Play"]],
If[stream["Status"] === "Playing", VideoPause[stream],
VideoPlay[stream]]
]
}, Alignment -> Center]
I can scroll through the frames but pressing Play will result in the same errors. Using 1 or 2 monitors doesn't make a difference.
Any thoughts?