extract frames from a video

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

extract frames from a video

mdrio
Hi, I need to extract frames from a video. The idea is to parallelize the job, so there will be n-process, each extracting frames, working on a segment of the same video. Which is the best way to do that in gstreamer?
Thanks in advance

--
Mauro



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: extract frames from a video

alet
Hi,

On Tue, Oct 16, 2012 at 06:23:50PM +0200, Mauro Del Rio wrote:
> Hi, I need to extract frames from a video. The idea is to parallelize the
> job, so there will be n-process, each extracting frames, working on a
> segment of the same video. Which is the best way to do that in gstreamer?

Not sure about the N-process thing, but I can send you the latest source
code (Python) of my "grabslides" app, which we use to create PDF from
slides captured in the DV format, with the help of some hardware +
gstreamer.

Probably more complex than what you need, but this may help anyway.

bye

--
Jerome Alet
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: extract frames from a video

mdrio
Hi Jerome, thanks for the suggestion! I can't find the code, I looked at http://freecode.com/projects/grabslides but website and code links don't work. Is there another place where it is stored?

On Tue, Oct 16, 2012 at 11:07 PM, <[hidden email]> wrote:
Hi,

On Tue, Oct 16, 2012 at 06:23:50PM +0200, Mauro Del Rio wrote:
> Hi, I need to extract frames from a video. The idea is to parallelize the
> job, so there will be n-process, each extracting frames, working on a
> segment of the same video. Which is the best way to do that in gstreamer?

Not sure about the N-process thing, but I can send you the latest source
code (Python) of my "grabslides" app, which we use to create PDF from
slides captured in the DV format, with the help of some hardware +
gstreamer.

Probably more complex than what you need, but this may help anyway.

bye

--
Jerome Alet
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Mauro

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: extract frames from a video

alet
On Wed, Oct 17, 2012 at 12:42:20PM +0200, Mauro Del Rio wrote:
> Hi Jerome, thanks for the suggestion! I can't find the code, I looked at
> http://freecode.com/projects/grabslides but website and code links don't
> work. Is there another place where it is stored?

Yeah, unfortunately the server which hosted the trac+subersion trees for
both Boxtream and Grabslides went down 20000 km away from me, and nobody
at my previous job seems to be willing to handle this problem...

I'll try to host them both elsewhere as time permits.

In the meantime I've put both applications there for anyone to download
and try :

  http://depot.univ-nc.nc/sources/

Any comment is welcome.

bye

--
Jerome Alet
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: extract frames from a video

Olivier Aubert-2
In reply to this post by alet
Hi

On Tue, Oct 16, 2012 at 06:23:50PM +0200, Mauro Del Rio wrote:
> Hi, I need to extract frames from a video. The idea is to parallelize
> the job, so there will be n-process, each extracting frames, working
> on a segment of the same video. Which is the best way to do that in
> gstreamer?
You can find another (python) example at
https://github.com/oaubert/advene/blob/master/lib/advene/util/snapshotter.py

I implemented this module for a video annotation software, but took care
not to have any dependency on this project so that it can be reused, and
keep it reasonably simple.

It also works in standalone mode as a script, invoked by
snapshotter.py movie.avi 1200 5400 2800 [list of timestamps...]

Regards,
Olivier


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: extract frames from a video

mdrio
In reply to this post by alet
Thanks a lot! 

On Wed, Oct 17, 2012 at 10:13 PM, <[hidden email]> wrote:
On Wed, Oct 17, 2012 at 12:42:20PM +0200, Mauro Del Rio wrote:
> Hi Jerome, thanks for the suggestion! I can't find the code, I looked at
> http://freecode.com/projects/grabslides but website and code links don't
> work. Is there another place where it is stored?

Yeah, unfortunately the server which hosted the trac+subersion trees for
both Boxtream and Grabslides went down 20000 km away from me, and nobody
at my previous job seems to be willing to handle this problem...

I'll try to host them both elsewhere as time permits.

In the meantime I've put both applications there for anyone to download
and try :

  http://depot.univ-nc.nc/sources/

Any comment is welcome.

bye

--
Jerome Alet
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Mauro

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: extract frames from a video

mdrio
In reply to this post by Olivier Aubert-2
Hi Oliver, thanks! 

On Wed, Oct 17, 2012 at 11:36 PM, Olivier Aubert <[hidden email]> wrote:
Hi

On Tue, Oct 16, 2012 at 06:23:50PM +0200, Mauro Del Rio wrote:
> Hi, I need to extract frames from a video. The idea is to parallelize
> the job, so there will be n-process, each extracting frames, working
> on a segment of the same video. Which is the best way to do that in
> gstreamer?
You can find another (python) example at
https://github.com/oaubert/advene/blob/master/lib/advene/util/snapshotter.py

I implemented this module for a video annotation software, but took care
not to have any dependency on this project so that it can be reused, and
keep it reasonably simple.

It also works in standalone mode as a script, invoked by
snapshotter.py movie.avi 1200 5400 2800 [list of timestamps...]

Regards,
Olivier


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Mauro

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel