View Single Post
Posts: 11 | Thanked: 0 times | Joined on Jun 2009
#19
Originally Posted by qole View Post
Ha!

This page has a suggestion that worked for my Trendnet camera! I got fullscreen video on my tablet. A slight delay, and not terribly high FPS, but it worked...

Code:
mkfifo a.mjpeg
wget -O a.mjpeg http://admin:pass@192.168.0.197/cgi/mjpg/mjpeg.cgi 2>/dev/null & mplayer -cache 32 -demuxer 35 a.mjpeg
Notes:
  • You have to do this in your home directory or something, not on a FAT partition (like /media/mmcX) otherwise mkfifo gives a permission error.
  • The -O after wget is a capital O not a zero.
  • It looks like you only have to make the a.mjpeg file (actually a pipe, not a file) one time, and then just call the wget line each time.
i had really high hopes for this, but it doesn't quite work. it says it's playing, but nothing happens. am i missing something?

btw, i looked for rc2 but couldn't figure out how to install it. again, i've never used linux before.

Code:
~ $ mkfifo a.mjpeg
mkfifo: a.mjpeg: File exists
~ $ wget -O a.mjpeg http://admin:pass@192.168.0.197/cgi/mjpg/mjpeg.cgi 2>/dev/null & mplayer -cache 32 -demuxer 35 a.mjpeg
MPlayer 1.0rc1-maemo.29.n8x0 (C) 2000-2006 MPlayer Team
CPU: ARM
Internet Tablet OS version: RX-34+RX-44+RX-48_DIABLO_5.2008.43-7_PR_MR0

[MENU] Can't open menu config file: /home/user/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing a.mjpeg.