FFmpeg: Difference between revisions

Created page with "Best by test. The original quasi-legal, hyperbroad, coldly efficient library for decoding, encoding, and munging digital media. ==Build options== * <tt>--enable-gpl</tt> forc..."
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
* <tt>--enable-gpl</tt> forces creation of GPL-only modules (including e.g. <i>delogo</i>). the resulting object is GPL-licensed.
* <tt>--enable-gpl</tt> forces creation of GPL-only modules (including e.g. <i>delogo</i>). the resulting object is GPL-licensed.
* <tt>--enable-nvenc</tt> forces use of [https://en.wikipedia.org/wiki/Nvidia_NVENC NVENC] (requires [https://github.com/FFmpeg/nv-codec-headers nv-codec-headers])
* <tt>--enable-nvenc</tt> forces use of [https://en.wikipedia.org/wiki/Nvidia_NVENC NVENC] (requires [https://github.com/FFmpeg/nv-codec-headers nv-codec-headers])
==Recipes==
===Remove audio===
<tt>ffmpeg -i INPUT -vcodec copy -an OUTPUT</tt>
===Extract N seconds starting at time T===
<tt>ffmpeg -i INPUT -c copy -ss T -t N OUTPUT</tt>
* T can be either a seconds count, or a timestamp i.e. 01:00:20.
===Combine input files===
<tt>ffmpeg -f concat -safe 0 -i INPUT -c copy OUTPUT</tt>
* INPUT ought be a newline-delimited set of files, each prefaced with "<tt>file </tt>".