Results 1 to 10 of 14

Thread: Need Step By Step Tutorial For FFMPEG Hardcoded Watermark

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    May 2009
    Location
    On Earth
    Posts
    15

    Talking New functions_upload.php file to convert .flv files

    I would like to first thank bplex for your input, a lot of your previous posts has helped me out when I was having trouble with this script. So thanks again.

    As for the functions_upload.php file. I have uploaded the new file and I did test it and it converted the .flv file with the watermark with no issues. I have delete the code below

    **REMEMBER TO BACKUP YOUR FILES**

    Code:
            
            if ($file_extn == 'flv' || $file_extn == 'mp4')
            {
                $log_text = "<h2>MOVING UPLOADED FLV: $video_src => $video_flv</h2>";
                write_log($log_text, $log_file_name, $debug, 'html');
                
                if (! copy($video_src, $video_flv))
                {
                    $log_text = 'ERROR: moving uploaded file failed';
                    write_log($log_text, $log_file_name, $debug, 'html');
                }
                
                if ($file_extn == 'flv')
                {
                    if (get_config('enable_flvtool') == 1)
                    {
                        $cmd_flvtool = $config['flvtool'] . ' -U ' . $video_flv;
                        $tmp = exec($cmd_flvtool, $exec_result);
                        $log_text = "<h2>Running flvtool2: $cmd_flvtool</h2>";
                        write_log($log_text, $log_file_name, $debug, 'html');
                    }
                }
            }
            else
    This tells vshare to skip the encoding process for .flv files and only insert the meta data in to the .flv file. Now vShare wil convert all .flv files and add the watermark to all uploaded videos.

    Please let me know if this did or did not work. Thanks
    Last edited by zelda180; 12-23-2010 at 08:56 PM. Reason: Removed Attached File
    I have a heavily modified version of vShare 2.8 beta WITH my own mobile addon at 80TOONS.com . Please let me know what you think.

    HOSTING WITH FULL vShare SUPPORT, my mobile addon support for vShare 2.8 & FFmpeg permanent video water marking at GIFTSnMORE.com . Thanks

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
  •