Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: need help creating a plugin for video converting and viewing  (Read 4627 times)

0 Members and 1 Guest are viewing this topic.

denrigtigemads

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

denrigtigemads

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: need help creating a plugin for video converting and viewing
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: need help creating a plugin for video converting and viewing
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.