Skip to content

FFprobe removed support for Closed Captions detection #497

Closed

Description

@ptr727

FFmpeg removed the ability to detect closed captions, and FFprobe no longer reports the presence of CC in streams.

See: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/19c95ecbff84eebca254d200c941ce07868ee707

#if FF_API_CODEC_PROPS
FF_DISABLE_DEPRECATION_WARNINGS
            if (enc->properties & FF_CODEC_PROPERTY_CLOSED_CAPTIONS)
                av_bprintf(&bprint, ", Closed Captions");
            if (enc->properties & FF_CODEC_PROPERTY_FILM_GRAIN)
                av_bprintf(&bprint, ", Film Grain");
            if (enc->properties & FF_CODEC_PROPERTY_LOSSLESS)
                av_bprintf(&bprint, ", lossless");
FF_ENABLE_DEPRECATION_WARNINGS
#endif

Before: Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080, Closed Captions, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn (default)

After: Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn (default)

Related to #94 that can now be abandoned.

There is an open FFmpeg request to support CC removal for H264 and H265 streams.

The FFmpeg wiki mentions how to remove CC's, but does not include details about detecting if a stream contains CC's. (Also does not mention that types are format dependent)

Activity

  1. added
    bug
    external
    on Apr 17, 2025
  2. bbgdzxng1 commented on Jan 9, 2026

    @bbgdzxng1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugexternal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions