Skip to content

FFmpeg dict opt in QtAV

WangBin edited this page May 7, 2014 · 6 revisions

FFmpeg/Libav has functions like av_opt_set_xxx, av_dict_set. In QtAV, the you can use

void AVPlayer::setOptionsForFormat(const QHash<QByteArray, QByteArray>& dict);     //avformat
void AVPlayer::setOptionsForAudioCodec(const QHash<QByteArray, QByteArray>& dict); //avcodec
void AVPlayer::setOptionsForVideoCodec(const QHash<QByteArray, QByteArray>& dict); //avcodec
Clone this wiki locally