I'd like to stream several TV channels (around 20) over the internet to different clients (around 15).
I've thought of having multiple DVB-T cards on several machines, each DVB-T card would be controlled by a vlc command like that:
vlc dvb-t://FREQUENCY_MUX1 --programs=PROG1,PROG2,... --sout '#transcode{vcodec=mp4v,scale=0.5, acodec=mp4a,vb=200,ab=64}:
duplicate{dst=std{mux=ts,dst=SERVER_IP:PORT1},select='program=PROG1',
dst=std{mux=ts,dst=SERVER_IP:PORT2},select='program=PROG2',
...}
So from each DVB-T card, I'd extract several programs (depending on the mutex) which would then be accessed by the clients after being transcoded.
My question is easy... Is that the proper way to do that kind of things? I've done some experiments with my machine (a P4 @ 3GHz) and I've seen that when I connect 3 or 4 clients to the same transcoded stream, they try to sync one with each other, having lots of stalls and eventually one vlc client closes the stream. That suggests me that I'm not doing things right. Any idea??
Thank you!!