mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-11 13:14:25 +00:00
doc/ffmpeg: restore location of stray passage
Added in 88fc1438c6
, this passage was separated from its original
context over the years with unrelated entries sandwiched in between.
This commit is contained in:
parent
c52ced7ca2
commit
e8b46b2c73
@ -1659,6 +1659,22 @@ graph will be added to the output file automatically, so we can simply write
|
|||||||
ffmpeg -i video.mkv -i image.png -filter_complex 'overlay' out.mkv
|
ffmpeg -i video.mkv -i image.png -filter_complex 'overlay' out.mkv
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
As a special exception, you can use a bitmap subtitle stream as input: it
|
||||||
|
will be converted into a video with the same size as the largest video in
|
||||||
|
the file, or 720x576 if no video is present. Note that this is an
|
||||||
|
experimental and temporary solution. It will be removed once libavfilter has
|
||||||
|
proper support for subtitles.
|
||||||
|
|
||||||
|
For example, to hardcode subtitles on top of a DVB-T recording stored in
|
||||||
|
MPEG-TS format, delaying the subtitles by 1 second:
|
||||||
|
@example
|
||||||
|
ffmpeg -i input.ts -filter_complex \
|
||||||
|
'[#0x2ef] setpts=PTS+1/TB [sub] ; [#0x2d0] [sub] overlay' \
|
||||||
|
-sn -map '#0x2dc' output.mkv
|
||||||
|
@end example
|
||||||
|
(0x2d0, 0x2dc and 0x2ef are the MPEG-TS PIDs of respectively the video,
|
||||||
|
audio and subtitles streams; 0:0, 0:3 and 0:7 would have worked too)
|
||||||
|
|
||||||
To generate 5 seconds of pure red video using lavfi @code{color} source:
|
To generate 5 seconds of pure red video using lavfi @code{color} source:
|
||||||
@example
|
@example
|
||||||
ffmpeg -filter_complex 'color=c=red' -t 5 out.mkv
|
ffmpeg -filter_complex 'color=c=red' -t 5 out.mkv
|
||||||
@ -1773,22 +1789,6 @@ On by default, to explicitly disable it you need to specify
|
|||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
As a special exception, you can use a bitmap subtitle stream as input: it
|
|
||||||
will be converted into a video with the same size as the largest video in
|
|
||||||
the file, or 720x576 if no video is present. Note that this is an
|
|
||||||
experimental and temporary solution. It will be removed once libavfilter has
|
|
||||||
proper support for subtitles.
|
|
||||||
|
|
||||||
For example, to hardcode subtitles on top of a DVB-T recording stored in
|
|
||||||
MPEG-TS format, delaying the subtitles by 1 second:
|
|
||||||
@example
|
|
||||||
ffmpeg -i input.ts -filter_complex \
|
|
||||||
'[#0x2ef] setpts=PTS+1/TB [sub] ; [#0x2d0] [sub] overlay' \
|
|
||||||
-sn -map '#0x2dc' output.mkv
|
|
||||||
@end example
|
|
||||||
(0x2d0, 0x2dc and 0x2ef are the MPEG-TS PIDs of respectively the video,
|
|
||||||
audio and subtitles streams; 0:0, 0:3 and 0:7 would have worked too)
|
|
||||||
|
|
||||||
@section Preset files
|
@section Preset files
|
||||||
A preset file contains a sequence of @var{option}=@var{value} pairs,
|
A preset file contains a sequence of @var{option}=@var{value} pairs,
|
||||||
one for each line, specifying a sequence of options which would be
|
one for each line, specifying a sequence of options which would be
|
||||||
|
Loading…
Reference in New Issue
Block a user