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: Thumb of Video.  (Read 2405 times)

0 Members and 1 Guest are viewing this topic.

damscot

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Thumb of Video.
« on: April 24, 2005, 01:25:25 am »

Hi,

I'am just installing successfully CPG 1.3.3.
I was trying to add mp4 file produce by my sanyo digital movie C1 product. I successfully update the typefile table in Mysql to manage mp4 file. but mplayer plugin failed to display it from firefox.

then I produce mpg file from the mp4 file from mencoder
mencoder -oac mp3lame -ovc copy test.mp4 -o test.mpg

Now i would like to change the basic icons displaying the movie file by the 1st frame of the mpg file. I generate it from mplayer
mplayer -nosound -frames 1 test.mpg -vo jpeg

it produces a 0000001.jpg that i rename to test.jpg.

Then using FTP upload, I was trying to upload the two files in the album repository thinking that the jpg will replace the standard video icons thumb by the first frame of my video.

It generate un error while displaying the albums  ??? :
Warning: getimagesize(albums/Night_Fever/30%20ans%20mark/thumb_test.jpg): failed to open stream: No such file or directory in /home/www/html/coppermine/include/functions.inc.php on line 1065

any idea... to implement this feature.   ;D
« Last Edit: April 24, 2005, 01:59:51 am by TranzNDance »
Logged

damscot

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Thumb of Video.
« Reply #1 on: April 24, 2005, 01:56:06 am »

Ok ...
I found a solution !!!!  ;D

first I just have to create a thumb_test.jpg file to create a customized thumbnail of my video file.

Concerning the error ... It seems that for video, It doesn't support space caracter "%20" inside directory name for thumb imaga access.
I think this is a bub !  :o
Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 21 queries.