Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# -lt 2 ] ; then
- echo "Missing search path and/or output file"
- echo
- echo "You need to supply both a search_path and an output_name"
- echo "(in that exact order) to get a file output_name.mov"
- echo "containing a/v from all mts files found in search_path"
- exit 1
- fi
- nice -n 19 ffmpeg \
- -safe 0 \
- -f concat \
- -i <(find $(readlink -f $1) -type f -iname \*.MTS -exec echo file {} \; | sort) \
- -s 1920x1080 -r 25 \
- -vcodec dnxhd \
- -vf yadif \
- -acodec pcm_s16le \
- -b:v 185M \
- -threads 0 \
- $2.mov
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement