[MPlayer-users] mjpg streaming playback from an ip camera

Srinivas Burugupalli srini208 at hotmail.com
Thu Jun 9 21:13:00 CEST 2005


Hi, I tried that
and i got this output. The player window was black and nothing was visible.

heres the output

[root at localhost root]# mkfifo fifo1.mjpeg
[root at localhost root]# wget 
http://80.120.122.18/axis-cgi/mjpg/video.cgi?resolut
ion=320x240 -O fifo1.mjpeg & gmplayer -demuxer 33 fifo1.mjpeg
[1] 6535
MPlayer 1.0pre7-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local 
display)
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing /root/fifo1.mjpeg.
--13:29:27--  
http://80.120.122.18/axis-cgi/mjpg/video.cgi?resolution=320x240
           => `fifo1.mjpeg'
Connecting to 80.120.122.18:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [multipart/x-mixed-replace]

    [            <=>                      ] 168,374      757.52B/s           
   C
annot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
    [                  <=>                ] 321,466        1.00K/s
    [                  <=>               ] 329,658        1.03K/s


Cannot write to `video.cgi?resolution=320x240.4' (Broken pipe).
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing /root/fifo1.mjpeg.


Can somebody tell me what the problem is? i am not able to get tis to work 
:(
Thanks in advance
-Srinivas








>From: RC <rcooley at spamcop.net>
>Reply-To: "MPlayer usage questions, feature requests,  bug reports" 
><mplayer-users at mplayerhq.hu>
>To: "MPlayer usage questions, feature requests,  bug reports" 
><mplayer-users at mplayerhq.hu>
>Subject: Re: [MPlayer-users] mjpg streaming playback from an ip camera
>Date: Wed, 8 Jun 2005 19:25:59 -0700
>
>On Wed, 08 Jun 2005 20:53:39 -0400
>"Srinivas Burugupalli" <srini208 at hotmail.com> wrote:
>
> > Can somebody tell me how to stream the motion jpeg video over http
> > using mplayer?
>
>It isn't pretty, but it works:
>
>mkfifo fifo.mjpeg
>wget 'http://80.120.122.18/axis-cgi/mjpg/video.cgi?resolution=320x240' -
>Ofifo.mjpeg &
>mplayer -demuxer 35 fifo.mjpeg
>
>
>lavf seems to be the only demuxer with support for mjpeg, and
>it can only detect content by filename extension.
>
> > Thanks in advance for any help.
> > i am lost. Am i missing somehting basic and conceptual?
> > Thank you.
>
>No, you've got the right idea.  MPlayer can be very difficult to use at
>times...
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the MPlayer-users mailing list