Is there some magic to getting mvpmc to launch via telnet?

When I tried it, it seemed to go into an endless loop:

# mvpmc -s 192.168.0.203 --web-port 80
child pid 213
MediaMVP Media Center
Version 0.3.2-pre
Re-starting to convince aspect ratio stuff to work...
Sun Dec 3 03:00:34 EST 2006child exited cleanly
child pid 214
MediaMVP Media Center
Version 0.3.2-pre
Sun Dec 3 03:00:34 EST 2006NTSC mode, 720x480
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
screen is 720 x 480
Initializing PAT Decoder
approximate heap size 286720
audio write thread started (pid 216)
Allocated 4194304 heap bytes
Allocated guard page
mpeg read thread started (pid 217)
video write thread started (pid 218)
audio thread started (pid 219)
Demux size video: 2097152  audio: 524288
Setting WSS aspect to: 8
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
child failed, with status 11, restarting...
child pid 222
MediaMVP Media Center
Version 0.3.2-pre
Sun Dec 3 03:00:34 EST 2006NTSC mode, 720x480
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
screen is 720 x 480
Initializing PAT Decoder
approximate heap size 286720
audio write thread started (pid 224)
Allocated 4194304 heap bytes
Allocated guard page
mpeg read thread started (pid 225)
video write thread started (pid 226)
audio thread started (pid 227)
Demux size video: 2097152  audio: 524288
# mvpmc -s 192.168.0.203
child pid 231
MediaMVP Media Center
Version 0.3.2-pre
Re-starting to convince aspect ratio stuff to work...
Sun Dec 3 03:00:34 EST 2006child exited cleanly
child pid 232
MediaMVP Media Center
Version 0.3.2-pre
Sun Dec 3 03:00:34 EST 2006NTSC mode, 720x480
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
screen is 720 x 480
Initializing PAT Decoder
approximate heap size 286720
audio write thread started (pid 234)
Allocated 4194304 heap bytes
Allocated guard page
mpeg read thread started (pid 235)
video write thread started (pid 236)
audio thread started (pid 237)
Demux size video: 2097152  audio: 524288
Setting WSS aspect to: 8
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
nano-X: GsError Bad window size: 0
child failed, with status 11, restarting...
child pid 240
MediaMVP Media Center
Version 0.3.2-pre
Sun Dec 3 03:00:34 EST 2006NTSC mode, 720x480
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
screen is 720 x 480
Initializing PAT Decoder
approximate heap size 286720
audio write thread started (pid 242)
Allocated 4194304 heap bytes
Allocated guard page
mpeg read thread started (pid 243)
video write thread started (pid 244)
audio thread started (pid 245)
Demux size video: 2097152  audio: 524288
[...]


Also, after a successful launch (via dongle.bin.config) the process 
table on the MVP looks like:

# ps
   PID  Uid     VmSize Stat Command
     1 root        160 S   init
     2 root            SW  [keventd]
     3 root            SWN [ksoftirqd_CPU0]
     4 root            SW  [kswapd]
     5 root            SW  [bdflush]
     6 root            SW  [kupdated]
     7 root            Z   [cifsoplockd]
     8 root            SW  [mtdblockd]
    50 root        112 S   /usr/sbin/telnetd
    76 root        136 S   udhcpc
    88 root         84 S   /bin/ntpclient -d -l -h 192.168.0.35
    89 root        356 S   mvpmc -s 192.168.0.203 --web-port 80
    96 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
    97 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
    98 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
    99 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   100 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   101 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   102 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   103 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   104 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   105 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   106 root       8040 S   mvpmc -s 192.168.0.203 --web-port 80
   107 root        228 S   -sh
   109 root        168 R   ps


The debug output when I launched mvpmc via telnet mentions various 
threads. If mvpmc is multithreaded, then why all the child processes?

  -Tom

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mvpmc-users mailing list
Mvpmc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to