Skip to content
Snippets Groups Projects
Commit e5598326 authored by MJB's avatar MJB
Browse files

updates to errors in ffmpeg

parent e46bbbeb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment