forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: denrigtigemads on May 02, 2007, 09:13:54 am

Title: need help creating a plugin for video converting and viewing
Post by: denrigtigemads on May 02, 2007, 09:13:54 am
I am trying to make a plugin for converting videos to .flv with FFMPEG and viewing them in a flash player. I have the code to control the ffmpeg for converting and creation of thumbnails and also have a 3rd party player in flash to stream the .flv files.

What i need is some help to integrate this to a coppermine plugin. Can anyone do this?

I need to get access to the uploaded mediafiles which i will just convert to theirname.flv automatically on upload of a supported media type.
- basically just need to know when to access the file and how to be sure that the newly created .flv file is shown in the gallery instead of the other mediafile (i am using jupload for uploading ;))


I need to change the path of video thumbnails to a specific folder/file called lets say thumbs/mediafilename.jpg - one for each media file.
last of all i need to be able to change the player and for safety be sure that flv is the only media filetype shown in galleries.
- just need to know which hooks and vars to work with.

Can anyone help me? I will be glad to contribute this mod if i ever get it to work  ;)
Title: Re: need help creating a plugin for video converting and viewing
Post by: Joachim Müller on May 02, 2007, 09:34:31 am
Automatic video thumbnail creation (Requires ffmpeg) (http://forum.coppermine-gallery.net/index.php?topic=38774.0)
Title: Re: need help creating a plugin for video converting and viewing
Post by: denrigtigemads on May 02, 2007, 03:37:58 pm
well thanks for the note on creating thumbnails, but how do i access the file for conversion?
Title: Re: need help creating a plugin for video converting and viewing
Post by: Joachim Müller on May 02, 2007, 07:14:58 pm
Take a look at the mod I refered to. In fact it doesn't matter if you create a thumbnail or a fullsize image. If you're so keen to create a plugin of your own, the mod I refered to should be all it takes to come up with your custom plugin.