How to get metadata from videofile?
hcpwll at 163.com
Fri Oct 7 05:05:09 PDT 2011
At 2011-10-02 06:58:18,Hippi90 <hippi90ub at gmail.com> wrote:
>Hello! I am trying to learn this framework by tutorial on official site and i
>need some help. How can i retrieve metadata from videofile, like resolution,
>codec, bitrate etc.? If i understand right, i need to create such pipeline:
>filesrc->demuxer->fakesink, add "pad-added" signal handler to demuxer, link
>new pads with fakesink, get list of capabilities from them, and then i can
>get metadata from this caps, right? In tutorial to get properties from caps
>such code is used:
use the gst-inspect-0.10 to show the caps.
You could use thegst_caps_to_stringapi to print the caps in the "pad-added" signal handler.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel