capturing legacy code
This commit is contained in:
parent
2599791283
commit
9e02eeb5c9
0
CraigBot.txt
Normal file
0
CraigBot.txt
Normal file
0
YOuTubeUploader.txt
Normal file
0
YOuTubeUploader.txt
Normal file
11
audio-only.sh
Normal file
11
audio-only.sh
Normal 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
24
combineFiles.sh
Normal 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
9
convert-test1.sh
Normal 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
15
convert-yt.sh
Normal 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
output.mkv
Normal file
BIN
output.mkv
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user