diff options
| author | mjfernez <mjf@mjfer.net> | 2026-01-17 01:55:39 -0500 |
|---|---|---|
| committer | mjfernez <mjf@mjfer.net> | 2026-01-17 01:55:39 -0500 |
| commit | 3e62c78f8e0d0fee5d05240b04340226f6a57e99 (patch) | |
| tree | 324846dbda63535f166155f483c435b8d2f1959a | |
| parent | ed545019a981790962caf8e83a8821a4f1a17667 (diff) | |
| download | scripts-n-tools-3e62c78f8e0d0fee5d05240b04340226f6a57e99.tar.gz | |
Change default to mp4 for embedding on github
| -rw-r--r-- | subtitle-podcast/README.md | 12 | ||||
| -rw-r--r-- | subtitle-podcast/indicted-me.jpg | bin | 0 -> 120913 bytes | |||
| -rw-r--r-- | subtitle-podcast/indicted-me.mp3 | bin | 0 -> 59656 bytes | |||
| -rwxr-xr-x | subtitle-podcast/indicted-me.mp4 | bin | 0 -> 134775 bytes | |||
| -rw-r--r-- | subtitle-podcast/sample.mkv | bin | 131714 -> 0 bytes | |||
| -rw-r--r-- | subtitle-podcast/subtitle-podcast.ps1 | 2 |
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 Binary files differnew file mode 100644 index 0000000..1937898 --- /dev/null +++ b/subtitle-podcast/indicted-me.jpg diff --git a/subtitle-podcast/indicted-me.mp3 b/subtitle-podcast/indicted-me.mp3 Binary files differnew file mode 100644 index 0000000..10416ae --- /dev/null +++ b/subtitle-podcast/indicted-me.mp3 diff --git a/subtitle-podcast/indicted-me.mp4 b/subtitle-podcast/indicted-me.mp4 Binary files differnew file mode 100755 index 0000000..df660a2 --- /dev/null +++ b/subtitle-podcast/indicted-me.mp4 diff --git a/subtitle-podcast/sample.mkv b/subtitle-podcast/sample.mkv Binary files differdeleted file mode 100644 index 26eb577..0000000 --- a/subtitle-podcast/sample.mkv +++ /dev/null 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") { |
