Hello,
My two cents on this after a few weeks research and testing , i have used vlc 1.1.4.1 and the latest version of lib_x264 under ubuntu server 10.04 LTS for a similar purpose and in my configuration , i have noticed a memory leak after a couple of hours, problems with x264 when i was activating CABAC (CPU at 100%) and problems with audio/video synchronization frames are lost. My TV input source are live IPTV mcast sources at 3Mbps and i am transcoding them to 500kbps. If somebody can advise me to change something to improve quality, let me know. You can try to use a similar approach and let me know if you have similar problems with windows. if u can read your MPEG TS stream from your DVB-S card with VLC , you will be probably able to restream it with some CPU capacity but i don't know if you will be satisfied with the quality.
Here is my configuration :
VLC launcher
cat vlc_launcher
#!/bin/bash
while true; do vlc -vvv -I http --http-host 0.0.0.0:8000 --vlm-conf vlm.conf;sleep 3;logger VLC a redemarre;done
VLM file
new tf1_standard broadcast enabled
setup tf1_standard input udp://@MCAST.AD.DRE.SS:2000
setup tf1_standard output #transcode{vcodec=h264,vb=400,acodec=mp3,ab=64,samplerate=22050,audio-sync,width=350,height=280,deinterlace,fps=25,venc=x264{keyint=100,profile=baseline,level=1.3,vbv-maxrate=768,vbv-bufsize=2000,no-cabac,qpmax=51,qpmin=10,subme=7,qcomp=0.6}}:standard{access=http,mux=ts,dst=0.0.0.0:2001/tf1_live.ts}
PHP script calling ffpmeg to encapsulate in FLV format
cat /var/www/tf1_50.php
<?php
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
system("ffmpeg -i
http://127.0.0.1:2001/tf1_live.ts -vcodec copy -acodec copy -y -f flv -");
?>:
Webpage providing a flash video player
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/transitional.dtd">
<html>
<head>
<title>WebTV</title>
<script type="text/javascript" src="flowplayer-3.2.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<a
href="
http://YOUR.SERVER.IP.ADDRESS/tf1_50.php"
style="display:block;width:350px;height:280px;"
id="player">
</a>
<script>
flowplayer("player", "flowplayer-3.2.4.swf");
</script>
</body>
</html>