开发者

How to attach metadata to each frame of a video

开发者 https://www.devze.com 2023-01-08 21:00 出处:网络
I would like to be able to store metadata on each frame of a video file (a key to value map with ~10 entries per frame).

I would like to be able to store metadata on each frame of a video file (a key to value map with ~10 entries per frame).

开发者_如何学JAVA

Which video format allows me to store such data ?

Where can I find a c++ library to do this ?

Thank you very much for your answers.


Stupid idea: Could you write your meta data in a separate text file? You could write for every timestamp one line and add your key-value pairs


FFmpeg does such thing.

ffmpeg -i in.avi -metadata title="my title" out.flv

So if you want a library to do this, you can take a look at libavcodec (the leading audio/video codec library).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号