capturing legacy code

This commit is contained in:
Charles N Wyble 2024-04-27 14:15:32 -05:00
parent 2599791283
commit 9e02eeb5c9
8 changed files with 59 additions and 0 deletions

0
CraigBot.txt Normal file
View File

0
YOuTubeUploader.txt Normal file
View File

11
audio-only.sh Normal file
View File

@ -0,0 +1,11 @@
docker run --rm -it \
-v /var/www/show.turnsys.com/recordings:/config \
linuxserver/ffmpeg \
-i /config/$1 \
-vn -ar 44100 -ac 2 -ab 129k -f mp3 \
/config/PublishedAudio/output2.mp4
#ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 192k -f mp3 sound.mp3

24
combineFiles.sh Normal file
View File

@ -0,0 +1,24 @@
#!/bin/bash
set -euo pipefail
ShowTitle="TheProducerNeverSleeps"
RecordingsDir="/var/www/show.turnsys.com/recordings/TimeShifted/RawCapture"
echo "Building file list..."
rm -f $RecordingsDir/ToCombine-${ShowTitle}
for f in $RecordingsDir/$ShowTitle*.flv ; do echo "file '$f'" >> $RecordingsDir/ToCombine-${ShowTitle}; done
echo "Combining..."
docker run --rm -it \
-v $RecordingsDir:/config \
linuxserver/ffmpeg \
-f concat \
-err_detect ignore_err \
safe 0 -i /config/ToCombine-${ShowTitle} \
-c copy /config/CombinedOutput-${ShowTitle}.flv
#ffmpeg -f concat -safe 0 -i ToCombine.txt -c copy /var/www/show.turnsys.com/recordings/TimeShifted/RawCapture/output-TheProducerNeverSleeps.flv

9
convert-test1.sh Normal file
View File

@ -0,0 +1,9 @@
docker run --rm -it \
-v $(pwd):/config \
linuxserver/ffmpeg \
-i /config/input.flv \
-c:v libx264 \
-b:v 4M \
-vf scale=1280:720 \
-c:a copy \
/config/output.mp4

15
convert-yt.sh Normal file
View File

@ -0,0 +1,15 @@
docker run --rm -it \
-v $(pwd):/config \
linuxserver/ffmpeg \
-i /config/input.flv \
-c:v libx264 \
-vf scale=1280:720 \
-preset slow -crf 18 \
-c:a copy \
-pix_fmt yuv420p \
-c:a copy \
/config/output.mkv
#output.mkv
#-b:v 4M \

BIN
input.flv Normal file

Binary file not shown.

BIN
output.mkv Normal file

Binary file not shown.