aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2026-01-17 01:55:39 -0500
committermjfernez <mjf@mjfer.net>2026-01-17 01:55:39 -0500
commit3e62c78f8e0d0fee5d05240b04340226f6a57e99 (patch)
tree324846dbda63535f166155f483c435b8d2f1959a
parented545019a981790962caf8e83a8821a4f1a17667 (diff)
downloadscripts-n-tools-3e62c78f8e0d0fee5d05240b04340226f6a57e99.tar.gz
Change default to mp4 for embedding on github
-rw-r--r--subtitle-podcast/README.md12
-rw-r--r--subtitle-podcast/indicted-me.jpgbin0 -> 120913 bytes
-rw-r--r--subtitle-podcast/indicted-me.mp3bin0 -> 59656 bytes
-rwxr-xr-xsubtitle-podcast/indicted-me.mp4bin0 -> 134775 bytes
-rw-r--r--subtitle-podcast/sample.mkvbin131714 -> 0 bytes
-rw-r--r--subtitle-podcast/subtitle-podcast.ps12
6 files changed, 11 insertions, 3 deletions
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
--- /dev/null
+++ b/subtitle-podcast/indicted-me.jpg
Binary files differ
diff --git a/subtitle-podcast/indicted-me.mp3 b/subtitle-podcast/indicted-me.mp3
new file mode 100644
index 0000000..10416ae
--- /dev/null
+++ b/subtitle-podcast/indicted-me.mp3
Binary files differ
diff --git a/subtitle-podcast/indicted-me.mp4 b/subtitle-podcast/indicted-me.mp4
new file mode 100755
index 0000000..df660a2
--- /dev/null
+++ b/subtitle-podcast/indicted-me.mp4
Binary files differ
diff --git a/subtitle-podcast/sample.mkv b/subtitle-podcast/sample.mkv
deleted file mode 100644
index 26eb577..0000000
--- a/subtitle-podcast/sample.mkv
+++ /dev/null
Binary files 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") {