Results 1 to 7 of 7

Thread: How to run flvtool via putty

  1. #1

    Default How to run flvtool via putty

    I've recently installed lighttpd, and I have to run flvtool to all videos via Putty, but I don't have ssh knowledge for do this.

    Anybody can explain how do this?

    Thank you in advance!

  2. #2
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Thumbs up

    Firstly you need all you video files names. Go to your files with "cd and file path"

    The write "ls > file.txt" to make a text file with all your videos.

    Go through ftp and open this file and edit with an text editor, before of every file put "flvtool2 -U"

    files should look like this
    flvtool2 -U 1.flv
    flvtool2 -U 2.flv

    Then copy - paste to ssh.

  3. #3

    Thumbs up

    Thank you for your explanation, Rammstein! I've made this without any problem.

    You know if there are any solution for do this automatically when I upload a new flv video?

  4. #4
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default

    The script is doing it for you after video convention, but if you have a slow server the flvtool some times do not work because the server can not connect to SQL. :mad:

  5. #5

    Default

    The problem is that if I upload a flv file, the script does not re-convert, because flv tool is not executed. I wanted to know if there is some automatic way of solving this.

  6. #6
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default

    flvtool do not convert only add flv info. When you upload a flv the script run only the flvtool to add flv info, nothing else because the flv will lose the quality if the video is converted.

  7. #7

    Default

    Yes, I've activated the flvtool option in admin panel, but when I upload a new flv file, the flvtool don't add any info to the video, because the flv video is not reconverted and the flvtool don't start.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •