Has anyone ever installed youtube clone site on ISPConfig panel

Discussion in 'Programming/Scripts' started by happz, May 4, 2008.

  1. happz

    happz Member

    I had a youtube clone site running on a server by godaddy with VPS config'd for ffmpeg and all the other required apps and all was fine.

    I decided to setup my own CENTOS 5.1 server and install ISPConfig. I reinstalled the php script from scratch and also installed ffmpeg and all other required apps and shares.

    All is fine as the files upload and the videos play fine and very clear. My problem is that the videos when converting to flv files are supposed to take several snapshots of different time frame of the video and use them for "thumbnails".

    That is the problem. I get no thumbnails producted. The default thumbnails will appear as a jpg image "no thumbnail available" type icon displayed.

    I am not a php person and so i don't know what the issue could be. I do know that I also have problems with .htaccess files as well but is my problem in my server config or php.ini file maybe....the script worked fine on different server so it shouldn't be the script....any help or ideas would be greatly appreciated....

    thanks howtoforge group....!!!!! You guys are the best!
    Last edited: May 4, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your logs?

    Do you know in what directory the thumbnails should be stored? Did you check the contents of that directory?
  3. happz

    happz Member

    Error log too long...the thumbnail folder is /thumb

    the /thumb does have lots of thumbnails in it. they are produced during the video conversion but it is the default "thumbnail not available" image.

    I did share the script with a php programmer and he had it uploaded to his server and the results were that the thumbnails worked fine for him. Now i do have all the required software installed...ffmpeg, lame, and so on...and GD2. He thinks something on the server is the issue. Any thoughts?

    By the way, how do i clear the error.log file to only see recent error and remove all old ones?

    thanks Falko!
  4. falko

    falko Super Moderator ISPConfig Developer

    cat /dev/null > /path/to/error.log
    Do you have all PHP image modules (like php-gd) installed?
  5. happz

    happz Member

    Hey...i have GD2 installed but..

    I am thinking that maybe php-gd is something different? I will see about installing it and thanks for the great tip...need to clear out those logs from time to time....

    By the way, have you written a howtoforge on just good up keep of your linux server and what things to do on a routine basis?



    the good news is that he will be out of office soon! :)

Share This Page