NetStream.Play.InsufficientBW problem live stream with h264

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

NetStream.Play.InsufficientBW problem live stream with h264

Giuseppe Sannicandro
Hi,
working with the latest trunk I can see NetStream.Play.InsufficientBW
if I stream live (with fmle) and h264 video codec, i have no problem
with vp6 at same bandwidth (200k for video)

Any idea?
Reply | Threaded
Open this post in threaded view
|

Re: NetStream.Play.InsufficientBW problem live stream with h264

Mondain
I believe the vp6 packets would be smaller than h.264 but if not, it could be the audio data differences that would take more bandwidth.

Paul

On Wed, Apr 6, 2011 at 7:28 AM, Giusanny <[hidden email]> wrote:
Hi,
working with the latest trunk I can see NetStream.Play.InsufficientBW
if I stream live (with fmle) and h264 video codec, i have no problem
with vp6 at same bandwidth (200k for video)

Any idea?



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/
Reply | Threaded
Open this post in threaded view
|

Re: NetStream.Play.InsufficientBW problem live stream with h264

Giuseppe Sannicandro
I was using mp3 as audio codec in both tests at 48k, but the test with vp6 video didn't give me any NetStream.Play.InsufficientBW instead of h264 video codec.
 
I could try to do the same tests with a differente audio codec?

2011/4/6 Mondain <[hidden email]>
I believe the vp6 packets would be smaller than h.264 but if not, it could be the audio data differences that would take more bandwidth.

Paul


On Wed, Apr 6, 2011 at 7:28 AM, Giusanny <[hidden email]> wrote:
Hi,
working with the latest trunk I can see NetStream.Play.InsufficientBW
if I stream live (with fmle) and h264 video codec, i have no problem
with vp6 at same bandwidth (200k for video)

Any idea?



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

Reply | Threaded
Open this post in threaded view
|

Re: NetStream.Play.InsufficientBW problem live stream with h264

Mondain
If I were you I would, but I would also see what the actual bandwidth number is. Dominick and Dan have some bandwidth handling examples that may be of use to you while you test.

Paul

On Wed, Apr 6, 2011 at 8:47 AM, Giuseppe Sannicandro <[hidden email]> wrote:
I was using mp3 as audio codec in both tests at 48k, but the test with vp6 video didn't give me any NetStream.Play.InsufficientBW instead of h264 video codec.
 
I could try to do the same tests with a differente audio codec?

2011/4/6 Mondain <[hidden email]>
I believe the vp6 packets would be smaller than h.264 but if not, it could be the audio data differences that would take more bandwidth.

Paul


On Wed, Apr 6, 2011 at 7:28 AM, Giusanny <[hidden email]> wrote:
Hi,
working with the latest trunk I can see NetStream.Play.InsufficientBW
if I stream live (with fmle) and h264 video codec, i have no problem
with vp6 at same bandwidth (200k for video)

Any idea?



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/




--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/
Reply | Threaded
Open this post in threaded view
|

Re: NetStream.Play.InsufficientBW problem live stream with h264

davealma
In reply to this post by Giuseppe Sannicandro
Wich classes or methods apply on wich objects to get the kb ussages
for the transmission!??
could you mention the name's classes!!!
Reply | Threaded
Open this post in threaded view
|

Re: Re: NetStream.Play.InsufficientBW problem live stream with h264

Giuseppe Sannicandro
Mondain, I tryed without audio only h264 video and still have insufficientBW, if you explain me how and why this appends I can try to fix it, or it depends from another thing?
 
I repeated the problem on windows and linux using the latest trunk version (i have not bandwidth problems because the tests were made in my lan)
 
thanks

2011/4/6 davealma <[hidden email]>
Wich classes or methods apply on wich objects to get the kb ussages
for the transmission!??
could you mention the name's classes!!!

Reply | Threaded
Open this post in threaded view
|

Re: Re: NetStream.Play.InsufficientBW problem live stream with h264

Giuseppe Sannicandro
i think this is the stack trace...
 
