File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ FileType=${1:-"mp4"}
2222now=$( date +" %m_%d_%Y__%H%M" )
2323
2424# ---------------------------------------------------------------------------------------
25- echo -e " Removing Audio..."
25+ echo -e " \nRemoving Audio..."
2626cd 1.Do
2727for f in * .$FileType ; do
28+ echo -n ' *'
2829 ffmpeg -i $PWD /$f -vcodec copy -an ../2.NoAudio/$f 2>> ../logs/$now .log
2930done
3031ELAPSED_TIME=$(( $SECONDS - $START_TIME ))
31- echo -e " \t-Done in $(( $ELAPSED_TIME / 60 )) min $(( $ELAPSED_TIME % 60 )) sec\n\n"
32+ echo -e " \n\ t-Done in $(( $ELAPSED_TIME / 60 )) min $(( $ELAPSED_TIME % 60 )) sec\n\n"
3233START_TIME=$SECONDS
3334
3435
@@ -37,14 +38,14 @@ cd ../2.NoAudio/
3738
3839for f in * .$FileType ; do
3940 # for audio and Video
40- # ffmpeg -i $PWD/$f -r 75 -filter_complex "[0:v]setpts=0.5 *PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" ../3.fast /$f
41+ # ffmpeg -i $PWD/$f -r $NewFrameRate -filter_complex "[0:v]setpts=$speed *PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" ../3.Fast /$f 2>> ../logs/$now.log
4142
4243 # only for video:
43-
44+ echo -n ' * '
4445 ffmpeg -i $PWD /$f -r $NewFrameRate -filter:v " setpts=$speed *PTS" ../3.Fast/$f 2>> ../logs/$now .log
4546done
4647ELAPSED_TIME=$(( $SECONDS - $START_TIME ))
47- echo -e " \t-Done in $(( $ELAPSED_TIME / 60 )) min $(( $ELAPSED_TIME % 60 )) sec\n\n"
48+ echo -e " \n\ t-Done in $(( $ELAPSED_TIME / 60 )) min $(( $ELAPSED_TIME % 60 )) sec\n\n"
4849START_TIME=$SECONDS
4950
5051echo -e " Concatinate all..."
You can’t perform that action at this time.
0 commit comments