VLS stream too fast!!!!!

About encoding, codec settings, muxers and filter usage
systest
Blank Cone
Blank Cone
Posts: 22
Joined: 19 May 2004 15:16

VLS stream too fast!!!!!

Postby systest » 26 May 2004 13:20

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".

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 26 May 2004 14:09

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.

systest
Blank Cone
Blank Cone
Posts: 22
Joined: 19 May 2004 15:16

Postby systest » 26 May 2004 14:48

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?

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 26 May 2004 14:58

you can't seek. I think that is the main issue. Could also be that the player wants larger chucks of data


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests