|
|
Rank: Newbie Coder Groups: Member
Joined: 3/26/2012 Posts: 2 Points: 6 Location: España
|
Hello, Im trying the Communication Library for iOS to make a live streaming between iOS and a Wowza server. Im having a problem with the default codecs setting.
Wowza logs are:
Invalid video codec for iPhone/iPod: SPARK Invalid audio codec for iPhone/iPod:NELLYMOSER_16MONO
There are any way to change the codec settings?
Thanks in advance and kind regards.
|
|
 Rank: Apprentice Coder Groups: Member
Joined: 3/23/2012 Posts: 30 Points: 87 Location: Kiev, Ukraine
|
Hi ueshiba, Now MediLibiOS library uses H.263 (Sorenson) for video and Nelly Moser 16k for audio, and it can not be changed. Wowza Media Server 3 has those codecs by default, and you can use MediaLibiOS library for publishing of media streams from your iOS devices. For example, you can install the live app on Wowza, and try VideoStreamPublisher demo app from package MediaLibDemos.zip (http://www.themidnightcoders.com/download.html). Regards, Slava ______________ Slava Vdodichenko Midnight Coders, Inc. slavav@themidnightcoders.com
|
|
Rank: Newbie Coder Groups: Member
Joined: 3/26/2012 Posts: 2 Points: 6 Location: España
|
slavav wrote:Hi ueshiba, Now MediLibiOS library uses H.263 (Sorenson) for video and Nelly Moser 16k for audio, and it can not be changed. Wowza Media Server 3 has those codecs by default, and you can use MediaLibiOS library for publishing of media streams from your iOS devices. For example, you can install the live app on Wowza, and try VideoStreamPublisher demo app from package MediaLibDemos.zip (http://www.themidnightcoders.com/download.html). Regards, Slava ______________ Slava Vdodichenko Midnight Coders, Inc. slavav@themidnightcoders.com Hi Slava, thank you for your answer. I was using the example that you recommend me, but when I send the video to the Wowza Media Server 3, it cant convert the video from Sorenson codec to H264, I was trying to configure the transcoder and transrate in Wowza, but I cant make the conversion. Maybe I need a special transcoder in Wowza to make it? Thanks in advance and kind regards.
|
|
 Rank: Administration Groups: Administration
Joined: 8/21/2006 Posts: 1,607 Points: 4,082 Location: Frisco, TX
|
Hi, Have you tried posting your question on the Wowza discussion forum? It sounds like it is more applicable to the server-side of your stack? Thanks, Mark
Mark Piller Midnight Coders, Inc. twitter: midnightcoderblog: blog.themidnightcoders.comwebsite: www.themidnightcoders.com
|
|
Rank: Newbie Coder Groups: Member
Joined: 5/5/2012 Posts: 1 Points: 3
|
Hi,
I encountered the same problem. It is, indeed, not a problem for either server or client side, it is just an incompatibility. Is there no way to change MediaLibiOS codec to H.264? H.264 is the de-facto Apple encoding, after all. That would make both sides compatible.
Thanks.
|
|
Rank: Newbie Coder Groups: Member
Joined: 5/6/2012 Posts: 2 Points: 6 Location: India
|
I am facing same problem, I am unable to play m3u8 file when i publish the stream using MediaStreamPublisher demo app but same thing is working when i tried to use Flash publishing app.
So this means serve rside is ok just need to change client side, because when i had faced similar problme in Flash i changed some settings on client side and everything worked.But dont know how to do this on IOS.
|
|
 Rank: Administration Groups: Administration
Joined: 8/21/2006 Posts: 1,607 Points: 4,082 Location: Frisco, TX
|
The H.264 codec is not available from the API perspective. Apple intentionally made it private. Any library which provides H.264 encoding must comply with the patent and the publisher must pay royalties to the patent owner. We have not worked out such an agreement and as a result the H.264 encoder is not available with our software. Regards, Mark
Mark Piller Midnight Coders, Inc. twitter: midnightcoderblog: blog.themidnightcoders.comwebsite: www.themidnightcoders.com
|
|
Rank: Newbie Coder Groups: Member
Joined: 9/6/2012 Posts: 1 Points: 3 Location: India
|
Hi, Wowza does not support H.263 format for videos, nor does the transcoder plugin that comes with it. These are the supported formats by the transcoder plugin - Decoding Video: MPEG2, MPEG4 Part 2, H.264/AVC Audio: MP3, AAC (LC & HE), MPEG1 Part 1/2, Speex, G.711 Encoding Video: H.264/AVC Audio: AAC (LC & HE)
So maybe if you cannot stream the video in h.264 format, you could change it to - MPEG2, MPEG4 Part 2. That would solve a lot of problems for a lot of developers building on Wowza and also you would see your library usage increase a lot. If only you can support Wowza formats ! Kind Regards, Rahul
|
|
Rank: Newbie Coder Groups: Member
Joined: 1/16/2013 Posts: 1 Points: 3 Location: St. Paul
|
from the help page of another existing iPhone encoder for Wowza server. It is shown on its help page at http://stevemcfarlin.com/livu/help.html#h.264 . Its H.264 encoder used is the "native hardware H.264 encoder". So my question is, can your lib use the "native hardware H.264 encoder" to encode the video. Please do not worry about the video bandwidth. We can set it to the smallest video size if we have bandwidth issue. it is fine to do the lowest video resolution for us. Thanks!
|
|
|
Guest |