Results 1 to 2 of 2
  1. #1

    Converting WMV to FLV using ssh?


    I would like to know if there is a way of converting .wmv to .flv using ssh or some sort of script? Since i have around 2000 .wmv clips on my site that need to be converted to .flv and i do not have time to download then convert then upload since that will take days.

  2. #2
    Join Date
    Aug 2005
    Use ffmpeg

    When users upload any video file that my site can decode it automaticly makes .mp4 .m4v .h264 and .flv copys and displays the .flv in a player..

    The command line I use is:
    ffmpeg -i $file -f flv -s 320x240 $output 1>/dev/null 2>/dev/null
    IF the return value of this is != 0 I use this command instead:
    ffmpeg -i $file -f flv -s 320x240 -ar 44100 $output 1>/dev/null 2>/dev/null
    The second command is a lot more likly to work but has fixed bitrate and may be more wasteful.

Posting Permissions

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