On 23/10/15 14:23, William MANCON wrote:
> Hi !
> I tried recently to encode into VP8 using libav. I used the "rtp" format
> for the fmtctx. Just after the call to avcodec_encode_video I tried to
> reach for the RTP VP8 payload descriptor and I never found the correct
> header in the output of the encoding function.

avcodec gets you the raw vp8 data, avformat then muxes it in rtp.

> Is this header (VP8 Payload descriptor, S bit, X bit, key frame marker,
> PictId ...) outputted by the libavformat when I call av_write_frame ?

Exactly =)

> Or is there a way to get it outputted by the encoder ?

There isn't, avcodec just provides raw encoded or decoded data, avformat
takes care of muxing.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to