On Fri, May 31, 2013 at 2:09 PM, Brian Matherly <pez4br...@yahoo.com> wrote:
>>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

Oh yeah, I heard about this, never got around to trying it till just
now.  very cool - thanks.

as long as we are doing so good on the quickies here...

What i am currently testing for is gaps in audio so I need more than
the blip.  can I get mix the
"producer noise" with it?

It is OK if that confuses the blipflash test, so far sync is on the
order of 10 seconds after well over 12 hours, (currently the steam
gets reset every 4 hours, and no one has noticed the sync problem)
but the audio drops are for a few seconds when I transition between
sources - very noticeable and disruptive.   (this is a problem in
flumotion/gstreamer, not mlt)

-- 
Carl K

------------------------------------------------------------------------------
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