diff options
Diffstat (limited to 'tools/merge_av')
-rw-r--r-- | tools/merge_av | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/merge_av b/tools/merge_av index 6b5bdaa..052a6c0 100644 --- a/tools/merge_av +++ b/tools/merge_av @@ -14,4 +14,7 @@ if [ -z "$2" ]; then exit 1 fi -ffmpeg -i $1 -i $2 -map 1:0 -map 0:0 -acodec copy -vcodec copy $NAME-new.$EXT 2> /dev/null +echo -n " * Merging new audio with video..." +mv $2 $NAME-old.$EXT +ffmpeg -i $1 -i $NAME-old.$EXT -map 1:0 -map 0:0 -acodec copy -vcodec copy $2 2> /dev/null +echo -e "OK!" |