Rob Shortt wrote:
I have been experimenting with multicasting video over the network and I am pleased with the results so far. I have come up with an application that can send and receive data over multicast. To send data it reads stdin and writes to the multicast group, to receive it reads from the multicast group and writes to stdout. It can be found in CVS:
http://cvs.sourceforge.net/viewcvs.py/freevo/freevo/WIP/RobShortt/multicast.c?rev=1.1&view=auto
That doesn't work. You send as fast as you can. Mplayer reads as fast as it can, but it's too much data to handle. You need to check the PTS fields in the mpg files to stream as fast as the player can play. What works if you stream directly from a card, but even than xine doesn't like the stream, mplayer does.
Its not intended to transfer a file to be played on the other side, it will only play properly if fed data realtime like it should be played. Try catting /dev/dvb/adapter0/dvr0 for dvb, or mplayer dvb:// -dumpstream - (or something) | multicast -s. For testing with ivtv I am doing cat /dev/video | multicast -s.
-Rob
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
