Function ffmpeg_encoder_decoder::utils::find_decoders(const std::string&, std::vector<std::string> *, std::vector<std::string> *)

Function Documentation

void ffmpeg_encoder_decoder::utils::find_decoders(const std::string &codec, std::vector<std::string> *hw_decoders, std::vector<std::string> *sw_decoders)

finds the names of all available decoders for a given codec (or encoder)

Parameters:
  • codec – the codec / encoding to find decoders for

  • hw_decoders – (output) non-null ptr to hardware decoders

  • sw_decoders – (output) non-null ptr to software decoders