Advanced search  

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

Pages: [1]   Go Down

Author Topic: need help creating a plugin for video converting and viewing  (Read 4860 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.019 seconds with 19 queries.