paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 214829eba11e1d5a6ec8804bcef4c211bd93aa37
parent 98a855da39ccf5b9e41d2f123f13694c00032358
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 29 Mar 2019 23:00:39 -0400

Switch order of conversion so 128 done last

Since the 128kbps MP3 takes the longest to convert, make this one
execute last and not in the background so that it is easier to see when
the conversions have all finished.

Diffstat:
Mpodcast-convert.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/podcast-convert.sh b/podcast-convert.sh @@ -14,9 +14,9 @@ echo "=================================" echo "Converting to mp4..." ffmpeg -hide_banner -loglevel panic -i $file -c copy $filename.mp4 & -echo "Converting to 128kbps mp3..." -ffmpeg -hide_banner -loglevel panic -i $file -vn -b:a 128k $filename-128.mp3 & echo "Converting to 64kbps mp3..." ffmpeg -hide_banner -loglevel panic -i $file -vn -b:a 64k $filename-64.mp3 & +echo "Converting to 128kbps mp3..." +ffmpeg -hide_banner -loglevel panic -i $file -vn -b:a 128k $filename-128.mp3 echo "Done" exit 0