Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 55

Thread: Hardcoded video watermark mod

  1. #31
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Hardcoded video watermark mod

    Thank you grynmoors I tried but it wont works :(

  2. #32
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Hardcoded video watermark mod

    Well, maybe there's something in one of the wiki articles cited that will help you? I don't know where it could be going wrong that it wouldn't work since it's just a mencoder command....so...IDK.

    Send me your video_conversion.php and your watermark.srt so I can look at it. You have watarmark.srt in your includes/settings folder where the video_conversion.php is, yes?
    If it's not fun, stop doing it!

  3. #33
    Join Date
    Jul 2008
    Posts
    1

    Default Re: Hardcoded video watermark mod

    I was trying to watermark some wmv to flv files. Surprisingly it works on some, but not on others. I use a software to convert powerpoint to wmv. These wmvs do get watermarked on upload, but others dont. any solutions ?



    editing:
    i found the problem. It has something to do with dimensions of the video. I was using 9 it did not show, i changed it to 15 and saw it partially. So i changed it to 90. and it looks cute at the bottom now.

  4. #34

    Default Re: Hardcoded video watermark mod

    has anyone had any luck hardcoding an IMAGE watermark in vShare yet?

  5. #35
    Join Date
    Dec 2007
    Posts
    24

    Default Re: Hardcoded video watermark mod

    is not working on mine:
    Array
    (
    [0] => MEncoder dev-SVN-r25540-4.1.2 (C) 2000-2007 MPlayer Team
    [1] => CPU: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz (Family: 6, Model: 15, Stepping: 11)
    [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    [4] =>
    [5] =>
    [6] => Exiting... (error parsing command line)
    )

    ################################################## ##

    Return value: Exiting... (error parsing command line)
    Video Conversion Finished

  6. #36
    Join Date
    Mar 2009
    Posts
    5

    Default Re: Hardcoded video watermark mod

    hello
    I have done the whole thing to mine http://www.tubealotico.com
    however it is not working
    thank you

  7. #37
    Join Date
    May 2009
    Posts
    13

    Default

    I am looking to hardcode watermark for Version 2.8.
    Anybody know the proper way to accomplish this, if you do please enlighten! thxs

    here is my code.
    <?php

    # For old version of mplayer
    # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es";
    $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -af resample=22050:0:0 -sws 9 -vf scale=448:-3,expand=448:336 -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=500:trell:v4mv:mv0:mbd=2:cbp:a ic:cmp=3:subcmp=3 -oac mp3lame -lameopts abr:br=56:mode=3 harddup";
    # For latest version of mplayer
    #$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=$bit_rate:mbd=2:mv0:trell:v4mv :cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup";

    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";

    //New Mplayer codec
    #$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=$bit_rate:mbd=2:mv0:trell:v4mv :cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup,hqdn3d=2:1:2,scale=640:464";
    //Convert mp4 H264
    $cmd_mp4_h264 = "$config[ffmpeg] -i '$video_src' -acodec libfaac -ab 96k -vcodec libx264 -vpre hq -crf 22 -threads 0 -b " . $bit_rate . "k $video_flv";

    $cmd_all = $cmd_mencoder;

    $convert_3gp = $cmd_all;
    $convert_mp4 = $cmd_mp4_h264;
    $convert_mov = $cmd_all;
    $convert_asf = $cmd_all;
    $convert_mpg = $cmd_all;
    $convert_avi = $cmd_all;
    $convert_mpeg = $cmd_all;
    $convert_wmv = $cmd_all;
    $convert_rm = $cmd_all;
    $convert_dat = $cmd_all;
    Last edited by Enve718; 03-14-2010 at 12:58 AM.

  8. #38
    Join Date
    May 2009
    Location
    On Earth
    Posts
    15

    Default hardcode watermark for Version 2.8

    I just added and tested this on my site 80TOONS.com today. I just added the -sub /home/YOUR USERNAME/public_html/include/settings/watermark.srt -subpos 99 command to the end of the mplayer codec. Here is my code it works with the latest mplayer version.



    Code:
    <?php
    
    # For old version of mplayer
    # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
    
    # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -af resample=22050:0:0 -sws 9 -vf 
    # scale=448:-3,expand=448:336 -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=500:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3 -oac mp3lame -lameopts abr:br=56:mode=3 harddup";
    
    #For latest version of mplayer
    # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=$bit_rate:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup";
    
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
    
    //New Mplayer codec
    $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=1000:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup,hqdn3d=2:1:2,scale=640:464 -sub /home/YOUR USERNAME/public_html/include/settings/watermark.srt -subpos 99";
    //Convert mp4 H264
    $cmd_mp4_h264 = "$config[ffmpeg] -i '$video_src' -acodec libfaac -ab 96k -vcodec libx264 -vpre hq -crf 22 -threads 0 -b " . $bit_rate . "k $video_flv";
    
    $cmd_all = $cmd_mencoder;
    
    $convert_3gp = $cmd_all;
    $convert_mp4 = $cmd_all;
    $convert_mov = $cmd_all;
    $convert_asf = $cmd_all;
    $convert_mpg = $cmd_all;
    $convert_avi = $cmd_all;
    $convert_mpeg = $cmd_all;
    $convert_wmv = $cmd_all;
    $convert_rm = $cmd_all;
    $convert_dat = $cmd_all;
    $convert_f4v = $cmd_all;
    DON"T FORGET TO REPLACE THE /HOME/YOUR USERNAME/.... WITH YOUR USERNAME OR WITH THE CORRECT PATH TO THE WATERMARK.SRT FILE.

    80TOONS.com
    Last edited by zelda180; 03-17-2010 at 02:51 AM.

  9. #39
    Join Date
    May 2010
    Posts
    2

    Default

    What for me,i just use VidLogo to add watermark into my video.

  10. #40
    Join Date
    Jun 2010
    Posts
    2

    Default

    I prefer use too VidLogo and I like this program:)

Page 4 of 6 FirstFirst ... 23456 LastLast

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
  •