Command

  • Install (deprecated after HomeBrew 2.x)
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265
  • List codecs
ffmpeg -codecs
  • List encoders
ffmpeg -encoders
  • Check specific decoder
ffmpeg -h decoder=aac
  • List formats
ffmpeg -formats
  • List input devices on OS X
ffmpeg -f avfoundation -list_devices true -i ""
  • Record webcam toMPGformat
ffmpeg -f avfoundation -i "0" -s 1280x720 -r 30 out.mpg
  • Start ffserver (Deprecated after 2018)
ffserver -f ffserver.conf
  • Record webcam and push to ffserver with 8090 port
ffmpeg -f avfoundation -i "0" http://localhost:8090/feed1.ffm
  • Play media with ffplay on debug mode
ffplay -v debug out.mpg
  • Record webcam and encode to playlist
ffmpeg -re -f avfoundation -i "0" -hls_list_size 5 -hls_allow_cache 0 -hls_segment_filename ./segments/live%03d.ts -hls_base_url segments/ live.m3u8
  • Print stream information
ffmpeg -hide_banner -i input.mp4
  • Print stream detail information
ffprobe -v quiet -print_format json -show_format -show_streams input.mp4

results matching ""

    No results matching ""