|
Brilliant thanks Anton.
Just to be complete if its codec "139 - Google VP8" then you need
to find "libvpx-vp8" and
if its "167 - Google VP9" then you need to find "libvpx-vp9".
Also you can load a stream with avcodec_open2 and override the
codec there instead.
On 6/15/2018 7:25 PM, Anton Shekhovtsov
wrote:
Hi, "libvpx" is not input format, see this for
example
AVCodec* pDecoder =
avcodec_find_decoder(m_pStreamCtx->codecpar->codec_id);
if(m_pStreamCtx->codecpar->codec_id==AV_CODEC_ID_VP8){
// on2 vp8 does not extract alpha
AVCodec* pDecoder2 =
avcodec_find_decoder_by_name("libvpx");
if(pDecoder2) pDecoder = pDecoder2;
}
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
|
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user