[MPlayer-users] mplayer not always connect to vlc stream

Jerry Geis geisj at pagestation.com
Sun Jul 13 18:37:26 CEST 2008


I am using vlc to stream a linksys camera with the following command on 
on machine:
/usr/bin/vlc -I dummy -V dummy --quiet --http-reconnect 
http://admin:admin@192.168.1.176/img/video.asf --sout 
#std{access=http,mux=asf,dst=:8100}

On mplayer I run the command on a second machine:
/usr/local/bin/mplayer -v -v -v -monitoraspect 16:9 -ao alsa:noblock -fs 
-noconsolecontrols                      -endpos 70 http://192.168.1.8:8100

mplayer does not reliably connect to the stream. It thinks it gets end 
of file (see below).
But then I can run it again and this time it would connect.

Am I not starting something up right?         both machines are centos 
5. mplayer svn r27249. and vlc 0.8.5.

What might be happening that it doesnt always sync up.

Jerry

----------------

MPlayer dev-SVN-r27249-3.4.6 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
this_opt = option: v
Setting v=-monitoraspect
this_opt = option: monitoraspect
Setting monitoraspect=16:9
this_opt = option: ao
Setting ao=alsa:noblock
this_opt = option: fs
Setting fs=-noconsolecontrols
this_opt = option: noconsolecontrols
Setting noconsolecontrols=-endpos
this_opt = option: endpos
Setting endpos=70
Adding file http://192.168.1.8:8100
Config pushed level is now 2
Config pushed level is now 3
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.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.
Configuration: --disable-ivtv --enable-largefiles --target=athlon_xp --cc=gcc34 -m32 --as=as -32 --with-extralibdir=/usr/lib --with-extralibdir=/usr/local/lib --with-extraincdir=/usr/local/include
CommandLine: '-v' '-v' '-v' '-monitoraspect' '16:9' '-ao' 'alsa:noblock' '-fs' '-noconsolecontrols' '-endpos' '70' 'http://192.168.1.8:8100'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.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('192.168.1.8:8100.conf') -> '/root/.mplayer/192.168.1.8:8100.conf'

Playing http://192.168.1.8:8100.
get_path('sub/') -> '/root/.mplayer/sub/'
Filename for url is now http://192.168.1.8:8100
Filename for url is now http://192.168.1.8:8100
STREAM_HTTP(1), URL: http://192.168.1.8:8100
Resolving 192.168.1.8 for AF_INET6...
Connecting to server 192.168.1.8[192.168.1.8]: 8100...
Request: [GET / HTTP/1.0
Host: 192.168.1.8:8100
User-Agent: MPlayer/dev-SVN-r27249-3.4.6
Icy-MetaData: 1
Connection: close

]
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [0]
Fields:
 0 - Content-type: application/octet-stream
 1 - Cache-Control: no-cache
--- HTTP DEBUG HEADER --- END ---
Content-Type: [application/octet-stream]
Cache size set to 320 KBytes
STREAM: [null] http://192.168.1.8:8100
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeau, Reimar Doeffinger, Arpi?
STREAM: Comment: plain http
CACHE_PRE_INIT: 0 [0] 0  pre:65536  eof:0  
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x10000  
LAVF_check: ASF format
DEMUXER: freeing demuxer at 0x89bc568
DEMUXER: freeing demuxer at 0x89bc568
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x89bc568
ASF file format detected.
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 69 bytes,  stream: 0 bytes  ID: 1
unk1: 0  unk2: 0
FILEPOS=0x170
==> Found video stream: 1
[asfheader] Video stream found, -vid 1
======= VIDEO Format ======
  biSize 58
  biWidth 640
  biHeight 480
  biPlanes 1
  biBitCount 24
  biCompression 1395937357='MP4S'
  biSizeImage 0
Unknown extra header dump: [0] [0] [1] [0] [0] [0] [1] [20] [0] [84] [40] [fa] [28] [a0] [21] [e0] [a3] [1f] 
===========================
ASF: packets: -1  flags: 1  max_packet_size: 4096  min_packet_size: 4096  max_bitrate: 1000000  preroll: 2000
Found movie at 0x239 - 0x239
ASF: 0 audio and 1 video streams found
 82 00 00 11 5D 00 00 F5 04 3F 1D 00 00 82 01 98
seg 0: 01 98 DE 01 00 00 08 57 0D 00 00 F5 04 3F 1D 79
Auto-selected ASF video ID = 1
warning!  broken fragment, 478 bytes missing  
seg 1: 01 99 00 00 00 00 08 A0 0C 00 00 17 05 3F 1D 57
 82 00 00 11 5D 00 00 17 05 3F 1D 00 00 82 01 99
seg 0: 01 99 57 04 00 00 08 A0 0C 00 00 17 05 3F 1D 49
seg 1: 01 9A 00 00 00 00 08 31 0C 00 00 38 05 3F 1D 87
VIDEO:  [MP4S]  640x480  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x5334504D  size:640x480  fps:1000.000  ftime:=0.0010
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1368x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
 82 00 00 11 5D 00 00 38 05 3F 1D 00 00 82 01 9A
seg 0: 01 9A 87 07 00 00 08 31 0C 00 00 38 05 3F 1D AA
seg 1: 01 9B 00 00 00 00 08 75 0C 00 00 59 05 3F 1D 26

avg. framerate: 30 fps             
vd_ffmpeg data: b6010000, 9d030b53, a6fb1ac0, 1c0ed6fe
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
vo_debug: query(Planar YV12) returned 0x437 (i=0) 
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (640x480->640x480,flags=1,'MPlayer',0x32315659)
VO: [xv] 640x480 => 640x480 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 275 for hw scaling
[xv-fs] dx: 171 dy: 0 dw: 1026 dh: 768
[xv] dx: 171 dy: 0 dw: 1026 dh: 768
using IPB
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
(imgfmt: 32315659, planes: 0xf658c040,0xf65e9c40,0xf65d7040 strides: 640,320,320, chroma: 320x240, shift: h:1,v:1)
using IPB
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
(imgfmt: 32315659, planes: 0xf651b040,0xf6578c40,0xf6566040 strides: 640,320,320, chroma: 320x240, shift: h:1,v:1)
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
OSD chg: 3  V: no  pb:-1  
OSD chg: 2  V: no  pb:-1  
[xv] dx: 0 dy: 0 dw: 1368 dh: 768
[xv-fs] dx: 171 dy: 0 dw: 1026 dh: 768
V:490669.3   1/  1 ??% ??% ??,?% 0 0 15% 
EOF code: 1  


*** uninit(0xA41)
Uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x89bc568
DEMUXER: freeing sh_video at 0x89bce58
Config poped level=2
Config poped level=1

*** uninit(0x80)
vo: uninit ...

Exiting... (End of file)
max framesize was 3232 bytes







More information about the MPlayer-users mailing list