Created
January 21, 2026 05:15
-
-
Save me-suzy/0b4204578bc8f1114af4e51c6f04ca31 to your computer and use it in GitHub Desktop.
vezi ce probema are video.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import json | |
| filepath = r"g:\De pus pe FTP 2\masina de spalat\VID_20260120_143332.mp4" | |
| cmd = ['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_streams', '-select_streams', 'v:0', filepath] | |
| result = subprocess.run(cmd, capture_output=True, text=True) | |
| print(result.stdout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment