[Libav-user] Per-frame metadata

Jan Brehmer Jan.Brehmer at dai-labor.de
Wed Nov 9 19:27:35 EET 2016

Hi everyone.

I am trying to set per-frame metadata with

  av_dict_set(&(frame_->metadata), "timestamp", "1337", 0);

right before ?avcodec_encode_video2?. I have tried it on all functioning combinations of [webm, mpegts, flv, mp4] x [VP8, VP9, H.264] whithout success.
(I used VLC and grep --text "timestamp" to check.)

Is there a way of doing this?

Best regards,

More information about the Libav-user mailing list