[Elphel-support] strreaming problem...
Carlos Padial
palidoestudio2 at gmail.com
Fri May 18 05:53:56 PDT 2012
> PC's OS - ?
ok, lets me explain...
i have two computers. A netbook (samsung n150, atom) with linux mint
12 32 bits, ubuntu 10.10 32 bits, and with this computer i also use
the live usb.
The second one is an intel i7 with linux mint 12 64bits, ubuntu 12.04
32bits, (and till yesterday ubuntu 11.10)
When i try the live usb with this computer it works badly...
(resolution is 640x400 and window management gests crazy everytime...
making it unusable...
When i have tried to install the usb, it doenst seems to recognice the
password i entered during the instalation so i'm only working with the
live version.
I have tried mplayer with all of this OS and the results are similar.
With the liveusb in the atom netbook i believe the problem is that the
netbook seems not to be able to open high resolution streams, with
1920x1088 (128K) dont show any image, but i tried 640x480 (24k) and
the image is showed and even mantained for a long time (30-50 seconds)
But after that mplayer exits
The best results i had was in the i7 with ubuntu 12, mplayer (MPlayer
svn r34540 (Ubuntu) and 640x480 (24k) , the live preview was working
without stop (i stopped it)
when i setup 1280x720 (73k) and mplayer dont show the image...
i come back to 640x480 (27k) and the live preview works fine... this
is the only setup showing the live preview non stop...
with 800x600 (40k) the preview show the image for 2 seconds and then stops..
above this resolution the image is not showed (only one time each 10...
> Camera firmware - ?
Firmware Version: Elphel (R) Model 353 Camera release 8.1.2
> FPS = 24?
now i'm limitting fps to 25 (using instructions from wiki FPScontrol)
> Image dimensions and size - 1920x1088, 100-150KB?
> Mplayer version (let's stick to mplayer)?
MPlayer svn r34540 (Ubuntu) (in ubuntu 12, where i have the best
results for the moment)
> During that 5-10 sec of working the window with image opens, right? or it
> just crashes not showing anything?
when i say mplayer is working i mean it opens a window and the image
is showed. Then the window close and mplayer says:
Exiting... (End of file)
> 2. Some things that you could try:
> Does mplayer act the same if you boot from our LiveUSB?
Yes, the response is similar but i need to run liveUSB correctly in
the i7 to test...
> Check the CPU usage on the camera - "top" or "ps" from the telnet session -
> could also you send us this info?
top-------------------------------------------------------------------------------------------
Mem: 27384K used, 12992K free, 0K shrd, 0K buff, 16248K cached
CPU: 0% usr 0% sys 0% nic 98% idle 0% io 0% irq 0% sirq
Load average: 0.27 0.26 0.26 5/34 2001
PID PPID USER STAT VSZ %MEM %CPU COMMAND
751 1 root S 4136 10% 1% /usr/local/sbin/autoexposure
2001 1996 root R 1496 4% 0% top
830 829 root S 44928 111% 0% /usr/local/bin/str
827 1 root S 44928 111% 0% /usr/local/bin/str
829 827 root S 44928 111% 0% /usr/local/bin/str
765 763 root S 30936 76% 0% /usr/local/sbin/php
764 763 root S 30936 76% 0% /usr/local/sbin/php
763 759 root S 30872 76% 0% /usr/local/sbin/php
759 1 root S 5336 13% 0% /usr/local/sbin/lighttpd -f /etc/light
727 1 root S 1480 4% 0% /usr/sbin/dropbear
716 1 root S 1432 4% 0% /bin/vftpd -r
1996 712 root S 1352 3% 0% -sh
647 1 root S 1352 3% 0% /bin/sh
654 1 root S 1312 3% 0% /usr/sbin/syslogd -m 0 -o 40000
657 1 root S 1144 3% 0% /usr/sbin/klogd -x
1 0 root S 1136 3% 0% init
746 1 root S 1136 3% 0% /usr/local/sbin/imgsrv -p 8081
651 1 root S 1136 3% 0% /sbin/respawnd
712 1 root S 1136 3% 0% /bin/utelnetd -d
752 1 root S 1120 3% 0% /usr/local/sbin/launch_php_script 2 /u
this is top with the camera configured with 1280x720 (73k)
then i start mplayer in other terminal and the streamed video is
showed for 2 seconds... when the mplayer stop, top show this other
info:
Mem: 27456K used, 12920K free, 0K shrd, 0K buff, 16248K cached
CPU: 0% usr 1% sys 0% nic 97% idle 0% io 0% irq 1% sirq
Load average: 0.20 0.24 0.25 2/34 2001
PID PPID USER STAT VSZ %MEM %CPU COMMAND
2001 1996 root R 1496 4% 1% top
751 1 root S 4136 10% 0% /usr/local/sbin/autoexposure
830 829 root S 44928 111% 0% /usr/local/bin/str
750 1 root R 1120 3% 0% /usr/local/sbin/autocampars
827 1 root S 44928 111% 0% /usr/local/bin/str
829 827 root S 44928 111% 0% /usr/local/bin/str
765 763 root S 30936 76% 0% /usr/local/sbin/php
764 763 root S 30936 76% 0% /usr/local/sbin/php
763 759 root S 30872 76% 0% /usr/local/sbin/php
759 1 root S 5336 13% 0% /usr/local/sbin/lighttpd -f /etc/light
727 1 root S 1480 4% 0% /usr/sbin/dropbear
716 1 root S 1432 4% 0% /bin/vftpd -r
1996 712 root S 1352 3% 0% -sh
647 1 root S 1352 3% 0% /bin/sh
654 1 root S 1312 3% 0% /usr/sbin/syslogd -m 0 -o 40000
ps-------------------------------------------
PID USER VSZ STAT COMMAND
1 root 1136 S init
2 root 0 SWN [ksoftirqd/0]
3 root 0 SW [watchdog/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
6 root 0 SW< [kthread]
8 root 0 SW< [kblockd/0]
11 root 0 SW< [khubd]
23 root 0 SW [pdflush]
24 root 0 SW [pdflush]
25 root 0 SW< [kswapd0]
26 root 0 SW< [aio/0]
568 root 0 SW [mtdblockd]
602 root 0 SWN [jffs2_gcd_mtd4]
647 root 1352 S /bin/sh
651 root 1136 S /sbin/respawnd
654 root 1312 S /usr/sbin/syslogd -m 0 -o 40000
657 root 1144 S /usr/sbin/klogd -x
712 root 1136 S /bin/utelnetd -d
716 root 1432 S /bin/vftpd -r
727 root 1480 S /usr/sbin/dropbear
746 root 1136 S /usr/local/sbin/imgsrv -p 8081
750 root 1120 S /usr/local/sbin/autocampars
751 root 4136 S /usr/local/sbin/autoexposure
752 root 1120 S /usr/local/sbin/launch_php_script 2 /usr/local/sbin/c
759 root 5336 S /usr/local/sbin/lighttpd -f /etc/lighttpd.conf -m /us
763 root 30872 S /usr/local/sbin/php
764 root 30936 S /usr/local/sbin/php
765 root 30936 S /usr/local/sbin/php
827 root 44928 S /usr/local/bin/str
829 root 44928 S /usr/local/bin/str
830 root 44928 S /usr/local/bin/str
1996 root 1352 S -sh
2002 root 1488 R ps
usually when i use telnet after mplayer exits, telnet didnt respond for a while.
it seems that with gstreamer when this happends, i need to restart the
camera, but with mplayer i dont need to restart the camera (yet)
> Your PC/laptop CPU usage?
top running in my i7 (ubuntu 12.04) shows:
top - 13:55:00 up 1:49, 4 users, load average: 0.92, 0.97, 1.04
Tasks: 198 total, 2 running, 196 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.8%us, 0.5%sy, 0.0%ni, 97.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 12401224k total, 2853840k used, 9547384k free, 142224k buffers
Swap: 524284k total, 0k used, 524284k free, 1919880k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2662 root 20 0 70732 51m 12m S 6 0.4 7:02.82 Xorg
3346 carlos 20 0 467m 161m 23m S 3 1.3 5:35.28
plugin-containe
2913 carlos 20 0 328m 164m 38m S 2 1.4 13:12.51 compiz
1659 carlos 9 -11 171m 5696 4104 S 1 0.0 1:23.66
pulseaudio
3884 carlos 20 0 96084 17m 11m S 1 0.1 0:29.12
gnome-terminal
3309 carlos 20 0 547m 179m 32m S 0 1.5 4:15.87 firefox
5669 root 20 0 0 0 0 S 0 0.0 0:00.91
kworker/0:1
5825 carlos 20 0 2836 1200 884 R 0 0.0 0:00.03 top
1 root 20 0 3636 1984 1284 S 0 0.0 0:01.26 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:00.12
ksoftirqd/0
6 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/0
7 root RT 0 0 0 0 S 0 0.0 2:09.07
watchdog/0
8 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/1
10 root 20 0 0 0 0 S 0 0.0 0:00.05
ksoftirqd/1
12 root RT 0 0 0 0 S 0 0.0 0:29.46
watchdog/1
13 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/2
15 root 20 0 0 0 0 S 0 0.0 0:00.05
ksoftirqd/2
16 root RT 0 0 0 0 S 0 0.0 0:00.01
watchdog/2
17 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/3
19 root 20 0 0 0 0 S 0 0.0 0:00.03
ksoftirqd/3
20 root RT 0 0 0 0 S 0 0.0 0:00.04
watchdog/3
21 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/4
23 root 20 0 0 0 0 S 0 0.0 0:00.01
ksoftirqd/4
24 root RT 0 0 0 0 S 0 0.0 0:00.01
watchdog/4
25 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/5
27 root 20 0 0 0 0 S 0 0.0 0:00.00
ksoftirqd/5
28 root RT 0 0 0 0 S 0 0.0 0:00.01
watchdog/5
29 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/6
30 root 20 0 0 0 0 S 0 0.0 0:00.00
kworker/6:0
31 root 20 0 0 0 0 S 0 0.0 0:00.00
ksoftirqd/6
32 root RT 0 0 0 0 S 0 0.0 0:00.01
watchdog/6
33 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/7
35 root 20 0 0 0 0 S 0 0.0 0:00.01
ksoftirqd/7
36 root RT 0 0 0 0 S 0 0.0 0:00.01 watchdog/7
> Best regards,
> Oleg Dzhimiev
> Electronics Engineer
> phone: +1 801 783 5555 x124
> Elphel, Inc.
--
Carlos Padial
surreal.asturnazari.es
More information about the Support-list
mailing list