Author Topic: streaming to the Z with VLC.  (Read 3844 times)

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
streaming to the Z with VLC.
« on: November 06, 2004, 04:49:14 am »
If you have a desktop pc powerfull enough, you can stream real time transcoded video to you Z
using vlc.

Go to open file (advanced), chose your file,
click on output check box and in parameters
 choose click http and put the ip of your pc (ie 192.168.0.1)
choose MPEG 1,
mp1V for video codec, 512 kbps, scale 1
mp2a 96 kbps

then on your Z use your mplayer favorite options (I think -framedrop is a must,
see  
this thread)

and open http://192.168.0.1:1234.

I choose mpge1 as I think its decompression is less cpu intensive, with
the above options  video (a cartoon) was watchable, try by yourself there are lots of other choices

You can also stream a DVD an watch it on your Z this way

Anyway  maybe some will find this usefull.
« Last Edit: November 06, 2004, 04:50:48 am by pgas »
SLC-860 cacko / senao wifi

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
streaming to the Z with VLC.
« Reply #1 on: November 06, 2004, 06:27:07 am »
Hi, thanks for the great info, I would love to try this out.  Unfortunately my version of vls under Debian Unstable didn't come with a configuration GUI and I can't figure out how to get those options you mentioned into a vls.cfg file.  Are you able to post your vls.cfg file?

Thanks,

Matt
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
streaming to the Z with VLC.
« Reply #2 on: November 06, 2004, 06:35:59 am »
I tried with vlC the client, not with vlS the server.
I think these days vlc offers more streaming possibilities than vls...
(though i didn't check vls since a long time)
« Last Edit: November 06, 2004, 06:39:46 am by pgas »
SLC-860 cacko / senao wifi

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
streaming to the Z with VLC.
« Reply #3 on: November 06, 2004, 07:18:11 am »
Quote
I tried with vlC the client, not with vlS the server.
I think these days vlc offers more streaming possibilities than vls...
(though i didn't check vls since a long time)
Ahhh now I get it!   I'd never used VLC before so just assumed I need the server to stream files to my Zaurus.  I just tried it using your instructions and it worked perfectly.  Thanks again!
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
streaming to the Z with VLC.
« Reply #4 on: December 01, 2004, 10:16:51 am »
hello !

Quote
Go to open file (advanced), chose your file,
click on output check box and in parameters
choose click http and put the ip of your pc (ie 192.168.0.1)
choose MPEG 1,
mp1V for video codec, 512 kbps, scale 1
mp2a 96 kbps

I tried your thing, pgas, it kinc of works, but i have a few questions :

1) I segfault everytime i try to use anyother audio codec than mpga, i crash or just can play (only the video) after i stopped vlc on my linux box. What library does mp2a depend on ?

UPDATE : i segfault only when i try to reduce the number of channels to 1. Playing the video with mpa is impossible : i can hear the sound, but i can't watch the video unless i use a very low bitrate, but then, it's only 5fps. mpa seems to be much too high cpu consuming. I need mp2a !!!

2) Is a usb connection fast enough for that kind of transfer ? I think it is, but i'm not sure. What connection do you use ?

Thanks.
« Last Edit: December 01, 2004, 10:26:26 am by alan »

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
streaming to the Z with VLC.
« Reply #5 on: December 01, 2004, 11:33:19 am »
1) I don't know, I perhaps can try to ask this in a forum about vlc
2) I think the rate with usb is something like 1Mb but with the overhead of the tcp/ip stack it can be less
SLC-860 cacko / senao wifi

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
streaming to the Z with VLC.
« Reply #6 on: December 01, 2004, 02:54:52 pm »
ho yeaahhhhhhhhh !!!

That runs soooooooo great !!!!!!! A usb port of mine is nearly dead... it came from that !!!
 

So, i use

MPEG PS
video : mp1v  | 512kbps   | scale 0.5    |
audio : mpga  | 128 kbps  | 2 channels |

and same as pgas for all the rest...

And in order to celebrate lord pgas, i'm streaming Saint Seiya Hades to my zaurus !!!!
Glory to allmighty pgas !  

ostense

  • Newbie
  • *
  • Posts: 41
    • View Profile
streaming to the Z with VLC.
« Reply #7 on: December 02, 2004, 06:05:30 am »
Hi !
To watch streaming movies on the Z one can use VLC to stream to the Z, but also easy'er is to use a web server.  Mplayer can stream through http.  Just remember if you go throug firewall to export  http_proxy=http://your.firewall.ip:port  before you start mplayer.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
streaming to the Z with VLC.
« Reply #8 on: December 02, 2004, 06:43:00 am »
There is one big difference though, vlc is able to transcode the video in realtime  and to stream it with a lower bitrate/resolution.
SLC-860 cacko / senao wifi