How to add FFmpeg Function to my script?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to add FFmpeg Function to my script?

    Chk my site = www.pinkmob.info ..Itz similer to ffmpeg script,
    experts plz help me in adding ffmpeg function in this.

    #2
    PHP Code:
    <?php
    #-----------------------------------------------------#
    #             Sharing is Caring....                   #
    #              www.share4m.com                        #
    #        Script is translated by admin@share4m.com    #
    #-----------------------------------------------------#


    require 'moduls/ini.php';
    require 
    'moduls/connect.php';

    //header('Content-type: image/gif');

    $W intval($_GET['W']);
    $H intval($_GET['H']);
    $id intval($_GET['id']);

    $file_info mysql_fetch_row(mysql_query('SELECT TRIM(`path`) FROM `files` WHERE `id` = '.$id.' LIMIT 1'));
    $pic urldecode(htmlspecialchars($file_info[0]));

    if(
    substr($pic,0,1) != '.'){

    $mov = new ffmpeg_movie($picfalse);
    $wn $mov->GetFrameWidth();
    $hn $mov->GetFrameHeight();

    $frame $mov->getFrame(3);

    $gd $frame->toGDImage();

    if(!
    $W and !$H)
    {
    $size explode('*',$setup['prev_size']);
    $W round(intval($size[0])); // ширина картинки
    $H round(intval($size[1])); // высота картинки
    }
    $new imageCreateTrueColor($W$H);
    imageCopyResized($new$gd0000$W$H$wn$hn);
    imageGif($new,null,100);

    }
    ?>
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      I had made ffmpeg.php using ur code,.But,Where to link this in index?

      Comment


        #4
        i given you the code from sea lol and you need to understand it or search my code in forums or topic made by me
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          Here is my Script...
          Plz plz make it ffmpeg function.

          Comment

          Working...
          X