generate thumbnail from video file

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

generate thumbnail from video file

Jyoti-2
Hi All,

I want to generate a thumbnail of a video file using gstreamer.
Is it possible to do so?
I have seen this feature in ffmpeg using command line option, can the similar be done in gstreamer.

Regards,
Jyoti

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: generate thumbnail from video file

Bastien Nocera-2
On Mon, 2010-02-22 at 12:31 +0530, Jyoti wrote:
> Hi All,
>
> I want to generate a thumbnail of a video file using gstreamer.
> Is it possible to do so?
> I have seen this feature in ffmpeg using command line option, can the
> similar be done in gstreamer.

totem-video-thumbnailer in Totem does the same thing.

Cheers


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: generate thumbnail from video file

Jyoti-2
Can't I do this using gstreamer pipeline or gstreamer application?

On Mon, Feb 22, 2010 at 12:57 PM, Bastien Nocera <[hidden email]> wrote:
On Mon, 2010-02-22 at 12:31 +0530, Jyoti wrote:
> Hi All,
>
> I want to generate a thumbnail of a video file using gstreamer.
> Is it possible to do so?
> I have seen this feature in ffmpeg using command line option, can the
> similar be done in gstreamer.

totem-video-thumbnailer in Totem does the same thing.

Cheers


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: generate thumbnail from video file

Tim-Philipp Müller-2
On Mon, 2010-02-22 at 13:38 +0530, Jyoti wrote:

> Can't I do this using gstreamer pipeline or gstreamer application?

You can find an example here:

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/snapshot/snapshot.c

Alternatively, a pipeline like like this may do as well:

 uridecodebin uri=file:///.... ! ffmpegcolorspace ! videoscale !
gdkpixbufsink

Cheers
 -Tim




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: generate thumbnail from video file

Jyoti-2
I tried running the pipeline below but no luck.
It doesn't generate any image file.

And alternatively I tried compiling the code from link.
Is gtk library needed to run gdkpixbufsink?


On Mon, Feb 22, 2010 at 2:45 PM, Tim-Philipp Müller <[hidden email]> wrote:
On Mon, 2010-02-22 at 13:38 +0530, Jyoti wrote:

> Can't I do this using gstreamer pipeline or gstreamer application?

You can find an example here:

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/snapshot/snapshot.c

Alternatively, a pipeline like like this may do as well:

 uridecodebin uri=file:///.... ! ffmpegcolorspace ! videoscale !
gdkpixbufsink

Cheers
 -Tim




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: generate thumbnail from video file

Tim-Philipp Müller-2
On Tue, 2010-02-23 at 17:54 +0530, Jyoti wrote:

> I tried running the pipeline below but no luck.
> It doesn't generate any image file.

The pipeline ending with ... ! gdkpixbufsink is not supposed to write
image files, it will create GdkPixbuf objects for the application (which
the app may access either via bus messages or using the last-pixbuf
property). If you want a file, you need something like

 ... ! jpegenc ! filesink location=foo.jpg

or

 ... ! pngenc ! filesink location=foo.png
 

> And alternatively I tried compiling the code from link.

You tried? But didn't succeed?


> Is gtk library needed to run gdkpixbufsink?

No, just gdk-pixbuf (which is in the gtk+ tarball, but does not depend
on either gtk or gdk; if the element shows up in gst-inspect, it should
work).

Cheers
 -Tim

>
> On Mon, Feb 22, 2010 at 2:45 PM, Tim-Philipp Müller <[hidden email]>
> wrote:
>         On Mon, 2010-02-22 at 13:38 +0530, Jyoti wrote:
>        
>         > Can't I do this using gstreamer pipeline or gstreamer
>         application?
>        
>        
>         You can find an example here:
>        
>         http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/snapshot/snapshot.c
>        
>         Alternatively, a pipeline like like this may do as well:
>        
>          uridecodebin uri=file:///.... ! ffmpegcolorspace !
>         videoscale !
>         gdkpixbufsink




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel