Hi there,
I had posted this question before and am APOLOGETIC that I have to bother you guys again but any help will be really appreciated as I have spent past five days on this with no progress at all.
I am trying to achieve the following:
"Ability to pre-process audio/sound present in a movie streamed over the network (say Internet). So I need to extract the sound from the movie in linear PCM format."
I have tried at three different fronts but in vain. I would really appreciate if someone could tell me the right direction to follow.
1. Audio Extraction API (Support from Quicktime v7.0): This works for a local movie (stored in the local filesystem) but as acknowldged in
http://developer.apple.com/documentation//QuickTime/Conceptual/QT7UpdateGuide/Chapter02/chapter_2_section_6.html
does not work with the streaming component ("Most components, with a few exceptions such as streaming and MPEG-4 exporting" :( )
2. I thought I could extract the sound track, then the Sound media and then use GetMediaSample followed by a sound converter.
BUT, there is only one track for a streaming movie. This track contains everything and I could not find any way of extracting just the sound samples.
3. Really disappointed, I have now started looking at working with the components. I am thinking that I could start by getting the MediaGetSoundOutputComponent, and then somehow play with it to extract the sound. I donno if this will lead to anywhere but I think I have run out of options.
It is not a requirement that I need to play the sound also real-time. I am more interested in just getting the sound so that I can process it and then can play it when I want.
Any help would be really appreciated. Am stuck at the moment and may have to move away from Quicktime (which I really don't wanna do), so please reply if you could.
Thanks.
cheers,
anita