<br />Thanks. Its almost what I'm looking for but not exactly. The point is it may be hard to find a correct frame. I mean it again, may be all dark, red, etc. So I was thinking that there is some predefined image that is either embedded or through some property specified as an index in a whole frame set, that is selected by video file creator and is "good" and is supposed to be used as a thumbnail image. Does it exist ? Say through some "preview-image" or "preview-image-index" thing ?<br /><br />Regards,<br />Victor<br /><br /><br />25.02.10, 21:48, "sudarshan bisht":<blockquote style="border-left:1px solid #CCCCCC;margin:0pt 0pt 0pt 0.8ex;padding-left:1em;"><div>HI ,</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For this you can write a Gstreamer applications where you have a basic pipeline which has filesrc , decodebin , encoder&nbsp;( if you&nbsp;want to have encoded file as a thumbnail e.g. png or jpg ) and filesink . Now once you have this pipeline , seek to a particular position in video file so that you get a valid frame because very first frame can have invalid/ blank data.</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After seek run this pipeline for a single frame of data , and you can get&nbsp;a thumbnail. To resize your thumbnail you can use video resize plugins also.</div><div>&nbsp;&nbsp;&nbsp;&nbsp;</div><div>&nbsp;</div><div class="gmail_quote">On Thu, Feb 25, 2010 at 9:10 PM, Burka Victor <span dir="ltr">&lt;<a href="mailto:burka.victor@yandex.ru">burka.victor@yandex.ru</a>&gt;</span> wrote:<br /><blockquote class="gmail_quote" style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex">Hello,<br /><br />Can you help me with the following: I need to display a thumbnail image of my video file in the video player playlist that I'm developing. So was looking in the GStreamer API how to get a thumbnail image. I understand I might depend on a file format, but is it any way to get that picture ? I found in the Internet something called "preview" or "preview-image" tags that I can retrieve, but again I didn't find how in the API.<br /><br />Thanks,<br />Victor<br /><br />------------------------------------------------------------------------------<br />Download Intel&reg; Parallel Studio Eval<br />Try the new software tools for yourself. Speed compiling, find bugs<br />proactively, and fine-tune applications for parallel performance.<br />See why Intel Parallel Studio got high marks during beta.<br /><a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br />_______________________________________________<br />gstreamer-devel mailing list<br /><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br /><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br /></blockquote></div><br /><br /><br />-- <br />Regards,<br /><br />Sudarshan Bisht<br /></blockquote><br /><br />-- <br />Здесь спама нет http://mail.yandex.ru/nospam/sign