Page 1 of 1

VLS stream too fast!!!!!

Posted: 26 May 2004 13:20
by systest
VLS stream too fast!!!!!

Hi:
I use VLS to stream a mpeg2 TS, and use unicast. (streaming to my embedded device)

And in my embedded device(64M RAM, file system is RAMDISK), has two process, one is VLC, it receive the UDP packet and redirect the package to a "pipe", another is a player(provider by sigma), the player read the "pipe".

Two question:
1. Since VLS stream is too fast, about 20s, VLC process will be terminated by OS, because it buffer fulled. How can I control the speed rate of VLS streaming?

2. The player playback stream, not smootly, about 10 fps. Why?

PS: the bridge from VLC to "3rd player" is a "pipe", made by "mkfifo".

Posted: 26 May 2004 14:09
by Sigmund
I belive the problem is the third party player not reading fast enough. That would also explain the low fps. It could be this player doesn't like reading from a pipe.

Posted: 26 May 2004 14:48
by systest
Thanks :D

What difference between read from a pipe or read from a file(open it just as a stream)?

I know for the pipe, after read, the data will be delete from the pipe buffer. And anything else?

Posted: 26 May 2004 14:58
by Sigmund
you can't seek. I think that is the main issue. Could also be that the player wants larger chucks of data