[Live-devel] StreamParser Error...

Ioannis Skazikis iskaz at intracom.gr
Wed Sep 7 09:46:54 PDT 2005


Ross Finlayson wrote:

> At 01:06 AM 9/6/2005, you wrote:
>
>> Hallo, I just want to ask what this messege means..?
>>
>> I am Streaming from a live source and changen the DeviceSource files and
>> the testMPEG4VideoStream files.
>> I can see a nice picture from mplayer, but the server writes these
>> errors all the time.
>>
>> Beginning streaming...
>> Beginning to read from file...
>> StreamParser::afterGettingBytes() warning: read 29112 bytes; expected no
>> more than 26795
>
>
> This error message indicates that there is an error in your input
> source class (i.e., the class that you wrote by modifying
> "DeviceSource").  In particular, your input source class is apparently
> trying to deliver more data than will fit in the supplied buffer
> (i.e., "fMaxSize").  Your input source class *must not* deliver more
> than "fMaxSize" bytes.  See "DeviceSource.cpp".
>
>
>     Ross Finlayson
>     Live Networks, Inc. (LIVE.COM)
>     <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
Thanks for your answer, now the server works better.

I have on more question that I hoppe you can advise me. By playing the
stream from Mplayer , the mplayer's output is this:

[root at pcsx1]# mplayer -fps 30 rtsp://100.181.0.171:8554/testStream

MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.

Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing rtsp://100.181.0.171:8554/testStream.
Resolving 100.181.0.171 for AF_INET6...
Couldn't resolve name for AF_INET6: 100.181.0.171
Connecting to server 100.181.0.171[100.181.0.171]:8554 ...
rtsp_session: Not a Real server. Server type is 'unknown'.
Not a Realmedia rtsp url. Trying standard rtsp protocol.
Connected to server: 100.181.0.171
This stream is non-cacheable
Stream not seekable!
Initiated "video/MP4V-ES" RTP subsession
VIDEO:  [mp4v]  0x0  0bpp  0,000 fps    0,0 kbps ( 0,0 kbyte/s)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
FPS forced to be 30,000  (ftime: 0,033).
Starting playback...
[mpeg4 @ 0x85bced0]header damaged
Error while decoding frame!
[mpeg4 @ 0x85bced0]header damaged0 0%
Error while decoding frame!
VDec: vo config request - 160 x 120 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xv] 160x120 => 160x120 Planar YV12  [zoom]
[mpeg4 @ 0x85bced0]concealing 207 errors
[mpeg4 @ 0x85bced0]concealing 99 errors
[mpeg4 @ 0x85bced0]dc marker bit missing
[mpeg4 @ 0x85bced0]Error at MB: 9
[mpeg4 @ 0x85bced0]concealing 2147483647 errors
[mpeg4 @ 0x85bced0]concealing 105 errors
[mpeg4 @ 0x85bced0]header damaged0 0%
Error while decoding frame!
[mpeg4 @ 0x85bced0]ac-tex damaged at 5 0
[mpeg4 @ 0x85bced0]Error at MB: 5
[mpeg4 @ 0x85bced0]concealing 2147483647 errors
[mpeg4 @ 0x85bced0]ac-tex damaged at 3 4
[mpeg4 @ 0x85bced0]Error at MB: 47
[mpeg4 @ 0x85bced0]concealing 2147483647 errors
[mpeg4 @ 0x85bced0]header damaged0 0%
Error while decoding frame!


Any idea what stills wrong in my Program?
The encoding of the frame is done with help of XVID lib.

Again thanks for your help!

Ioannis.
PS: Sory about my bad english....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20050907/b6612b57/attachment.html


More information about the live-devel mailing list