INFILE=movie
docker run -v $(pwd):/work ubuntu/ffmpeg cd /work; ffmpeg -i ${INFILE}.mp4 -vcodec libx264 -b:v 256k -acodec aac -strict experimental -ab 64k -ar 44100 -flags +loop-global_header -map 0 -bsf h264_mp4toannexb -f segment -segment_format mpegts -segment_time 10 -segment_list ${INFILE}.m3u8 ${INFILE}%04d.ts
docker build -t ubuntu/ffmpeg .
Content type
Image
Digest
sha256:d8b6bd6ab…
Size
141.2 MB
Last updated
almost 11 years ago
docker pull sakuma/ubuntu-ffmpeg