Swap to -p full. #2

Open
capta1nseal wants to merge 2 commits from capta1nseal/cc-stuff:master into master
1 changed files with 4 additions and 4 deletions
Showing only changes of commit fb0126547a - Show all commits

View File

@ -25,12 +25,12 @@ export ORIG="$(pwd)";
cd "${TMP_DIR}"
yt-dlp "${URL}" -o "${NAME}"
yt-dlp "${URL}" -S "+height:720" -f "b" -o "${NAME}"
ffmpeg -i $2.* -filter_complex "[0:a]channelsplit=channel_layout=stereo[left][right]" -map '[left]' -f s8 -ac 1 -ar 48k "${ORIG}/${NAME}/left.s8" -map '[right]' -f s8 -ac 1 -ar 48k "${ORIG}/${NAME}/right.s8"
ffmpeg -i $2* -filter_complex "[0:a]channelsplit=channel_layout=stereo[left][right]" -map '[left]' -f s8 -ac 1 -ar 48k "${ORIG}/${NAME}/left.s8" -map '[right]' -f s8 -ac 1 -ar 48k "${ORIG}/${NAME}/right.s8"
ffmpeg -i $2.* -vf fps=20 frame%04d.png
rm $2.*
ffmpeg -i $2* -vf fps=20 frame%04d.png
rm $2*
ls frame*.png | parallel 'echo {}; python3 ${ORIG}/cc-pic.py -W 164 -H 81 -p full {} ${ORIG}/${NAME}/{.}.cpi'
rm frame*.png