Skip to content

Commit

Permalink
changed audio to little endian and added Home directory
Browse files Browse the repository at this point in the history
  • Loading branch information
CSchloss385 committed Feb 16, 2018
1 parent d364360 commit f0b92b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rewrapmxf
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ while [ "${*}" != "" ] ; do
SOURCEFILE="${1}"
unset FFMPEG_OPTS
FFMPEG_OPTS+=(-c:v copy)
FFMPEG_OPTS+=(-c:a copy)
FFMPEG_OPTS+=(-c:a pcm_s24le)
FFMPEG_OPTS+=(-map 0:v)
FFMPEG_OPTS+=(-map 0:a)
FFMPEG_OPTS+=(-metadata timecode='00:00:00;00')
EXTENSION="mxf"
OUTPUT_MOVIE="~/Desktop/$(basename "${SOURCEFILE%.*}").${EXTENSION}"
OUTPUT_MOVIE="${HOME}/Desktop/$(basename "${SOURCEFILE%.*}").${EXTENSION}"
if [ -f "${OUTPUT_MOVIE}" ] ; then
_report -wt "The intended output of $(basename "${0}") already exists. Skipping for now. Please delete ${OUTPUT_MOVIE} and rerun or figure out why you are trying to do this."
else
Expand Down

0 comments on commit f0b92b3

Please sign in to comment.