On Wed, Nov 21, 2012 at 10:40 AM, Carl Karsten <[email protected]> wrote:
> I batch process videos - typically 30-100 at a time.  I don't view or
> listen to them, so when there are problems I don't notice.  Like no
> audio thanks to someone moving the input from L to R, and my encoding
> copies L to R, so 0's out the audio.    There are a few other problems
> too,  what the cause is doesn't really matter, there will always be
> problems.
>
> I have a feeling I could catch these if the encoding gave me some
> statistics, like max audio level.  If it is 0, my script can flag it
> as broken.

There is a new audiolevel filter. See output of melt -query filter=audiolevel

> I can think of a few ways of implementing this.  My preference would
> be write them to a file - xml, yaml, json..

But it is made more for apps. It does not give a dump for each frame
unless you make the app do that, perhaps using the Python binding.
Within the python script, you could get the properties of the filter
every N milliseconds. Or, you can run melt with -debug and grep the
output of stderr on 'audiolevel'. Or, you could modify
src/filter/normalize/filter_audiolevel.c to change the mlt_log_debug
to something different like _verbose for use with the melt -verbose
switch or _error to show it all the time.

> I am not a mlt developer, or even a C coder, so don't bother giving me
> advice on how to code this.
>
> I can also think of a few ways of funding this if needed.  My
> preference is to barter something, like be listed as a sponsor for
> http://2013.cusec.net - the next event I plan on making vidoes of.  Or
> fly you out to PyCon so you can volunteer more of your time ;)
>
> --
> Carl K
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to