>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. > >melt -verbose \ >-profile dv_ntsc \ >-audio-track \ >-producer noise \ >out=30 \ >-video-track \ > source.txt \ > out=30 \ >-producer color:blue \ > out=30 \ >meta.attr.titles=1 \ >meta.attr.titles.markup=#frame# \ > -attach data_show dynamic=1 \ >-consumer avformat:test.dv \ >pix_fmt=yuv411p
I would suggest that the dynamic text filter is cleaner than the data_show filter for what you are doing. Try playing with this: melt -verbose -profile dv_ntsc -audio-track -producer noise out=30 -video-track -producer color:red out=30 -attach dynamictext:'some_random_text' geometry=0,50%:100%x100% color:blue out=30 -filter dynamictext:#frame# Also, if you are testing lipsync, have you looked at the blipflash producer and consumer? The producer generates a synchrinized blip and flash pattern. And the consumer can calculate the lip sync offset given that pattern as an input: melt -silent -profile dv_ntsc blipflash out=200 -consumer libdv:temp.dv terminate_on_pause=1 melt -silent -profile dv_ntsc libdv:temp.dv -consumer blipflash terminate_on_pause=1 ~Brian ------------------------------------------------------------------------------ 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