PHP video editing - merging

Discussion in 'PHP' started by trecords, Nov 23, 2011.

  1. #1
    Hi,
    I am looking for code for ffmpeg for to merge two videos. I have advertising video (3 seconds) and some other tons of videos, so I need to merge advert video to the beginning of other videos. I will use exec or shell_exec for this, but not sure about this code, please, give me sample code if you know it.

    If there it is hard to do it with ffmpeg then recommend me other php, linux tool which can help me on merging videos.
     
    trecords, Nov 23, 2011 IP
  2. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #2
    mfscripts, Nov 23, 2011 IP
  3. trecords

    trecords Well-Known Member

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    ohh perfect, thank you very much :D But there is left one problem as all my videos are FLV files so is there are something similar "FLVMERGE" function? I don`t want to convert flv to avi then merge then again convert back to flv, it will take lots of time and resources.
     
    trecords, Nov 23, 2011 IP