Error decoding buffer | Header is null, check for error
Santosh Shingare
cherishsantosh at gmail.com
Fri Sep 25 04:23:39 PDT 2015
Here I am mixing two rtmp stream and gstreamer published new stream on Red5
server. This is my pipeline
Stream1----->| |----------> | |
| RED5 | | Gstreamer|----Mux-->|
Stream2----->| | |-----------> | | |
|-----------Stream3--------------------------|
GST_DEBUG=3 gst-launch -e videomixer name=mix ! ffmpegcolorspace ! queue !
x264enc ! flvmux streamable=true ! queue2 ! rtmpsink
location='rtmp://xx.xx.xx.xx/oflaDemo/Test live=1' sync=false t1. rtmpsrc
location='rtmp://xx.xx.xx.xx/oflaDemo/Santosh live=1' ! decodebin ! videobox
border-alpha=0 top=0 left=-320 ! mix. rtmpsrc
location='rtmp://xx.xx.xx.xx/oflaDemo/Santosh live=1' ! decodebin ! videobox
border-alpha=0 top=0 left=-640 ! mix.
Red5 Server log
******************************
2015-09-25 16:18:27,832 [NioProcessor-5] INFO
org.red5.demos.oflaDemo.Application - W3C x-category:stream x-event:publish
c-ip:10.99.122.81 x-sname:8aff72f3-7277-4e04-8391-7a523d39f588 x-name:Test
2015-09-25 16:18:28,074 [NioProcessor-5] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null not new, headerSize:
3, channelId 6
2015-09-25 16:18:28,078 [NioProcessor-5] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Error decoding buffer
org.red5.server.net.protocol.ProtocolException: Header is null, check for
error
at
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:297)
~[red5.jar:na]
at
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:183)
~[red5.jar:na]
at
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:118)
~[red5.jar:na]
at
org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:57)
[red5.jar:na]
at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:241)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
[mina-core-2.0.4.jar:na]
at
org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124)
[red5.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141)
[mina-core-2.0.4.jar:na]
at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
[mina-core-2.0.4.jar:na]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
2015-09-25 16:18:28,079 [NioProcessor-5] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Decoding buffer failed but no current
connection!?
2015-09-25 16:18:28,081 [NioProcessor-5] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null not new, headerSize:
3, channelId 6
2015-09-25 16:18:28,081 [NioProcessor-5] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Error decoding buffer
org.red5.server.net.protocol.ProtocolException: Header is null, check for
error
at
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:297)
~[red5.jar:na]
at
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:183)
~[red5.jar:na]
at
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:118)
~[red5.jar:na]
.
.
.
.
.
2015-09-25 16:18:29,556 [NioProcessor-5] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Decoding buffer failed but no current
connection!?
2015-09-25 16:18:30,407 [NioProcessor-5] WARN
o.r.s.net.rtmp.RTMPMinaIoHandler - Exception caught
java.lang.OutOfMemoryError: Java heap space (Hexdump: 20 DA 21 68 7B D9 C4
89 05 E7 74 D6 2D 7A
CC 94 5B 76 E9 B5 EE 30 63 99 EB 39 C9 99 29 19 96 52 17 58 2E FB EF 42 2E
72 8D 71 A8 E8 8B E5 6E 95 76 93 0A 48 CB 62 66 B5 7A AB A6 1D E5 BA FA 81
90 28 88 63 B1 72 0C FA 4A BA 3B DF 63 8C 0
6 FE 5A BE 96 A6 2B 3D B3 89 85 65 6E 22 E7 50 91 81 2F FD A6 DA E1 1D 31 D4
29 71 3E 04 AB 21 9F 41 E6 FF DA F1 AD 26 18 43 D6 C3 14 38 CE DB FE D8 4F
C0 12 98 83 6B FF C4 F1 AA 90 72 FC 9D 2D
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Error-decoding-buffer-Header-is-null-check-for-error-tp4673833.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list