Hi, I'm new to gstreamer, and I would get information about a video file. I want to get : - codec - width - height I created a first "filesrc" GstElement and I tried to gets its capabilities, but I don't know the name I should use with get_pad() function. Maybe I must add a demux to the pipline, but i need to detect codec first? I tried with findtype with the "have-type" signal, but I detect only "system-stream" capability. Do you have some hints to give me? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi, gstreamer-devel:
If you only wanna get codec/width/height infos, that's easy. Connect a decodebin with the filesrc, then checks the caps of the video & audio buffers come from decodebin, you can get these infos. Eric Zhang 2008/12/3 Frédéric Gaudy <[hidden email]>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |