need help creating a plugin for video converting and viewing need help creating a plugin for video converting and viewing
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

need help creating a plugin for video converting and viewing

Started by denrigtigemads, May 02, 2007, 09:13:54 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

denrigtigemads

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  ;)

Joachim Müller


denrigtigemads

well thanks for the note on creating thumbnails, but how do i access the file for conversion?

Joachim Müller

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.