Results 1 to 10 of 55

Thread: Hardcoded video watermark mod

Hybrid View

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

    Talking Force vShare to convert .flv files

    It took me a long time to figure this out but on vShare 2.7 you would need to edit /include/functions_upload.php. Find and delete the code below ( it is past the middle of the file )

    Code:
            if ($file_extn == 'flv')
            {
                $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');
                }
            }
            else
    or just change the 'flv' extention to something like 'txt' . It should look like this

    Code:
    if ($file_extn == 'txt')
    I hope this helps.

    ~zelda180~
    www.80TOONS.com
    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

  2. #2
    Join Date
    Apr 2010
    Posts
    88

    Default

    Quote Originally Posted by zelda180 View Post
    It took me a long time to figure this out but on vShare 2.7 you would need to edit /include/functions_upload.php. Find and delete the code below ( it is past the middle of the file )

    Code:
            if ($file_extn == 'flv')
            {
                $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');
                }
            }
            else
    or just change the 'flv' extention to something like 'txt' . It should look like this

    Code:
    if ($file_extn == 'txt')
    I hope this helps.

    ~~
    www.80TOONS.com

    Hey zelda180 did this actually work for you?

  3. #3
    Join Date
    Apr 2010
    Posts
    88

    Default

    what about this piece right above that one?
    PHP 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'); 

  4. #4
    Join Date
    Apr 2010
    Posts
    88

    Default

    How come no one else replied to this? It must not work.

  5. #5
    Join Date
    Sep 2007
    Posts
    906

    Default

    Look like this method won't work with current version of mencoder.

    Check

    http://forums.buyscripts.in/frequent...watermark.html
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  6. #6
    Join Date
    Apr 2010
    Posts
    88

    Default

    I actually paid vsharesolutions to do it for me. They set it where it even hardcode the flv files. The only thing is it won't work with the Mobility Module.

Similar Threads

  1. Place watermark anywhere on video!
    By mersh in forum Template Modifications
    Replies: 2
    Last Post: 07-24-2008, 03:57 PM
  2. watermark
    By ostendo in forum Installation Support
    Replies: 3
    Last Post: 01-14-2008, 09:13 PM
  3. Watermark
    By Alexy in forum Feature Requests
    Replies: 12
    Last Post: 08-14-2007, 09:27 PM
  4. Watermark
    By admin in forum Frequently Asked Questions
    Replies: 7
    Last Post: 08-01-2007, 02:51 AM
  5. .Swf Or .Flv as A watermark
    By zeffer in forum Feature Requests
    Replies: 2
    Last Post: 06-03-2007, 10:11 PM

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
  •