Studio Preflight
בודק הקלטות פודקאסט מיד אחרי הצילום, כשעוד אפשר להקליט מחדש.
עובד אפשר להוריד אותו. למטה יש הרצה לדוגמה מהטרמינל.
הבעיה
הקלטות נכשלות בעריכה מסיבות שאפשר היה לראות מיד: קצב דגימה לא נכון, מיקרופון שמתעוות, ערוץ שהקליט שקט.
מה בניתי
כלי שורת פקודה שבודק כל קובץ אחרי הצילום, ואז מעתיק אותם עם שמות ברורים ובודק כל עותק.
- קצב דגימה, עיוות וערוצים שקטים
- עותקים בדוקים עם שמות ברורים
- לא משנה את קבצי המקור
יכולות ומגבלות
נבנה ונבדק
- check: sample rate (48 kHz), bit depth (24-bit preferred), clipping (peaks above -0.5 dBFS), silent tracks, camera and audio lengths within 2 seconds, one frame rate.
- ingest: copies into media/ with session names (cam1, audio1, audio2), verifies each copy by SHA-256, writes ingest_report.json.
- Dry run by default; sources are never changed; nothing is overwritten; re-running is safe.
- Several camera files are reported as a multi-camera session, clearly labeled as a proposed, untested mode.
מגבלות
- The single-camera path is the tested one; multi-camera sync is not checked.
- Tested on media generated with ffmpeg on Linux; not yet on real camera cards, macOS or Windows.
- Level checks read the first audio stream of each file; multi-channel recorders with one file per channel are fine, polyphonic files are checked on channel one only.
מתוכנן
Add multi-camera presets only after testing.
איך משתמשים
- Download and unzip.
- python3 studio_preflight.py check /path/to/CARD right after the shoot.
- Fix or re-record what fails, then ingest with --session and --out, first without --apply to see the plan.
- Keep ingest_report.json with the project.
איך זה עובד
- ffprobe for stream facts; ffmpeg's volumedetect for peak and mean levels.
- Copies are hashed with SHA-256 against their sources.
- Python standard library plus ffmpeg; no network.
גרסאות שנבדקו ומגבלות
- עבר Package: clean single-camera session passes; verified ingest; sources unchanged; safe re-run Linux, Python 3.13, ffmpeg 7
- עבר Package: catches 44.1 kHz, 16-bit, clipping, silence and a late start Linux, Python 3.13, ffmpeg 7
- עבר Package: dry run, multi-camera labeled untested, output inside the card refused Linux, Python 3.13, ffmpeg 7
- עבר Release: tests re-run from the unzipped archive, public scan clean Linux
נבדק לאחרונה: 2026-10-31.
מסלול המצלמה האחת נבדק על מדיה שנוצרה ב-Linux. מולטי-קאם הוא מצב מוצע, ולא נבדק. עוד לא נבדק על כרטיסים אמיתיים, ב-macOS או ב-Windows.
פרטים
- קלט
- Fictional podcast shoot
- פלט
- Capture checklist, file map and ingest report
- רץ ב
- Command line tool for macOS, Linux or Windows with Python 3.9+ and ffmpeg (tested on Linux).
- מקור
- מקורי, נבנה מחדש מאפס