Applications/ffmpeg

From HPC
Jump to: navigation , search

Application Details

  • Description: FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge.
  • Version: 3.0.2
  • Module: ffmpeg/3.0.2
  • Licence: GNU

Usage

Ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter. All the examples below will require you to load the ffmpeg module first.

Synopsis


ffmpeg [global_options] {[input_file_options] -i input_url} ... {[output_file_options] output_url} ... 

Usage Examples

  • To set the video bitrate of the output file to 64 kbit/s:
[username@login01 ~]$   ffmpeg -i input.avi -b:v 64k -bufsize 64k output.avi
  • To force the frame rate of the output file to 24 fps:
[username@login01 ~]$  ffmpeg -i input.avi -r 24 output.avi
  • To force the frame rate of the input file (valid for raw formats only) to 1 fps and the frame rate of the output file to 24 fps:
[username@login01 ~]$ ffmpeg -r 1 -i input.m2v -r 24 output.avi


Module

[username@login01 ~]$ module add ffmpeg/3.0.2


Further Information

Icon home.png