See the example
https://github.com/mltframework/mlt/blob/master/src/swig/python/getimage.py

On Thu, May 12, 2016 at 3:39 PM Oleksiy Druzhynin <
oleksiy_druzhy...@epam.com> wrote:

> Dear MLT-users.
>
>
> I am customizing OpenShot editor and need to extract GTK pixbuf images
> from frames.
>
>
> Now I am using following OpenShot code to do this:
>
> if new_name == "":
>  # just get 1 thumbnail frame
>  self.thumbnail_path = project_path + "/thumbnail/" + fileBaseName + "_" + 
> fileExtension + "_%d.png"
> else:
>  #for snapshots, use the new file name
>  #don't use the thumbnail path for the new file
>  self.thumbnail_path = project_path + "/" + new_name
>
> # create the consumer
> self.c = mlt.Consumer(self.profile, "avformat", self.thumbnail_path)
>
>
> But is it possible to access frame images without its storing to the hard 
> drive?
>
> Regards,
>
> Oleksii Druzhynin​
>
>
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Mlt-devel mailing list
> Mlt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to