Help - Search - Members - Calendar
Full Version: streaming to the Z with VLC.
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
pgas
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 wink.gif

Anyway maybe some will find this usefull.
rgrep
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
pgas
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)
rgrep
QUOTE(pgas @ Nov 6 2004, 11:35 PM)
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! biggrin.gif 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!
alan
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.
pgas
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
alan
ho yeaahhhhhhhhh !!!

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

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 ! biggrin.gif
ostense
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
There is one big difference though, vlc is able to transcode the video in realtime and to stream it with a lower bitrate/resolution.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.