On Sat, Feb 11, 2012 at 7:30 AM, Simon A. Eugster <[email protected]> wrote:
> Hi Dan,
>
> I'm trying to play around with MLT for the audio alignment, but wasn't
> so successful so far. Here is where I am currently: (audioAlign branch
> on kdenlive git)
> http://quickgit.kde.org/index.php?p=kdenlive.git&a=blob&h=6e9a0b5510a1eb9d34b492c52cf2fdbcb7f0a5a6&hb=2af10ceb2eb5b1b58c4215dd7c531494dc971265&f=testingArea%2FaudioOffset.cpp
>
> Some questions:
> 1. How can I find out the audio sampling rate, number of channels,
> etc. of the input file?

I just answered most of your questions at
http://www.mltframework.org/twiki/bin/view/MLT/Questions#Development

> 2. In get_audio, how can I get all samples of the current frame? Is
> there an abbreviation or should I calculate it based on the sampling
> rate and the frame rate?
> 3. How can I convert ‘mlt_audio_format’ to ‘mlt_audio_format&’?
> Compiling fails with an error on line 44 now.

mlt_audio_float is a value. You need to create a variable initialized
to that value and pass the var.

> 4. Just out of curiosity, what happens when the audio has a sampling
> rate of 24 kHz and I request 96 kHz?
> 5. Do I need to free/delete *frame and *data?

all answered on the wiki faq page

-- 
+-DRD-+

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to