<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ross Finlayson wrote:
<blockquote cite="mid6.2.3.4.1.20050906013811.028be5e0@localhost"
type="cite">At 01:06 AM 9/6/2005, you wrote:
<br>
<blockquote type="cite">Hallo, I just want to ask what this messege
means..?
<br>
<br>
I am Streaming from a live source and changen the DeviceSource files
and
<br>
the testMPEG4VideoStream files.
<br>
I can see a nice picture from mplayer, but the server writes these
<br>
errors all the time.
<br>
<br>
Beginning streaming...
<br>
Beginning to read from file...
<br>
StreamParser::afterGettingBytes() warning: read 29112 bytes; expected
no
<br>
more than 26795
<br>
</blockquote>
<br>
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".
<br>
<br>
<br>
Ross Finlayson
<br>
Live Networks, Inc. (LIVE.COM)
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.live.com/"><http://www.live.com/></a>
<br>
<br>
_______________________________________________
<br>
live-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live.com">live-devel@lists.live.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.live.com/mailman/listinfo/live-devel">http://lists.live.com/mailman/listinfo/live-devel</a>
<br>
<br>
</blockquote>
Thanks for your answer, now the server works better. <br>
<br>
I have on more question that I hoppe you can advise me. By playing the
stream from Mplayer , the mplayer's output is this:<br>
<br>
[<small>root@pcsx1]# mplayer -fps 30
rtsp://100.181.0.171:8554/testStream<br>
<br>
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team<br>
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)<br>
Detected cache-line size is 64 bytes<br>
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1<br>
Compiled with runtime CPU detection - WARNING - this is not optimal!<br>
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.<br>
</small><br>
<small>Can't open joystick device /dev/input/js0 : No such file or
directory<br>
Can't init input joystick<br>
Setting up LIRC support...<br>
mplayer: could not connect to socket<br>
mplayer: No such file or directory<br>
Failed to open LIRC support.<br>
You will not be able to use your remote control.<br>
Playing rtsp://100.181.0.171:8554/testStream.<br>
Resolving 100.181.0.171 for AF_INET6...<br>
Couldn't resolve name for AF_INET6: 100.181.0.171<br>
Connecting to server 100.181.0.171[100.181.0.171]:8554 ...<br>
rtsp_session: Not a Real server. Server type is 'unknown'.<br>
Not a Realmedia rtsp url. Trying standard rtsp protocol.<br>
Connected to server: 100.181.0.171<br>
This stream is non-cacheable<br>
Stream not seekable!<br>
Initiated "video/MP4V-ES" RTP subsession<br>
VIDEO: [mp4v] 0x0 0bpp 0,000 fps 0,0 kbps ( 0,0 kbyte/s)<br>
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" =>
local display)<br>
==========================================================================<br>
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family<br>
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)<br>
==========================================================================<br>
Audio: no sound<br>
FPS forced to be 30,000 (ftime: 0,033).<br>
Starting playback...<br>
[mpeg4 @ 0x85bced0]header damaged<br>
Error while decoding frame!<br>
[mpeg4 @ 0x85bced0]header damaged0 0%<br>
Error while decoding frame!<br>
VDec: vo config request - 160 x 120 (preferred csp: Planar YV12)<br>
VDec: using Planar YV12 as output csp (no 0)<br>
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.<br>
VO: [xv] 160x120 => 160x120 Planar YV12 [zoom]<br>
[mpeg4 @ 0x85bced0]concealing 207 errors<br>
[mpeg4 @ 0x85bced0]concealing 99 errors<br>
[mpeg4 @ 0x85bced0]dc marker bit missing<br>
[mpeg4 @ 0x85bced0]Error at MB: 9<br>
[mpeg4 @ 0x85bced0]concealing 2147483647 errors<br>
[mpeg4 @ 0x85bced0]concealing 105 errors<br>
[mpeg4 @ 0x85bced0]header damaged0 0%<br>
Error while decoding frame!<br>
[mpeg4 @ 0x85bced0]ac-tex damaged at 5 0<br>
[mpeg4 @ 0x85bced0]Error at MB: 5<br>
[mpeg4 @ 0x85bced0]concealing 2147483647 errors<br>
[mpeg4 @ 0x85bced0]ac-tex damaged at 3 4<br>
[mpeg4 @ 0x85bced0]Error at MB: 47<br>
[mpeg4 @ 0x85bced0]concealing 2147483647 errors<br>
[mpeg4 @ 0x85bced0]header damaged0 0%<br>
Error while decoding frame!<br>
<br>
<big><br>
Any idea what stills wrong in my Program?<br>
The encoding of the frame is done with help of XVID lib.<br>
<br>
Again thanks for your help!<br>
<br>
Ioa</big>nnis.<br>
<big>PS: Sory about my bad english....</big></small><br>
</body>
</html>