i want to convert all my videos via automated php script. but i want to embed (hardsub) subtitle and add watermark too.
ffmpeg can add watermark but cant embed subtitle, mencoder can embed subtitle but cant add watermark. actually it can, but bmovl parameter is too complex and i think its not support my method. i am sending commands via php-exec function. i succesfully added watermark to a video over ssh with mencoder. but if i send exact commands over php-exec its returns/do nothing.
do you know any linux program can do my wishes? or do you know any method for ffmpeg / mencoder to do that jobs?
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by Baldrick; 29th Dec 2011 at 04:12. Reason: New title
-
I think you can can pipe the output from ffmpeg (with added watermark) to mencoder input. This way it is done in two steps but with a single command line. Perhaps you can create your own bash script that you call from php to avoid problems with the php-exe function.
EDIT: Or you can use transcode which has filters for adding logo (maybe it can be used as a watermark if the logo is transparent) and to add subtitles.
http://www.transcoding.org/transcode?Filter_Plugins#Video_FilterLast edited by ronnylov; 2nd Jan 2012 at 09:40.
Ronny -
thx ronnylov. i dont know to write a bash script. actually i dont know what it is
but transcode looks like great. i will try it.
Similar Threads
-
How to stick subtitle and Watermark to mkv videos without re-Encode
By skydl2011 in forum SubtitleReplies: 9Last Post: 6th Sep 2011, 02:10 -
Convert HD MKV or AVCHD to HD MPEG2/AC3, with subtitle support?
By elsinga in forum Video ConversionReplies: 14Last Post: 25th Dec 2010, 13:56 -
adding watermark as a subtitle
By zammil in forum SubtitleReplies: 8Last Post: 20th Nov 2010, 00:45 -
MKV to AVI program, hardsubbing program, adding subtitle to DVD Flick
By projecttemp in forum Video ConversionReplies: 1Last Post: 21st Sep 2009, 08:42 -
Help with Watermark program
By kokolo in forum Newbie / General discussionsReplies: 2Last Post: 31st May 2007, 15:58