Relative Content

Tag Archive for pythonffmpeg

Scalable video file integrity verification in python

I have directory with ~1 million video files nested under 100 sub-directories. I want to write a python script that verifies that these files are not corrupted, then delete the files that are corrupted. What’s the most efficient way of doing this? The machine it’s running has 64 cpu-cores.

python ffmpeg not decoding text from webcam video frame

I am trying to construct python script with ffmpeg command to capture a webcam, decode the text from the camera frame and stream the same through an RTSP stream. I am able to receive the streaming through the player, but text decoding is not happening with the following example code: Help is needed to understand the problem, whether it is a piping problem or any other mistake in the code.