On Friday 31 May 2013 11.28:44 Carl Karsten wrote:
> #!/bin/bash -xe
> I am trying to create some test files, and would like to render a text
> file on a blue background.
> (so that it is noticeable when it flips to a read background and the
> noise stops .. like to testi AV sync.)
> 
> This is what I tried, but I get white source.txt on black, then #frame# on
> blue.
> 
> If it takes more then a min or two to figure out how to do what I
> want, I can dig up some red_blue.mlt xml that should work, but for bug
> reports I would like as simple as possible.

Hi,

2 possible approaches. If you want a blue background, you can use the 
"bgcolour" property of the pango producer:

(note that instead of a .txt file you can use "+" to directly output text:

melt +hello.txt bgcolour=blue

will output hello on a blue background, but the aspect ratio of the background 
sometimes needs adjustment.

Otherwise, using your 2 tracks way, you need to add a transition to see the 
blue background track:

melt color:blue -track +hello.txt -transition composite always_active=1 
halign=centre valign=centre


regards
jb


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to