[FFmpeg-devel] [PATCH 0/2] avcodec: add realtime bitstream filter

Moritz Barsnick barsnick at gmx.net
Tue Dec 25 22:41:37 EET 2018

The realtime bitstream filter is modeled exactly along the
realtime/arealtime filters, but works on bitstream level, allowing to use
them with the copy codec.

It can be considered a proof of concept, as ffmpeg offers the "-re" option
to achieve this, but:

- the "-re" option is not available in the libraries, and has to be
  remodeled by other applications wishing to achieve that effect;
- the second patch in this series allows to scale the speed, which the "-re"
  option does not offer.

Since the core implementation is a blatant copy of f_realtime, its author
Nicolas is credited here.

Moritz Barsnick (2):
  avcodec: add realtime bitstream filter
  avcodec/realtime_bsf: add option to scale speed

 doc/bitstream_filters.texi     | 20 +++++++++
 libavcodec/Makefile            |  1 +
 libavcodec/bitstream_filters.c |  1 +
 libavcodec/realtime_bsf.c      | 93 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 115 insertions(+)
 create mode 100644 libavcodec/realtime_bsf.c


More information about the ffmpeg-devel mailing list