2 exec >& /tmp/render_mux.log
3 echo == $0 cin_render="$CIN_RENDER"
4 test -z "$CIN_RENDER" && exit 1
5 # Render output mux-ed into a single file
6 ffmpeg -f concat -safe 0 -i <(for f in "$CIN_RENDER"0*; do echo "file '$f'"; done) -c copy -y $CIN_RENDER