For example, with the overlay filter, place an infinitely looping GIF over another video:

ffmpeg -i input.mp4 -ignore_loop 0 -i input.gif -filter_complex overlay=shortest=1 out.mkv
For example, with the overlay filter, place an infinitely looping GIF over another video:

ffmpeg -i input.mp4 -ignore_loop 0 -i input.gif -filter_complex overlay=shortest=1 out.mkv
This demuxer is used to demux FLV files and RTMP network streams. In case of live network streams, if you force format, you may use live_flv option instead of flv to survive timestamp discontinuities. KUX is a flv variant used on the Youku platform.

ffmpeg -f flv -i myfile.flv ...
ffmpeg -f live_flv -i rtmp://<any.server>/anything/key ....
For example, with the overlay filter, place an infinitely looping GIF over another video:

ffmpeg -i input.mp4 -ignore_loop 0 -i input.gif -filter_complex overlay=shortest=1 out.mkv
For example, with the overlay filter, place an infinitely looping GIF over another video:

ffmpeg -i input.mp4 -ignore_loop 0 -i input.gif -filter_complex overlay=shortest=1 out.mkv
This demuxer reads the script language used by SBaGen http://uazu.net/sbagen/ to generate binaural beats sessions. A SBG script looks like that:

-SE
a: 300-2.5/3 440+4.5/0
b: 300-2.5/0 440+4.5/3
off: -
NOW      == a
+0:07:00 == b
+0:14:00 == a
+0:21:00 == b
+0:30:00    off
Audible AAX files are encrypted M4B files, and they can be decrypted by specifying a 4 byte activation secret.

ffmpeg -activation_bytes 1CEB00DA -i test.aax -vn -c:a copy output.mp4
Corresponds to the name of the file being read.

ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv
Note that the pattern must not necessarily contain "%d" or "%0Nd", for example to convert a single image file img.jpeg you can employ the command:

ffmpeg -i img.jpeg img.png
Example: convert the captions to a format most players understand:

ffmpeg -i http://www.ted.com/talks/subtitles/id/1/lang/en talk1-en.srt
If set to 1, every packet will contain the lavf.concat.start_time and the lavf.concat.duration packet metadata values which are the start_time and the duration of the respective file segments in the concatenated output expressed in microseconds. The duration metadata is only set if it is known based on the concat file. The default is 0.

# my first filename
file /mnt/share/file-1.wav
# my second filename including whitespace
file '/mnt/share/file 2.wav'
# my third filename including whitespace plus single quote
file '/mnt/share/file 3'\''.wav'

Recommend

FFMPEG ffprobe Documentation 15 Demuxers 15.8 flv, live_flv, kux

FFMPEG ffprobe Documentation 15 Demuxers 15.5 concat 15.5.3 Examples

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.26 prores_metadata

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.25 pcm_rechunk

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.23 noise 13.23.1 Examples

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.22 mpeg4_unpack_bframes

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.17 mjpeg2jpeg

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.16 imxdump

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.15 hevc_mp4toannexb

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.12 h264_mp4toannexb

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.10 hapqa_extract

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.9 filter_units

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.5 dump_extra

FFMPEG ffprobe Documentation 13 Bitstream Filters

FFMPEG ffprobe Documentation 8 Codec Options

FFMPEG ffprobe Documentation 7 Expression Evaluation

FFMPEG ffprobe Documentation 6 Syntax 6.3 Time duration

FFMPEG ffprobe Documentation 6 Syntax 6.2 Date

FFMPEG ffprobe Documentation 6 Syntax 6.1 Quoting and escaping 6.1.1 Examples

FFMPEG ffprobe Documentation 4 Writers 4.2 compact, csv

FFMPEG ffprobe Documentation 4 Writers 4.1 default

FFMPEG ffprobe Documentation 3 Options 3.4 Main options

FFMPEG ffprobe Documentation 3 Options 3.3 AVOptions

FFMPEG ffprobe Documentation 3 Options 3.2 Generic options

FFMPEG FFmpeg FAQ 4 Development 4.8 I’m using FFmpeg from within my C application but the linker complains about missing symbols from the libraries themselves.

FFMPEG FFmpeg FAQ 3 Usage 3.19 How do I run ffmpeg as a background task?

FFMPEG FFmpeg FAQ 3 Usage 3.18 I have a stretched video, why does scaling does not fix it?

FFMPEG FFmpeg FAQ 3 Usage 3.15 Using -f lavfi, audio becomes mono for no apparent reason.

FFMPEG FFmpeg FAQ 3 Usage 3.14 How can I concatenate video files? 3.14.4 Concatenating using raw audio and video

FFMPEG FFmpeg FAQ 3 Usage 3.14 How can I concatenate video files? 3.14.3 Concatenating using the concat protocol (file level)

FFMPEG FFmpeg FAQ 3 Usage 3.12 How can I read DirectShow files?

FFMPEG FFmpeg FAQ 3 Usage 3.3 How do I encode movie to single pictures?

FFMPEG FFmpeg FAQ 3 Usage 3.2 How do I encode single pictures into movies?

FFMPEG FFmpeg FAQ 2 Compilation 2.4 How do I use pkg-config when cross-compiling?

FFMPEG FFmpeg FAQ 2 Compilation 2.3 How do I make pkg-config find my libraries?

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.43 zmq

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.42 unix

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp 3.41.1 Examples

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.40 tls

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.39 tcp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.38 tee

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.37 subfile

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.35 srt

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.34 sctp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.2 Demuxer

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.1 Muxer

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.32 rtsp 3.32.1 Examples

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.32 rtsp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.30 librtmp rtmp, rtmpe, rtmps, rtmpt, rtmpte