(help needed)Splitting file with php!

Discussion in 'PHP' started by sanyi007, Jul 25, 2009.

  1. #1
    Hi all!
    I was just interested, that how can i split an avi file to smaller, but still playable avi files (like a 1.4 gb to 700-700 mb avi files)? Can i do this with php (ffmpeg is needed?)?

    2. question: Where can i learn about php+ffmpeg? I would like to convert avi files to high quality flv-s, and i'm interested in how can i reach the best quality.
     
    sanyi007, Jul 25, 2009 IP
  2. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Unless you're trying to allow users real time upload and such on a PHP site, I would recommend using something like a python/perl script as those may be more suited.

    Check this out (they have a free trial that limits the video output to 3 minutes, it utilizes ffmpeg but in a much easier fashion)
    http://www.sothink.com/product/video-encoder-engine/linux.htm

    But normally I do not see many 'editors' being used in a PHP manner. Also far as high quality, that depends on the quality of the input.
     
    kblessinggr, Jul 25, 2009 IP