View Single Post
Old 05-07-2012, 01:48 PM   #41
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by hawhill View Post
PoP: I was also playing with that approach but found that my K3 will need ~15-20% CPU for SSH encryption in that case. So I switched to using netcat, i.e. raw tcp transfer.

# zcat the-vid.gmv.gz | netcat -l -p 5555
on the Desktop and

# netcat 192.168.2.1 5555 | ./gmplay
on the K3.

USB connection is fast enough for transmitting uncompressed video data.

-hwh
As I mentioned in my reply to PoP, I started with netcat. His approach is simpler, but I see from your post that it adds encryption overhead. I put netcat earlier in the pipeline though to send compressed data over USB:

host pc: # cat the-vid.gmv.gz|nc -l 5555

kindle: # nc 192.168.2.1 5555|zcat|./gmplay


Last edited by geekmaster; 05-07-2012 at 02:16 PM.
geekmaster is offline   Reply With Quote