Swap to -p full. #2

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

View File

@ -31,7 +31,7 @@ ffmpeg -i $2.* -filter_complex "[0:a]channelsplit=channel_layout=stereo[left][ri
ffmpeg -i $2.* -vf fps=20 frame%04d.png ffmpeg -i $2.* -vf fps=20 frame%04d.png
rm $2.* rm $2.*
ls frame*.png | parallel 'echo {}; python3 ${ORIG}/cc-pic.py -W 164 -H 81 -p cover {} ${ORIG}/${NAME}/{.}.cpi' ls frame*.png | parallel 'echo {}; python3 ${ORIG}/cc-pic.py -W 164 -H 81 -p full {} ${ORIG}/${NAME}/{.}.cpi'
rm frame*.png rm frame*.png
cd "${ORIG}" cd "${ORIG}"
@ -39,4 +39,4 @@ cd "${ORIG}"
export FRAME_COUNT="$(ls ${NAME}/*.cpi | wc -l)"; export FRAME_COUNT="$(ls ${NAME}/*.cpi | wc -l)";
#'{"frame_time": 0.05,"frame_count": ${FRAME_COUNT},"video": "${BASE_URL}/${NAME}/frame%04d.cpi","audio": {"l": "${BASE_URL}/${NAME}/left.s8", "r": "${BASE_URL}/${NAME}/right.s8"}}' > "${NAME}/${NAME}.json" #'{"frame_time": 0.05,"frame_count": ${FRAME_COUNT},"video": "${BASE_URL}/${NAME}/frame%04d.cpi","audio": {"l": "${BASE_URL}/${NAME}/left.s8", "r": "${BASE_URL}/${NAME}/right.s8"}}' > "${NAME}/${NAME}.json"
printf '{"frame_time": 0.05, "frame_count": %d, "video": "%s", "audio": {"l": "%s", "r": "%s"}}\n' "${FRAME_COUNT}" "${BASE_URL}/${NAME}/frame%04d.cpi" "${BASE_URL}/${NAME}/left.s8" "${BASE_URL}/${NAME}/right.s8" > "${NAME}/${NAME}.json" printf '{"frame_time": 0.05, "frame_count": %d, "video": "%s", "audio": {"l": "%s", "r": "%s"}}\n' "${FRAME_COUNT}" "${BASE_URL}/${NAME}/frame%04d.cpi" "${BASE_URL}/${NAME}/left.s8" "${BASE_URL}/${NAME}/right.s8" > "${NAME}/${NAME}.json"