diff --git a/test/services/ffmpeg/install-ffmpeg.sh b/test/services/ffmpeg/install-ffmpeg.sh index b6e755f7c858aa00bae2178ac5cb5a81482d72e6..058f4bcff342bab0dd7a21ee559d3a727d83ada9 100644 --- a/test/services/ffmpeg/install-ffmpeg.sh +++ b/test/services/ffmpeg/install-ffmpeg.sh @@ -6,7 +6,9 @@ apt-get -y install zip python wget http://zebulon.bok.net/Bento4/binaries/Bento4-SDK-1-5-1-621.x86_64-unknown-linux.zip unzip Bento4-SDK-1-5-1-621.x86_64-unknown-linux.zip +mv Bento4-SDK-1-5-1-621.x86_64-unknown-linux /opt/ + sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -sudo apt-get update && sudo apt install ffmpeg libav-tools x264 x265 +sudo apt-get update && sudo apt -y install ffmpeg libav-tools x264 x265 ffmpeg -version diff --git a/test/services/ffmpeg/transcode.sh b/test/services/ffmpeg/transcode.sh index 48d3d9e1e9e9faab93793d04dfbd7c9887dcbc43..929952eb412af872b939ed201be6c0fdd0771f42 100644 --- a/test/services/ffmpeg/transcode.sh +++ b/test/services/ffmpeg/transcode.sh @@ -20,10 +20,10 @@ rm -rf output ffmpeg -y -i $INPUT -profile:v baseline -level 3.0 -c:a aac -ac 2 -ab 128k -c:v libx264 -x264opts 'keyint=24:min-keyint=24:no-scenecut' -b:v 400k -maxrate 400k -bufsize 1000k -vf "scale=-1:360" -strict experimental $OUTPUT_iFRAMES # fragment MP4 -/home/ubuntu/Bento4-SDK-1-5-1-621.x86_64-unknown-linux/bin/mp4fragment --timescale 1000 $OUTPUT_iFRAMES $OUTPUT_FRAGMENTED +/opt/Bento4-SDK-1-5-1-621.x86_64-unknown-linux/bin/mp4fragment --timescale 1000 $OUTPUT_iFRAMES $OUTPUT_FRAGMENTED # Option 1 with Bento4 -/home/ubuntu/Bento4-SDK-1-5-1-621.x86_64-unknown-linux/bin/mp4dash --mpd-name=stream.mpd --use-segment-list --use-compat-namespace $OUTPUT_FRAGMENTED +/opt/Bento4-SDK-1-5-1-621.x86_64-unknown-linux/bin/mp4dash --mpd-name=stream.mpd --use-segment-list --use-compat-namespace $OUTPUT_FRAGMENTED # not sure what this is for mv output/audio/en/mp4a/* output/audio/en