From 3e62c78f8e0d0fee5d05240b04340226f6a57e99 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Sat, 17 Jan 2026 01:55:39 -0500 Subject: Change default to mp4 for embedding on github --- subtitle-podcast/README.md | 12 ++++++++++-- subtitle-podcast/indicted-me.jpg | Bin 0 -> 120913 bytes subtitle-podcast/indicted-me.mp3 | Bin 0 -> 59656 bytes subtitle-podcast/indicted-me.mp4 | Bin 0 -> 134775 bytes subtitle-podcast/sample.mkv | Bin 131714 -> 0 bytes subtitle-podcast/subtitle-podcast.ps1 | 2 +- 6 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 subtitle-podcast/indicted-me.jpg create mode 100644 subtitle-podcast/indicted-me.mp3 create mode 100755 subtitle-podcast/indicted-me.mp4 delete mode 100644 subtitle-podcast/sample.mkv (limited to 'subtitle-podcast') diff --git a/subtitle-podcast/README.md b/subtitle-podcast/README.md index 939b8c3..8f43b59 100644 --- a/subtitle-podcast/README.md +++ b/subtitle-podcast/README.md @@ -103,9 +103,18 @@ pods\ Only ".png" and ".jpg" extentions are allowed since I'm lazy. - ## Hacking +### Video format + +This script produces and mp4 file by default since it is decent for web embedding. If you want a different video output, just change line 45 + +```pwsh +$OutputVideo = "$Title.mp4" +``` + +### Accuracy + WhisperX is still fairly new and actively developed, so do not expect perfect transcription results. For example, you may find a number of proper names don't get transcribed well. Grunts, laughter, and other @@ -128,4 +137,3 @@ sure to include the backtick ` at the end) ```pwsh --initial_prompt "Names in this broadcast include: Mike Fernèz, Mr. McGuire" ` ``` - diff --git a/subtitle-podcast/indicted-me.jpg b/subtitle-podcast/indicted-me.jpg new file mode 100644 index 0000000..1937898 Binary files /dev/null and b/subtitle-podcast/indicted-me.jpg differ diff --git a/subtitle-podcast/indicted-me.mp3 b/subtitle-podcast/indicted-me.mp3 new file mode 100644 index 0000000..10416ae Binary files /dev/null and b/subtitle-podcast/indicted-me.mp3 differ diff --git a/subtitle-podcast/indicted-me.mp4 b/subtitle-podcast/indicted-me.mp4 new file mode 100755 index 0000000..df660a2 Binary files /dev/null and b/subtitle-podcast/indicted-me.mp4 differ diff --git a/subtitle-podcast/sample.mkv b/subtitle-podcast/sample.mkv deleted file mode 100644 index 26eb577..0000000 Binary files a/subtitle-podcast/sample.mkv and /dev/null differ diff --git a/subtitle-podcast/subtitle-podcast.ps1 b/subtitle-podcast/subtitle-podcast.ps1 index d50931c..68bb408 100644 --- a/subtitle-podcast/subtitle-podcast.ps1 +++ b/subtitle-podcast/subtitle-podcast.ps1 @@ -42,7 +42,7 @@ whisperx ` # ----------------------------- # Create subtitled video # ----------------------------- -$OutputVideo = "$Title.mkv" +$OutputVideo = "$Title.mp4" $Image = @() if (Test-Path "$Title.jpg") { -- cgit v1.2.3