History

doc/bitstream_filters: document dump_extra

Stefano Sabatini committed 13 years ago

Commit 34322ab1 parent b405f4e1 file · +26 −0Browse files

Unified · Split

doc/bitstream_filters.texi+26−0
@@ -32,6 +32,32 @@ Remove zero padding at the end of a packet. · 31 unmodified lines
32 32
33@section dump_extra33@section dump_extra
34 34
35Add extradata to the beginning of the filtered packets.
36
37The additional argument specifies which packets should be filtered.
38It accepts the values:
39@table @samp
40@item a
41add extradata to all key packets, but only if @var{local_header} is
42set in the @option{flags2} codec context field
43
44@item k
45add extradata to all key packets
46
47@item e
48add extradata to all packets
49@end table
50
51If not specified it is assumed @samp{k}.
52
53For example the following @command{ffmpeg} command forces a global
54header (thus disabling individual packet headers) in the H.264 packets
55generated by the @code{libx264} encoder, but corrects them by adding
56the header stored in extradata to the key packets:
57@example
58ffmpeg -i INPUT -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra out.ts
59@end example
60
35@section h264_mp4toannexb61@section h264_mp4toannexb
36 62
37Convert an H.264 bitstream from length prefixed mode to start code63Convert an H.264 bitstream from length prefixed mode to start code

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t