[MPlayer-users] Problems with reading stream from AXIS 210 Webcam

Johann Horvat johann at indiecam.com
Wed Aug 29 02:36:55 CEST 2007


Hi there,

Thank you for your tipps...

I'm using debian, so I got the current source package and compiled it myself and 
this is my new output...

johann at vr-dev:~$ /opt/mplayer-1.0~rc1/mplayer 
rtsp://192.168.0.2:554/mpeg4/media.amp -v -vo png -nosound
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/johann/.mplayer/codecs.conf'
Reading /home/johann/.mplayer/codecs.conf: Can't open 
'/home/johann/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: 'rtsp://192.168.0.2:554/mpeg4/media.amp' '-v' '-vo' 'png' '-nosound'
init_freetype
get_path('font/font.desc') -> '/home/johann/.mplayer/font/font.desc'
font: can't open file: /home/johann/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/johann/.mplayer/input.conf'
Can't open input config file /home/johann/.mplayer/input.conf: No such file or 
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
get_path('media.amp.conf') -> '/home/johann/.mplayer/media.amp.conf'

Playing rtsp://192.168.0.2:554/mpeg4/media.amp.
get_path('sub/') -> '/home/johann/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://192.168.0.2:554/mpeg4/media.amp
Filename for url is now rtsp://192.168.0.2:554/mpeg4/media.amp
Filename for url is now rtsp://192.168.0.2:554/mpeg4/media.amp
Resolving 192.168.0.2 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.0.2
Connecting to server 192.168.0.2[192.168.0.2]: 554...
SDP:
v=0
o=- 1188353008451678 1188353008451692 IN IP4 192.168.0.2
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:1500
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod: 
"data:application/mpeg4-iod;base64,AoDUAE8BAf/3AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBRnVOZ0FCYmpZQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="
a=isma-compliance:1,1.0,1
m=video 0 RTP/AVP 96
b=AS:1500
a=framerate:25.0
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=247; 
config=000001B0F7000001B509000001000000012000844019285020F0A21F
a=mpeg4-esid:201

rtsp_session: unsupported RTSP server. Server type is 'unknown'.
Filename for url is now rtsp://192.168.0.2:554/mpeg4/media.amp
Filename for url is now rtsp://192.168.0.2:554/mpeg4/media.amp
STREAM_HTTP(2), URL: rtsp://192.168.0.2:554/mpeg4/media.amp
Resolving 192.168.0.2 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.0.2
Connecting to server 192.168.0.2[192.168.0.2]: 554...
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [26]
Fields:
  0 - Content-Type: text/plain
  1 - Content-Length: 26
--- HTTP DEBUG HEADER --- END ---
Content-Type: [text/plain]
Content-Length: [26]
Cache size set to 320 KBytes
STREAM: [null] rtsp://192.168.0.2:554/mpeg4/media.amp
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeu, Arpi? who?
STREAM: Comment: plain http, also used as fallback for many other protocols
CACHE_PRE_INIT: 0 [0] 0  pre:65536  eof:0
Cache fill:  0.01% (26 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename rtsp://192.168.0.2:554/mpeg4/media.amp ext: .amp
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 111
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND ffffff00, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=20079 size=1702064993
LMLM4 Stream Format not found
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 
sps: 0 pps: 0 PES: 0  MP3: 0, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 
sps: 0 pps: 0 PES: 0  MP3: 0, synced: 3
Not MPEG System Stream format... (maybe Transport Stream?)
ds_fill_buffer: EOF reached (stream: video)
demux_aac_probe, failed to detect an AAC stream

----------------------------------
It seems, that mplayer did not recogize the MPEG stream... ;-(, so I tried the 
same url with vlc and it worked ;-(

My problem is, that need the mplayer ability to use numbered png files as the 
output "device"...

Some other questions:

- What does
   rtsp_session: unsupported RTSP server. Server type is 'unknown'.
mean? Is there something wrong in my axis configuration?

- I tried to tune up the axis webcam server:
    GOV settings: I tried I and IP structure, includeing GOV length (1-150) - 
but none of them worked...

- I also tried to switch to a constant bitrate (750 kbit) - no success ;-(


Carl Eugen Hoyos schrieb:
> Hi!
> 
> On 2007-08-28 19:13, Johann Horvat wrote:
> 
>> We have an AXIS 210 Webcam, it is configured to stream a MPEG4 with 320x200, 
>> Video Object type=Simple (H.263), NO AUDIO!
> 
> In case somebody has access to this kind of camera with audio support:
> Audio can't be received by MPlayer atm, I'd need a connection to the
> camera to fix that.

Thanks, but we don't use audio... (It's completely disables on the Axis server)

Best regards
Johann



More information about the MPlayer-users mailing list