mooncatventures-group / FFPlayer-tests

Test of FFPlayer.framework for frame extract
12 stars 4 forks source link

Where is the audio #1

Closed k-fung closed 11 years ago

k-fung commented 11 years ago

Hi, I found this great code. However, how to enable the audio? I know it is perfect in RtspFrames-test. However it is no sound in FFPlayer-tests.

mooncatventures-group commented 11 years ago

At this time the only non-commercial framework we provide that has audio is the one used for rtspplay , that uses sdl based audio. For our contract customers we can help them to get audio queues working with our code, but we have not come up with a generic lib yet.

we are actively looking at remoteIO based audio like the sdl audio uses but without sdl .

If we get that working we may decide to bundle that with our frameworks, we do expose the audio packets so you can with some effort develop your own audio classes.

mooncatventures-group commented 11 years ago

Using audio queues adds to our delay issue, delays are ok for streamed movies and videos, but a problem for real-time camera feeds. We tried various techniques both custom and commercial, the commercial offering was RadioTunes SDK, which we found performed no better than our custom ones.

The conclusion reached is that the only good way to reduce letancy is to move to remoteIo .

k-fung commented 11 years ago

Could you please give me some hints or code in apply audio queue in FFPlayer-test?

I have tried over a week with failed.

mooncatventures-group commented 11 years ago

please join our app developers group on Facebook if you can.

otherwise let me think about this.

mooncatventures-group commented 11 years ago

This is not an issue, the current framework works as planned. When we are happy with an audio api that does not interfere with performance or violate NDA's we are working under we will publish a new framework.

If you would like assistance we do offer consulting services, you may also join our application developer group on Facebook.

We are small company, about a month old and we just don't have the resources, if you like you can donate your services or money to the effort. See our company url.

k-fung commented 11 years ago

I have joined the group, and waiting for your approval. Thanks

I hope I can contribute.

mooncatventures-group commented 11 years ago

Because of the number of request for audio we've started a new project, you can help by joining our app dev group and requesting to be in the app store dev group (please note you may have to accept a friend request)

we are planning on making shareable revenue off this SDK

trushalshah commented 11 years ago

Thanks for this superb code, but where is volume when you able to provide us such gr8 script

mooncatventures-group commented 11 years ago

What do you mean by where is volume.

ffPlayer-tests does not support audio.

ffplayer-beta1 does,, but only compressed aac like what comes from a camera.

you can easily add your own more advanced audio using the provided callbacks.

Our more advanced noncommercial versions have audio and video, and support many many more formats.

http://streammore-tv.tumblr.com/post/34794206547/welcome

trushalshah commented 11 years ago

Thanks for you replay,

i have install FFPlayer-beta1 from git hub, while i am tray to set my rtsp url to play video with volume, application crash

https://github.com/mooncatventures-group/FFPlayer-beta1

i have set as this

your script

self.video = [[Frames alloc] initWithVideo:@"rtsp://:" usesTcp:YES usesAudio:YES];

i set script

self.video = [[Frames alloc] initWithVideo:@"rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov" usesTcp:YES usesAudio:YES];

its srash on this

can you please help me in this

mooncatventures-group commented 11 years ago

FFPlayer-beta1 has a very simple video/audio player using the most common aac format supported by apple, the callbacks are available to add your own more complex audio. The audioController uses the apple audio queue service but does not do any ffmpeg decoding. You certainly can do that and should be able to get big buck bunny to play. The audioController now only plays single channel aac like from security webcams, which is what many people would use this code for. If you want to be able to play a lot of different formats you should look into our streammore products which use the audio Unit api..