Linux pipes

rouvas at di.uoa.gr rouvas at di.uoa.gr
Wed Sep 24 15:28:06 EEST 2008


Tasos Laskos wrote:
> Apanto ston eayto mou:
>
> Tasos Laskos wrote:
>> Giorgos Keramidas wrote:
>>> On Wed, 24 Sep 2008 12:53:29 +0300, Tasos Laskos
>>> <tasos.laskos at gmail.com> wrote:
>>>> To poly poly an de katafero na kano ayto pou 8elo 8a valo ena apo ta
>>>> ergaleia apo to freashmeat os dependency kai 8a xrisimopoieio ayto
>>>> anamesa sto vget kai ton ekastote player.
>>>
>>> Εναλλακτικά, μπορείς να χρησιμοποιήσεις το universal buffering tool που
>>> έχουν όλα τα UNIX: το dd(1).
>>>
>>>         vget [options] PATH | dd ibs=10m obs=4k | lalaki
>>>
>>> Ετσι το vget θα μπορεί να γράφει σε batches από 10 MB στο output του,
>>> και το dd θα ταίζει το lalaki με 4 KB chunks.
>>>
>>> Το freshmeat έχει ενδιαφέροντα πράγματα, αλλά στη συγκεκριμένη
>>> περίπτωση
>>> μάλλον δε χρειάζεται.
>>>
>> Nai ontos, ayto akrivos i8ela na kano, eyxaristo. :)
>> Mallon, mazi me to vget 8a deino kai ena wrapper/driver shell script
>> pou 8a analamvanei to komati tou streaming.
>> Mou pernaei kai to system() apo to myalo vevaia alla 8a itan too dirty
>> nomizo...
> Telika den itan ayto pou i8ela...
> Giati to dd perimenei na gemisei to 10MB buffer kai meta ta stelnei.
>
> Ego 8elo na mazevei data sto buffer mono eno to pipe einai blocked.
>
> Oti ginete se polla flash players, px youtube.
> Oti perisevei logo megalou bandwidth to vazei sto buffer. I otan patas
> pause to vazei sto buffer kai meta to exeis etoimo.
>
> Ayto pou me paraksenevei einai pos den exoun ry8miseis oi players gia to
> buffer size tous, na iremiso kai ego.
> An 8ymamai kala pantos to kplayer eixe tetoia ry8misi....

Toulaxiston o mplayer kai o vlc exoun, alla den exo proxeira ta man pages
na sou po akribos ta options.

-Stathis

>
>
> --
> linux-greek-users mailing list -- http://lists.hellug.gr





More information about the Linux-greek-users mailing list