Difference between revisions of "Applications/ffmpeg"

From HPC
Jump to: navigation , search
m
m (Next Steps)
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
*Licence: GNU
 
*Licence: GNU
  
==Usage Examples==
+
==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.
+
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===
 +
 
 +
<pre style="background-color: #f5f5dc; color: black; font-family: monospace, sans-serif;">
 +
 
 +
ffmpeg [global_options] {[input_file_options] -i input_url} ... {[output_file_options] output_url} ...
 +
 
 +
</pre>
 +
 
 +
===Usage Examples===
  
 
* To set the video bitrate of the output file to 64 kbit/s:  
 
* To set the video bitrate of the output file to 64 kbit/s:  
Line 35: Line 45:
  
  
==Further Information==
+
==Next Steps==
 +
 
 +
* [https://ffmpeg.org/ https://ffmpeg.org/]
  
[https://ffmpeg.org/ https://ffmpeg.org/]
+
{{Modulepagenav}}

Latest revision as of 10:42, 16 November 2022

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


Next Steps





Modules | Main Page | Further Topics