1FFMPEG-BITSTREAM-FILTERS(1) FFMPEG-BITSTREAM-FILTERS(1)
2
3
4
6 ffmpeg-bitstream-filters - FFmpeg bitstream filters
7
9 This document describes the bitstream filters provided by the
10 libavcodec library.
11
12 A bitstream filter operates on the encoded stream data, and performs
13 bitstream level modifications without performing decoding.
14
16 When you configure your FFmpeg build, all the supported bitstream
17 filters are enabled by default. You can list all available ones using
18 the configure option "--list-bsfs".
19
20 You can disable all the bitstream filters using the configure option
21 "--disable-bsfs", and selectively enable any bitstream filter using the
22 option "--enable-bsf=BSF", or you can disable a particular bitstream
23 filter using the option "--disable-bsf=BSF".
24
25 The option "-bsfs" of the ff* tools will display the list of all the
26 supported bitstream filters included in your build.
27
28 The ff* tools have a -bsf option applied per stream, taking a comma-
29 separated list of filters, whose parameters follow the filter name
30 after a '='.
31
32 ffmpeg -i INPUT -c:v copy -bsf:v filter1[=opt1=str1:opt2=str2][,filter2] OUTPUT
33
34 Below is a description of the currently available bitstream filters,
35 with their parameters, if any.
36
37 aac_adtstoasc
38 Convert MPEG-2/4 AAC ADTS to an MPEG-4 Audio Specific Configuration
39 bitstream.
40
41 This filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS
42 header and removes the ADTS header.
43
44 This filter is required for example when copying an AAC stream from a
45 raw ADTS AAC or an MPEG-TS container to MP4A-LATM, to an FLV file, or
46 to MOV/MP4 files and related formats such as 3GP or M4A. Please note
47 that it is auto-inserted for MP4A-LATM and MOV/MP4 and related formats.
48
49 av1_metadata
50 Modify metadata embedded in an AV1 stream.
51
52 td Insert or remove temporal delimiter OBUs in all temporal units of
53 the stream.
54
55 insert
56 Insert a TD at the beginning of every TU which does not already
57 have one.
58
59 remove
60 Remove the TD from the beginning of every TU which has one.
61
62 color_primaries
63 transfer_characteristics
64 matrix_coefficients
65 Set the color description fields in the stream (see AV1 section
66 6.4.2).
67
68 color_range
69 Set the color range in the stream (see AV1 section 6.4.2; note that
70 this cannot be set for streams using BT.709 primaries, sRGB
71 transfer characteristic and identity (RGB) matrix coefficients).
72
73 tv Limited range.
74
75 pc Full range.
76
77 chroma_sample_position
78 Set the chroma sample location in the stream (see AV1 section
79 6.4.2). This can only be set for 4:2:0 streams.
80
81 vertical
82 Left position (matching the default in MPEG-2 and H.264).
83
84 colocated
85 Top-left position.
86
87 tick_rate
88 Set the tick rate (time_scale / num_units_in_display_tick) in the
89 timing info in the sequence header.
90
91 num_ticks_per_picture
92 Set the number of ticks in each picture, to indicate that the
93 stream has a fixed framerate. Ignored if tick_rate is not also
94 set.
95
96 delete_padding
97 Deletes Padding OBUs.
98
99 chomp
100 Remove zero padding at the end of a packet.
101
102 dca_core
103 Extract the core from a DCA/DTS stream, dropping extensions such as
104 DTS-HD.
105
106 dump_extra
107 Add extradata to the beginning of the filtered packets except when said
108 packets already exactly begin with the extradata that is intended to be
109 added.
110
111 freq
112 The additional argument specifies which packets should be filtered.
113 It accepts the values:
114
115 k
116 keyframe
117 add extradata to all key packets
118
119 e
120 all add extradata to all packets
121
122 If not specified it is assumed k.
123
124 For example the following ffmpeg command forces a global header (thus
125 disabling individual packet headers) in the H.264 packets generated by
126 the "libx264" encoder, but corrects them by adding the header stored in
127 extradata to the key packets:
128
129 ffmpeg -i INPUT -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra out.ts
130
131 dv_error_marker
132 Blocks in DV which are marked as damaged are replaced by blocks of the
133 specified color.
134
135 color
136 The color to replace damaged blocks by
137
138 sta A 16 bit mask which specifies which of the 16 possible error status
139 values are to be replaced by colored blocks. 0xFFFE is the default
140 which replaces all non 0 error status values.
141
142 ok No error, no concealment
143
144 err Error, No concealment
145
146 res Reserved
147
148 notok
149 Error or concealment
150
151 notres
152 Not reserved
153
154 Aa, Ba, Ca, Ab, Bb, Cb, A, B, C, a, b, erri, erru
155 The specific error status code
156
157 see page 44-46 or section 5.5 of
158 <http://web.archive.org/web/20060927044735/http://www.smpte.org/smpte_store/standards/pdf/s314m.pdf>
159
160 eac3_core
161 Extract the core from a E-AC-3 stream, dropping extra channels.
162
163 extract_extradata
164 Extract the in-band extradata.
165
166 Certain codecs allow the long-term headers (e.g. MPEG-2 sequence
167 headers, or H.264/HEVC (VPS/)SPS/PPS) to be transmitted either "in-
168 band" (i.e. as a part of the bitstream containing the coded frames) or
169 "out of band" (e.g. on the container level). This latter form is called
170 "extradata" in FFmpeg terminology.
171
172 This bitstream filter detects the in-band headers and makes them
173 available as extradata.
174
175 remove
176 When this option is enabled, the long-term headers are removed from
177 the bitstream after extraction.
178
179 filter_units
180 Remove units with types in or not in a given set from the stream.
181
182 pass_types
183 List of unit types or ranges of unit types to pass through while
184 removing all others. This is specified as a '|'-separated list of
185 unit type values or ranges of values with '-'.
186
187 remove_types
188 Identical to pass_types, except the units in the given set removed
189 and all others passed through.
190
191 Extradata is unchanged by this transformation, but note that if the
192 stream contains inline parameter sets then the output may be unusable
193 if they are removed.
194
195 For example, to remove all non-VCL NAL units from an H.264 stream:
196
197 ffmpeg -i INPUT -c:v copy -bsf:v 'filter_units=pass_types=1-5' OUTPUT
198
199 To remove all AUDs, SEI and filler from an H.265 stream:
200
201 ffmpeg -i INPUT -c:v copy -bsf:v 'filter_units=remove_types=35|38-40' OUTPUT
202
203 hapqa_extract
204 Extract Rgb or Alpha part of an HAPQA file, without recompression, in
205 order to create an HAPQ or an HAPAlphaOnly file.
206
207 texture
208 Specifies the texture to keep.
209
210 color
211 alpha
212
213 Convert HAPQA to HAPQ
214
215 ffmpeg -i hapqa_inputfile.mov -c copy -bsf:v hapqa_extract=texture=color -tag:v HapY -metadata:s:v:0 encoder="HAPQ" hapq_file.mov
216
217 Convert HAPQA to HAPAlphaOnly
218
219 ffmpeg -i hapqa_inputfile.mov -c copy -bsf:v hapqa_extract=texture=alpha -tag:v HapA -metadata:s:v:0 encoder="HAPAlpha Only" hapalphaonly_file.mov
220
221 h264_metadata
222 Modify metadata embedded in an H.264 stream.
223
224 aud Insert or remove AUD NAL units in all access units of the stream.
225
226 pass
227 insert
228 remove
229
230 Default is pass.
231
232 sample_aspect_ratio
233 Set the sample aspect ratio of the stream in the VUI parameters.
234 See H.264 table E-1.
235
236 overscan_appropriate_flag
237 Set whether the stream is suitable for display using overscan or
238 not (see H.264 section E.2.1).
239
240 video_format
241 video_full_range_flag
242 Set the video format in the stream (see H.264 section E.2.1 and
243 table E-2).
244
245 colour_primaries
246 transfer_characteristics
247 matrix_coefficients
248 Set the colour description in the stream (see H.264 section E.2.1
249 and tables E-3, E-4 and E-5).
250
251 chroma_sample_loc_type
252 Set the chroma sample location in the stream (see H.264 section
253 E.2.1 and figure E-1).
254
255 tick_rate
256 Set the tick rate (time_scale / num_units_in_tick) in the VUI
257 parameters. This is the smallest time unit representable in the
258 stream, and in many cases represents the field rate of the stream
259 (double the frame rate).
260
261 fixed_frame_rate_flag
262 Set whether the stream has fixed framerate - typically this
263 indicates that the framerate is exactly half the tick rate, but the
264 exact meaning is dependent on interlacing and the picture structure
265 (see H.264 section E.2.1 and table E-6).
266
267 zero_new_constraint_set_flags
268 Zero constraint_set4_flag and constraint_set5_flag in the SPS.
269 These bits were reserved in a previous version of the H.264 spec,
270 and thus some hardware decoders require these to be zero. The
271 result of zeroing this is still a valid bitstream.
272
273 crop_left
274 crop_right
275 crop_top
276 crop_bottom
277 Set the frame cropping offsets in the SPS. These values will
278 replace the current ones if the stream is already cropped.
279
280 These fields are set in pixels. Note that some sizes may not be
281 representable if the chroma is subsampled or the stream is
282 interlaced (see H.264 section 7.4.2.1.1).
283
284 sei_user_data
285 Insert a string as SEI unregistered user data. The argument must
286 be of the form UUID+string, where the UUID is as hex digits
287 possibly separated by hyphens, and the string can be anything.
288
289 For example, 086f3693-b7b3-4f2c-9653-21492feee5b8+hello will insert
290 the string ``hello'' associated with the given UUID.
291
292 delete_filler
293 Deletes both filler NAL units and filler SEI messages.
294
295 display_orientation
296 Insert, extract or remove Display orientation SEI messages. See
297 H.264 section D.1.27 and D.2.27 for syntax and semantics.
298
299 pass
300 insert
301 remove
302 extract
303
304 Default is pass.
305
306 Insert mode works in conjunction with "rotate" and "flip" options.
307 Any pre-existing Display orientation messages will be removed in
308 insert or remove mode. Extract mode attaches the display matrix to
309 the packet as side data.
310
311 rotate
312 Set rotation in display orientation SEI (anticlockwise angle in
313 degrees). Range is -360 to +360. Default is NaN.
314
315 flip
316 Set flip in display orientation SEI.
317
318 horizontal
319 vertical
320
321 Default is unset.
322
323 level
324 Set the level in the SPS. Refer to H.264 section A.3 and tables
325 A-1 to A-5.
326
327 The argument must be the name of a level (for example, 4.2), a
328 level_idc value (for example, 42), or the special name auto
329 indicating that the filter should attempt to guess the level from
330 the input stream properties.
331
332 h264_mp4toannexb
333 Convert an H.264 bitstream from length prefixed mode to start code
334 prefixed mode (as defined in the Annex B of the ITU-T H.264
335 specification).
336
337 This is required by some streaming formats, typically the MPEG-2
338 transport stream format (muxer "mpegts").
339
340 For example to remux an MP4 file containing an H.264 stream to mpegts
341 format with ffmpeg, you can use the command:
342
343 ffmpeg -i INPUT.mp4 -codec copy -bsf:v h264_mp4toannexb OUTPUT.ts
344
345 Please note that this filter is auto-inserted for MPEG-TS (muxer
346 "mpegts") and raw H.264 (muxer "h264") output formats.
347
348 h264_redundant_pps
349 This applies a specific fixup to some Blu-ray streams which contain
350 redundant PPSs modifying irrelevant parameters of the stream which
351 confuse other transformations which require correct extradata.
352
353 A new single global PPS is created, and all of the redundant PPSs
354 within the stream are removed.
355
356 hevc_metadata
357 Modify metadata embedded in an HEVC stream.
358
359 aud Insert or remove AUD NAL units in all access units of the stream.
360
361 insert
362 remove
363 sample_aspect_ratio
364 Set the sample aspect ratio in the stream in the VUI parameters.
365
366 video_format
367 video_full_range_flag
368 Set the video format in the stream (see H.265 section E.3.1 and
369 table E.2).
370
371 colour_primaries
372 transfer_characteristics
373 matrix_coefficients
374 Set the colour description in the stream (see H.265 section E.3.1
375 and tables E.3, E.4 and E.5).
376
377 chroma_sample_loc_type
378 Set the chroma sample location in the stream (see H.265 section
379 E.3.1 and figure E.1).
380
381 tick_rate
382 Set the tick rate in the VPS and VUI parameters (time_scale /
383 num_units_in_tick). Combined with num_ticks_poc_diff_one, this can
384 set a constant framerate in the stream. Note that it is likely to
385 be overridden by container parameters when the stream is in a
386 container.
387
388 num_ticks_poc_diff_one
389 Set poc_proportional_to_timing_flag in VPS and VUI and use this
390 value to set num_ticks_poc_diff_one_minus1 (see H.265 sections
391 7.4.3.1 and E.3.1). Ignored if tick_rate is not also set.
392
393 crop_left
394 crop_right
395 crop_top
396 crop_bottom
397 Set the conformance window cropping offsets in the SPS. These
398 values will replace the current ones if the stream is already
399 cropped.
400
401 These fields are set in pixels. Note that some sizes may not be
402 representable if the chroma is subsampled (H.265 section
403 7.4.3.2.1).
404
405 level
406 Set the level in the VPS and SPS. See H.265 section A.4 and tables
407 A.6 and A.7.
408
409 The argument must be the name of a level (for example, 5.1), a
410 general_level_idc value (for example, 153 for level 5.1), or the
411 special name auto indicating that the filter should attempt to
412 guess the level from the input stream properties.
413
414 hevc_mp4toannexb
415 Convert an HEVC/H.265 bitstream from length prefixed mode to start code
416 prefixed mode (as defined in the Annex B of the ITU-T H.265
417 specification).
418
419 This is required by some streaming formats, typically the MPEG-2
420 transport stream format (muxer "mpegts").
421
422 For example to remux an MP4 file containing an HEVC stream to mpegts
423 format with ffmpeg, you can use the command:
424
425 ffmpeg -i INPUT.mp4 -codec copy -bsf:v hevc_mp4toannexb OUTPUT.ts
426
427 Please note that this filter is auto-inserted for MPEG-TS (muxer
428 "mpegts") and raw HEVC/H.265 (muxer "h265" or "hevc") output formats.
429
430 imxdump
431 Modifies the bitstream to fit in MOV and to be usable by the Final Cut
432 Pro decoder. This filter only applies to the mpeg2video codec, and is
433 likely not needed for Final Cut Pro 7 and newer with the appropriate
434 -tag:v.
435
436 For example, to remux 30 MB/sec NTSC IMX to MOV:
437
438 ffmpeg -i input.mxf -c copy -bsf:v imxdump -tag:v mx3n output.mov
439
440 mjpeg2jpeg
441 Convert MJPEG/AVI1 packets to full JPEG/JFIF packets.
442
443 MJPEG is a video codec wherein each video frame is essentially a JPEG
444 image. The individual frames can be extracted without loss, e.g. by
445
446 ffmpeg -i ../some_mjpeg.avi -c:v copy frames_%d.jpg
447
448 Unfortunately, these chunks are incomplete JPEG images, because they
449 lack the DHT segment required for decoding. Quoting from
450 <http://www.digitalpreservation.gov/formats/fdd/fdd000063.shtml>:
451
452 Avery Lee, writing in the rec.video.desktop newsgroup in 2001,
453 commented that "MJPEG, or at least the MJPEG in AVIs having the MJPG
454 fourcc, is restricted JPEG with a fixed -- and *omitted* -- Huffman
455 table. The JPEG must be YCbCr colorspace, it must be 4:2:2, and it must
456 use basic Huffman encoding, not arithmetic or progressive. . . . You
457 can indeed extract the MJPEG frames and decode them with a regular JPEG
458 decoder, but you have to prepend the DHT segment to them, or else the
459 decoder won't have any idea how to decompress the data. The exact table
460 necessary is given in the OpenDML spec."
461
462 This bitstream filter patches the header of frames extracted from an
463 MJPEG stream (carrying the AVI1 header ID and lacking a DHT segment) to
464 produce fully qualified JPEG images.
465
466 ffmpeg -i mjpeg-movie.avi -c:v copy -bsf:v mjpeg2jpeg frame_%d.jpg
467 exiftran -i -9 frame*.jpg
468 ffmpeg -i frame_%d.jpg -c:v copy rotated.avi
469
470 mjpegadump
471 Add an MJPEG A header to the bitstream, to enable decoding by
472 Quicktime.
473
474 mov2textsub
475 Extract a representable text file from MOV subtitles, stripping the
476 metadata header from each subtitle packet.
477
478 See also the text2movsub filter.
479
480 mp3decomp
481 Decompress non-standard compressed MP3 audio headers.
482
483 mpeg2_metadata
484 Modify metadata embedded in an MPEG-2 stream.
485
486 display_aspect_ratio
487 Set the display aspect ratio in the stream.
488
489 The following fixed values are supported:
490
491 4/3
492 16/9
493 221/100
494
495 Any other value will result in square pixels being signalled
496 instead (see H.262 section 6.3.3 and table 6-3).
497
498 frame_rate
499 Set the frame rate in the stream. This is constructed from a table
500 of known values combined with a small multiplier and divisor - if
501 the supplied value is not exactly representable, the nearest
502 representable value will be used instead (see H.262 section 6.3.3
503 and table 6-4).
504
505 video_format
506 Set the video format in the stream (see H.262 section 6.3.6 and
507 table 6-6).
508
509 colour_primaries
510 transfer_characteristics
511 matrix_coefficients
512 Set the colour description in the stream (see H.262 section 6.3.6
513 and tables 6-7, 6-8 and 6-9).
514
515 mpeg4_unpack_bframes
516 Unpack DivX-style packed B-frames.
517
518 DivX-style packed B-frames are not valid MPEG-4 and were only a
519 workaround for the broken Video for Windows subsystem. They use more
520 space, can cause minor AV sync issues, require more CPU power to decode
521 (unless the player has some decoded picture queue to compensate the
522 2,0,2,0 frame per packet style) and cause trouble if copied into a
523 standard container like mp4 or mpeg-ps/ts, because MPEG-4 decoders may
524 not be able to decode them, since they are not valid MPEG-4.
525
526 For example to fix an AVI file containing an MPEG-4 stream with DivX-
527 style packed B-frames using ffmpeg, you can use the command:
528
529 ffmpeg -i INPUT.avi -codec copy -bsf:v mpeg4_unpack_bframes OUTPUT.avi
530
531 noise
532 Damages the contents of packets or simply drops them without damaging
533 the container. Can be used for fuzzing or testing error
534 resilience/concealment.
535
536 Parameters:
537
538 amount
539 Accepts an expression whose evaluation per-packet determines how
540 often bytes in that packet will be modified. A value below 0 will
541 result in a variable frequency. Default is 0 which results in no
542 modification. However, if neither amount nor drop is specified,
543 amount will be set to -1. See below for accepted variables.
544
545 drop
546 Accepts an expression evaluated per-packet whose value determines
547 whether that packet is dropped. Evaluation to a positive value
548 results in the packet being dropped. Evaluation to a negative value
549 results in a variable chance of it being dropped, roughly inverse
550 in proportion to the magnitude of the value. Default is 0 which
551 results in no drops. See below for accepted variables.
552
553 dropamount
554 Accepts a non-negative integer, which assigns a variable chance of
555 it being dropped, roughly inverse in proportion to the value.
556 Default is 0 which results in no drops. This option is kept for
557 backwards compatibility and is equivalent to setting drop to a
558 negative value with the same magnitude i.e. "dropamount=4" is the
559 same as "drop=-4". Ignored if drop is also specified.
560
561 Both "amount" and "drop" accept expressions containing the following
562 variables:
563
564 n The index of the packet, starting from zero.
565
566 tb The timebase for packet timestamps.
567
568 pts Packet presentation timestamp.
569
570 dts Packet decoding timestamp.
571
572 nopts
573 Constant representing AV_NOPTS_VALUE.
574
575 startpts
576 First non-AV_NOPTS_VALUE PTS seen in the stream.
577
578 startdts
579 First non-AV_NOPTS_VALUE DTS seen in the stream.
580
581 duration
582 d Packet duration, in timebase units.
583
584 pos Packet position in input; may be -1 when unknown or not set.
585
586 size
587 Packet size, in bytes.
588
589 key Whether packet is marked as a keyframe.
590
591 state
592 A pseudo random integer, primarily derived from the content of
593 packet payload.
594
595 Examples
596
597 Apply modification to every byte but don't drop any packets.
598
599 ffmpeg -i INPUT -c copy -bsf noise=1 output.mkv
600
601 Drop every video packet not marked as a keyframe after timestamp 30s
602 but do not modify any of the remaining packets.
603
604 ffmpeg -i INPUT -c copy -bsf:v noise=drop='gt(t\,30)*not(key)' output.mkv
605
606 Drop one second of audio every 10 seconds and add some random noise to
607 the rest.
608
609 ffmpeg -i INPUT -c copy -bsf:a noise=amount=-1:drop='between(mod(t\,10)\,9\,10)' output.mkv
610
611 null
612 This bitstream filter passes the packets through unchanged.
613
614 pcm_rechunk
615 Repacketize PCM audio to a fixed number of samples per packet or a
616 fixed packet rate per second. This is similar to the asetnsamples audio
617 filter but works on audio packets instead of audio frames.
618
619 nb_out_samples, n
620 Set the number of samples per each output audio packet. The number
621 is intended as the number of samples per each channel. Default
622 value is 1024.
623
624 pad, p
625 If set to 1, the filter will pad the last audio packet with
626 silence, so that it will contain the same number of samples (or
627 roughly the same number of samples, see frame_rate) as the previous
628 ones. Default value is 1.
629
630 frame_rate, r
631 This option makes the filter output a fixed number of packets per
632 second instead of a fixed number of samples per packet. If the
633 audio sample rate is not divisible by the frame rate then the
634 number of samples will not be constant but will vary slightly so
635 that each packet will start as close to the frame boundary as
636 possible. Using this option has precedence over nb_out_samples.
637
638 You can generate the well known 1602-1601-1602-1601-1602 pattern of
639 48kHz audio for NTSC frame rate using the frame_rate option.
640
641 ffmpeg -f lavfi -i sine=r=48000:d=1 -c pcm_s16le -bsf pcm_rechunk=r=30000/1001 -f framecrc -
642
643 pgs_frame_merge
644 Merge a sequence of PGS Subtitle segments ending with an "end of
645 display set" segment into a single packet.
646
647 This is required by some containers that support PGS subtitles (muxer
648 "matroska").
649
650 prores_metadata
651 Modify color property metadata embedded in prores stream.
652
653 color_primaries
654 Set the color primaries. Available values are:
655
656 auto
657 Keep the same color primaries property (default).
658
659 unknown
660 bt709
661 bt470bg
662 BT601 625
663
664 smpte170m
665 BT601 525
666
667 bt2020
668 smpte431
669 DCI P3
670
671 smpte432
672 P3 D65
673
674 transfer_characteristics
675 Set the color transfer. Available values are:
676
677 auto
678 Keep the same transfer characteristics property (default).
679
680 unknown
681 bt709
682 BT 601, BT 709, BT 2020
683
684 smpte2084
685 SMPTE ST 2084
686
687 arib-std-b67
688 ARIB STD-B67
689
690 matrix_coefficients
691 Set the matrix coefficient. Available values are:
692
693 auto
694 Keep the same colorspace property (default).
695
696 unknown
697 bt709
698 smpte170m
699 BT 601
700
701 bt2020nc
702
703 Set Rec709 colorspace for each frame of the file
704
705 ffmpeg -i INPUT -c copy -bsf:v prores_metadata=color_primaries=bt709:color_trc=bt709:colorspace=bt709 output.mov
706
707 Set Hybrid Log-Gamma parameters for each frame of the file
708
709 ffmpeg -i INPUT -c copy -bsf:v prores_metadata=color_primaries=bt2020:color_trc=arib-std-b67:colorspace=bt2020nc output.mov
710
711 remove_extra
712 Remove extradata from packets.
713
714 It accepts the following parameter:
715
716 freq
717 Set which frame types to remove extradata from.
718
719 k Remove extradata from non-keyframes only.
720
721 keyframe
722 Remove extradata from keyframes only.
723
724 e, all
725 Remove extradata from all frames.
726
727 setts
728 Set PTS and DTS in packets.
729
730 It accepts the following parameters:
731
732 ts
733 pts
734 dts Set expressions for PTS, DTS or both.
735
736 duration
737 Set expression for duration.
738
739 time_base
740 Set output time base.
741
742 The expressions are evaluated through the eval API and can contain the
743 following constants:
744
745 N The count of the input packet. Starting from 0.
746
747 TS The demux timestamp in input in case of "ts" or "dts" option or
748 presentation timestamp in case of "pts" option.
749
750 POS The original position in the file of the packet, or undefined if
751 undefined for the current packet
752
753 DTS The demux timestamp in input.
754
755 PTS The presentation timestamp in input.
756
757 DURATION
758 The duration in input.
759
760 STARTDTS
761 The DTS of the first packet.
762
763 STARTPTS
764 The PTS of the first packet.
765
766 PREV_INDTS
767 The previous input DTS.
768
769 PREV_INPTS
770 The previous input PTS.
771
772 PREV_INDURATION
773 The previous input duration.
774
775 PREV_OUTDTS
776 The previous output DTS.
777
778 PREV_OUTPTS
779 The previous output PTS.
780
781 PREV_OUTDURATION
782 The previous output duration.
783
784 NEXT_DTS
785 The next input DTS.
786
787 NEXT_PTS
788 The next input PTS.
789
790 NEXT_DURATION
791 The next input duration.
792
793 TB The timebase of stream packet belongs.
794
795 TB_OUT
796 The output timebase.
797
798 SR The sample rate of stream packet belongs.
799
800 NOPTS
801 The AV_NOPTS_VALUE constant.
802
803 text2movsub
804 Convert text subtitles to MOV subtitles (as used by the "mov_text"
805 codec) with metadata headers.
806
807 See also the mov2textsub filter.
808
809 trace_headers
810 Log trace output containing all syntax elements in the coded stream
811 headers (everything above the level of individual coded blocks). This
812 can be useful for debugging low-level stream issues.
813
814 Supports AV1, H.264, H.265, (M)JPEG, MPEG-2 and VP9, but depending on
815 the build only a subset of these may be available.
816
817 truehd_core
818 Extract the core from a TrueHD stream, dropping ATMOS data.
819
820 vp9_metadata
821 Modify metadata embedded in a VP9 stream.
822
823 color_space
824 Set the color space value in the frame header. Note that any frame
825 set to RGB will be implicitly set to PC range and that RGB is
826 incompatible with profiles 0 and 2.
827
828 unknown
829 bt601
830 bt709
831 smpte170
832 smpte240
833 bt2020
834 rgb
835 color_range
836 Set the color range value in the frame header. Note that any value
837 imposed by the color space will take precedence over this value.
838
839 tv
840 pc
841
842 vp9_superframe
843 Merge VP9 invisible (alt-ref) frames back into VP9 superframes. This
844 fixes merging of split/segmented VP9 streams where the alt-ref frame
845 was split from its visible counterpart.
846
847 vp9_superframe_split
848 Split VP9 superframes into single frames.
849
850 vp9_raw_reorder
851 Given a VP9 stream with correct timestamps but possibly out of order,
852 insert additional show-existing-frame packets to correct the ordering.
853
855 ffmpeg(1), ffplay(1), ffprobe(1), libavcodec(3)
856
858 The FFmpeg developers.
859
860 For details about the authorship, see the Git history of the project
861 (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command git log in
862 the FFmpeg source directory, or browsing the online repository at
863 <http://source.ffmpeg.org>.
864
865 Maintainers for the specific components are listed in the file
866 MAINTAINERS in the source code tree.
867
868
869
870 FFMPEG-BITSTREAM-FILTERS(1)