[MPlayer-users] about multicast

Kichigai Mentat kichigai at comcast.net
Tue Jan 3 16:11:28 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 2, 2006, at 16.18, Sinan Nalkaya wrote:

> On Mon, 2006-01-02 at 14:27 +0100, Nico Sabbi wrote:
>> Sinan Nalkaya wrote:
>>
>>> hi i have 2 clients. all i want is capture the multicast streams  
>>> at same
>>> time, with -nocache parameter it seems not bad, but sometimes,  
>>> one of
>>> them becomes more laggy than the other one, what do you suggest  
>>> me for
>>> this and do you know good multicast program ?(currently using  
>>> ffmpeg)
>>> but output of dvbstream program seems fine.
>>> note: both pcs are same configuration with same hardware
>>> thanks.
>>>
>>>
>>
>> -dumpstream will work fine, instead direct playback can exhibit  
>> problems
[snip]
> thank you for answer,
> it seems with this option i cannot play streams on the fly with 2
> computers , syncnorized ? or should i open another mplayer to play  
> this
> file ?
Well, if you were going to playback the stream, you would need a  
second instance of mplayer running. Luckily enough, -dumpstream uses  
very little resources compared to a full on decoding and saving.

Playing them synchronously will be a major hassle, though. Unless  
both computers have the exact same specs, and are not competing for  
bandwidth, it can be quite a challenge. But, here's something to  
consider. Why not introduce a third computer. It doesn't need to be  
anything fancy, probably something as weak as a Pentium 166 could do  
this job. Just throw the three computers onto a LAN, have the third  
computer I mentioned simply just use the -dumpstream option, and have  
the other two computers play off of dumped stream. This would take  
care of any problems with bandwidth, and would ensure that both  
computers are receiving an identical stream. The only catch here, is  
that you'd have to start both players at exactly the same time, but  
I'm sure there's some kind of script or use of an application  
scheduler you could use to handle this for you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDupQjwAwn3hu8KxcRAu/AAJoC4eue8dJCkELWmVFJpGeOApcCKACfW+0f
T6L1vxe0AwjwOlLtxq3Ax9g=
=4bf/
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list