WARN: Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.beanutils.BeanMap.get(BeanMap.java:390)
at org.red5.io.amf.Output.writeObject(Output.java:357)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:300)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.amf.Output.writeObject(Output.java:357)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:300)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.amf.Output.writeObject(Output.java:357)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:300)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.object.Serializer.serialize(Serializer.java:63)
at org.red5.io.amf.Output.writeMap(Output.java:210)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:296)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.object.Serializer.serialize(Serializer.java:63)
at org.red5.server.PersistableAttributeStore.serialize(PersistableAttributeStore.java:177)
at org.red5.server.persistence.FilePersistence.saveObject(FilePersistence.java:437)
at org.red5.server.persistence.FilePersistenceThread.run(FilePersistenceThread.java:143)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.nio.BufferUnderflowException
at org.apache.mina.core.buffer.AbstractIoBuffer.getObject(AbstractIoBuffer.java:1937)
at org.apache.mina.core.buffer.AbstractIoBuffer.getObject(AbstractIoBuffer.java:1927)


2011/4/7 Giuseppe Sannicandro <[hidden email]>
Mondain, I tryed without audio only h264 video and still have insufficientBW, if you explain me how and why this appends I can try to fix it, or it depends from another thing?
 
I repeated the problem on windows and linux using the latest trunk version (i have not bandwidth problems because the tests were made in my lan)
 
thanks

2011/4/6 davealma <[hidden email]>
Wich classes or methods apply on wich objects to get the kb ussages
for the transmission!??
could you mention the name's classes!!!


Reply | Threaded
Open this post in threaded view
|

Re: NetStream.Play.InsufficientBW problem live stream with h264

Kraucer Fernandes Mazuco
Same problem here, but only when I use rtmpe.

File: /red5/webapps/redfire/video/redfire_2way.html
Content: var videoBandwidth        = getPageParameter('videoBandwidth', '15000');

File: /red5/webapps/redfire/video/redfire_video.html
Content: var videoBandwidth        = getPageParameter('videoBandwidth', '15000');

I've already changed the parameter below from 15000 to 90000 and the error keeps popping up. Where should I adjust this?

Em quinta-feira, 7 de abril de 2011 05:06:01 UTC-3, Giuseppe Sannicandro escreveu:
i think this is the stack trace...
 
WARN: Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.beanutils.BeanMap.get(BeanMap.java:390)
at org.red5.io.amf.Output.writeObject(Output.java:357)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:300)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.amf.Output.writeObject(Output.java:357)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:300)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.amf.Output.writeObject(Output.java:357)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:300)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.object.Serializer.serialize(Serializer.java:63)
at org.red5.io.amf.Output.writeMap(Output.java:210)
at org.red5.io.object.Serializer.writeObjectType(Serializer.java:296)
at org.red5.io.object.Serializer.writeComplex(Serializer.java:140)
at org.red5.io.object.Serializer.serialize(Serializer.java:86)
at org.red5.io.object.Serializer.serialize(Serializer.java:63)
at org.red5.server.PersistableAttributeStore.serialize(PersistableAttributeStore.java:177)
at org.red5.server.persistence.FilePersistence.saveObject(FilePersistence.java:437)
at org.red5.server.persistence.FilePersistenceThread.run(FilePersistenceThread.java:143)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.nio.BufferUnderflowException
at org.apache.mina.core.buffer.AbstractIoBuffer.getObject(AbstractIoBuffer.java:1937)
at org.apache.mina.core.buffer.AbstractIoBuffer.getObject(AbstractIoBuffer.java:1927)


2011/4/7 Giuseppe Sannicandro <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="9lSNBDBsWyoJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">gius...@...>
Mondain, I tryed without audio only h264 video and still have insufficientBW, if you explain me how and why this appends I can try to fix it, or it depends from another thing?
 
I repeated the problem on windows and linux using the latest trunk version (i have not bandwidth problems because the tests were made in my lan)
 
thanks

2011/4/6 davealma <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="9lSNBDBsWyoJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">davidal...@...>
Wich classes or methods apply on wich objects to get the kb ussages
for the transmission!??
could you mention the name's classes!!!


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.