Skip to content

Files

Latest commit

 

History

History

video

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Convert your camera video source files to HTML5 web video

Using Docker to use the latest FFMPEG

  • Convert input video file (input.MTS) in the current directory into an MP4
docker run -v $PWD:/temp/ jrottenberg/ffmpeg -stats -i /temp/input.MTS /temp/output.MP4
docker run -v $PWD:/temp/ jrottenberg/ffmpeg -stats -i /temp/input.MP4  -c copy -metadata:s:v:0 rotate=90 /temp/output.MP4
docker run -v $PWD:/temp/ jrottenberg/ffmpeg -stats -i /temp/input.MTS -ss 8 -t 7 /temp/output.MP4
docker run -v $PWD:/temp/ jrottenberg/ffmpeg -stats -i /temp/input.avi -pix_fmt yuv420p /temp/output.MP4
  • Remove audio track(s) with an flag
docker run -v $PWD:/temp/ jrottenberg/ffmpeg -stats -i /temp/input.mov -an /temp/output.MP4