ashish-codeware / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

"could not write output packet" on publishing stream #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am getting the following error when i publish my stream to my red5 
application which extends VideoTranscoderDemoAdapter. I have attached my 
Application.java file.

Printing Statistics for: com.gift.meetings.core.webapps.Application$1
|-------------------|---|---------|-----|-----|-------|
| Measurement Point | # | Average | Min | Max | Total |
|-------------------|---|---------|-----|-----|-------|
Printing Statistics for: com.gift.meetings.core.webapps.Application$1
|-------------------|---|---------|-----|-----|-------|
| Measurement Point | # | Average | Min | Max | Total |
|-------------------|---|---------|-----|-----|-------|
2009-12-04 02:49:43,864 [NioProcessor-1] INFO  
org.red5.server.stream.ClientBroadcastStream - Stream start
2009-12-04 02:49:43,974 [NioProcessor-1] INFO  
org.red5.server.stream.VideoCodecFactory - Trying codec 
org.red5.server.stream.codec.ScreenVideo@8a1f38
2009-12-04 02:49:43,974 [NioProcessor-1] INFO  
org.red5.server.stream.VideoCodecFactory - Trying codec 
org.red5.server.stream.codec.SorensonVideo@7ae6d
java.lang.RuntimeException: could not write output packet
    at com.xuggle.red5.Transcoder.writePacket(Transcoder.java:817)
    at com.xuggle.red5.Transcoder.encodeVideo(Transcoder.java:938)
    at com.xuggle.red5.Transcoder.decodeVideo(Transcoder.java:888)
    at com.xuggle.red5.Transcoder.transcode(Transcoder.java:453)
    at com.xuggle.red5.Transcoder.run(Transcoder.java:382)
    at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: could not write output packet
    at com.xuggle.red5.Transcoder.writePacket(Transcoder.java:817)
    at com.xuggle.red5.Transcoder.encodeVideo(Transcoder.java:938)
    at com.xuggle.red5.Transcoder.decodeVideo(Transcoder.java:888)
    at com.xuggle.red5.Transcoder.transcode(Transcoder.java:453)
    at com.xuggle.red5.Transcoder.run(Transcoder.java:382)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by tamourah...@gmail.com on 3 Dec 2009 at 9:58

Attachments:

GoogleCodeExporter commented 9 years ago
Guys i have solved the issue. I was using it with the war version of red5. The 
latest 
war is 0.8 and Xuggler works with 0.9 because red5 does not maintain backward 
compatibility. I have made red5 war 0.9 myself . Its simple.

DELETE the contents of "Tomcat 6.0\webapps\red5\WEB-INF\classes\org\red5".
Get the latest "red5.jar" from any installation of 0.9RC1 or 0.9RC2.
EXTRACT it, copy the classes in it and paste it in the directory where you 
deleted 
the the contents.
And your done.
It worked for me

Original comment by tamourah...@gmail.com on 4 Dec 2009 at 9:43

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by art.cla...@gmail.com on 4 Dec 2009 at 2:19