HOWTO Stream TV tuner card, watch TV at work, channel change
Posted: 20 Jul 2005 18:42
First of all, I am grateful to you people who answer questions on forums like this, without knowledgeable folks helping newbies out, we'd probably all be newbies, hehe. Once I found VLC and realized it was the greatest program ever created, I had to figure out how to use it to watch TV while at work, and I was successful. Thanks to all you who have posted information on this already. I'm an MCSE, CCNA, A+ certified networking support technician, and I couldn't understand much of the information posted on this topic, so I decided if I ever got it working, I would share the wealth...
First you need a capture card, I bought an ALL-IN-WONDER PCI card from Best Buy for ~$80 with a $20 mail in rebate. I had a VideoHighwayXtreme TV card, but due to lack of current drivers, it would not work correctly. I have a SB Live! soundcard. The ALL-IN-WONDER has a line out on the back of the card, which you need to run to the line-in on your soundcard. Once you do that, you need to open volume control (Start, Run, sndvol32), change to the recording controls, Select Line-In, and set the volume for full. This will get the TV audio working for you.
I have Road Runner at home with about a 45kbytes upload speed. I decided I would settle on a 200k video stream, and a 64k audio stream. I could have gone higher, but I had buffering issues at work, until I lowered it. I chose DIV3 for my video codec, and MP3 for audio.
My main reason for wanting to do this was to watch TV on my pocket PC. I got video working right away, but no audio with the windows media player 9 that came on my pocket pc. After a lot of research, I learned that WMP doesn't support streaming MP3. You can play an MP3 locally, but you can't stream one. Thankfully to someone else's posting on this site, I discovered 'The Core Pocket Media Player' or TCPMP. Google that and download it. I found version 0.66. It works FLAWLESSLY, I am SO PLEASED! Video looks super clear and audio is great too. In the TCPMP player, go to File, Open File, and put in 'mms://your.ip.address.athome:80' and hit 'go'. I'm getting ahead of myself, sorry.
Running audio/video on port 80 is great because lots of corporate firewalls block other ports, but almost all of them allow you to browse the internet. By running on port 80, you will be able to watch TV with no trouble if you can browse websites.
For several days I opened VLC, File, Open Capture Device, Refresh, Refresh, Configure, Stream Output, Settings, blah blah blah... and then I found out about .m3u files, which are playlists.
Here is what my playlist looks like: (with 3 channels listed for example)
#EXTM3U
#EXTINF:0,7 - ABC
#EXTVLCOPT:dshow-vdev=ATI TV Wonder Pro A/V Capture
#EXTVLCOPT:dshow-adev=SB Live! Audio [D400]
#EXTVLCOPT:dshow-size=
#EXTVLCOPT:no-dshow-config
#EXTVLCOPT:dshow-tuner-channel=7
#EXTVLCOPT:dshow-tuner-country=1
#EXTVLCOPT:dshow-tuner-input=1
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=200,scale=1,acodec=mp3,ab=64,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,url=:80}}
dshow://
#EXTINF:0,8 - TCT
#EXTVLCOPT:dshow-vdev=ATI TV Wonder Pro A/V Capture
#EXTVLCOPT:dshow-adev=SB Live! Audio [D400]
#EXTVLCOPT:dshow-size=
#EXTVLCOPT:no-dshow-config
#EXTVLCOPT:dshow-tuner-channel=8
#EXTVLCOPT:dshow-tuner-country=1
#EXTVLCOPT:dshow-tuner-input=1
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=200,scale=1,acodec=mp3,ab=64,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,url=:80}}
dshow://
#EXTINF:0,10 - Fox
#EXTVLCOPT:dshow-vdev=ATI TV Wonder Pro A/V Capture
#EXTVLCOPT:dshow-adev=SB Live! Audio [D400]
#EXTVLCOPT:dshow-size=
#EXTVLCOPT:no-dshow-config
#EXTVLCOPT:dshow-tuner-channel=10
#EXTVLCOPT:dshow-tuner-country=1
#EXTVLCOPT:dshow-tuner-input=1
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=200,scale=1,acodec=mp3,ab=64,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,url=:80}}
dshow://
You need to Settings, Add Interface, Web Interface on your server to turn on the web interface. You can set this permanently by going to Settings, Preferences, Interface, General, and checking the 'HTTP remote control interface' box (do that). Under General, HTTP, with advanced options box checked, you can set the host address to be on a certain port. I put my home computers IP address 192.168.1.100:9000. The ":9000" is the port number. It defaults to :8080, but my router's remote access is on that port, so I needed to change it.
As of now, if I open the .m3u file I created with VLC with Remote Desktop (xp @ home) I can go to the Internet at work and put in my cable modem IP address:9000 and I have a list of these 3 stations that I can click on. once I click a station and then use TCPMP on my Pocket PC or Windows Media Player on my desktop, I can watch that channel, and by just clicking on another channel in the playlist, it will change on the fly.
Thank you whoever the author of this wonderful program is, I am REALLY happy to be able to do this, all my tech buddies are so impressed, hehe. Thanks to all those who take the time to answer stupid questions from newbies. I've seen a lot of folks with the same problems I've had, and they didn't get any answer, but honestly they probably didn't do a lot of looking on their own. I was so determined to get this to work that I didn't quit until I got it, and it only took a few days anyway
I'll try and check this post and see if anyone has any trouble/questions. Thanks again and God bless!
First you need a capture card, I bought an ALL-IN-WONDER PCI card from Best Buy for ~$80 with a $20 mail in rebate. I had a VideoHighwayXtreme TV card, but due to lack of current drivers, it would not work correctly. I have a SB Live! soundcard. The ALL-IN-WONDER has a line out on the back of the card, which you need to run to the line-in on your soundcard. Once you do that, you need to open volume control (Start, Run, sndvol32), change to the recording controls, Select Line-In, and set the volume for full. This will get the TV audio working for you.
I have Road Runner at home with about a 45kbytes upload speed. I decided I would settle on a 200k video stream, and a 64k audio stream. I could have gone higher, but I had buffering issues at work, until I lowered it. I chose DIV3 for my video codec, and MP3 for audio.
My main reason for wanting to do this was to watch TV on my pocket PC. I got video working right away, but no audio with the windows media player 9 that came on my pocket pc. After a lot of research, I learned that WMP doesn't support streaming MP3. You can play an MP3 locally, but you can't stream one. Thankfully to someone else's posting on this site, I discovered 'The Core Pocket Media Player' or TCPMP. Google that and download it. I found version 0.66. It works FLAWLESSLY, I am SO PLEASED! Video looks super clear and audio is great too. In the TCPMP player, go to File, Open File, and put in 'mms://your.ip.address.athome:80' and hit 'go'. I'm getting ahead of myself, sorry.
Running audio/video on port 80 is great because lots of corporate firewalls block other ports, but almost all of them allow you to browse the internet. By running on port 80, you will be able to watch TV with no trouble if you can browse websites.
For several days I opened VLC, File, Open Capture Device, Refresh, Refresh, Configure, Stream Output, Settings, blah blah blah... and then I found out about .m3u files, which are playlists.
Here is what my playlist looks like: (with 3 channels listed for example)
#EXTM3U
#EXTINF:0,7 - ABC
#EXTVLCOPT:dshow-vdev=ATI TV Wonder Pro A/V Capture
#EXTVLCOPT:dshow-adev=SB Live! Audio [D400]
#EXTVLCOPT:dshow-size=
#EXTVLCOPT:no-dshow-config
#EXTVLCOPT:dshow-tuner-channel=7
#EXTVLCOPT:dshow-tuner-country=1
#EXTVLCOPT:dshow-tuner-input=1
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=200,scale=1,acodec=mp3,ab=64,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,url=:80}}
dshow://
#EXTINF:0,8 - TCT
#EXTVLCOPT:dshow-vdev=ATI TV Wonder Pro A/V Capture
#EXTVLCOPT:dshow-adev=SB Live! Audio [D400]
#EXTVLCOPT:dshow-size=
#EXTVLCOPT:no-dshow-config
#EXTVLCOPT:dshow-tuner-channel=8
#EXTVLCOPT:dshow-tuner-country=1
#EXTVLCOPT:dshow-tuner-input=1
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=200,scale=1,acodec=mp3,ab=64,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,url=:80}}
dshow://
#EXTINF:0,10 - Fox
#EXTVLCOPT:dshow-vdev=ATI TV Wonder Pro A/V Capture
#EXTVLCOPT:dshow-adev=SB Live! Audio [D400]
#EXTVLCOPT:dshow-size=
#EXTVLCOPT:no-dshow-config
#EXTVLCOPT:dshow-tuner-channel=10
#EXTVLCOPT:dshow-tuner-country=1
#EXTVLCOPT:dshow-tuner-input=1
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=200,scale=1,acodec=mp3,ab=64,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,url=:80}}
dshow://
You need to Settings, Add Interface, Web Interface on your server to turn on the web interface. You can set this permanently by going to Settings, Preferences, Interface, General, and checking the 'HTTP remote control interface' box (do that). Under General, HTTP, with advanced options box checked, you can set the host address to be on a certain port. I put my home computers IP address 192.168.1.100:9000. The ":9000" is the port number. It defaults to :8080, but my router's remote access is on that port, so I needed to change it.
As of now, if I open the .m3u file I created with VLC with Remote Desktop (xp @ home) I can go to the Internet at work and put in my cable modem IP address:9000 and I have a list of these 3 stations that I can click on. once I click a station and then use TCPMP on my Pocket PC or Windows Media Player on my desktop, I can watch that channel, and by just clicking on another channel in the playlist, it will change on the fly.
Thank you whoever the author of this wonderful program is, I am REALLY happy to be able to do this, all my tech buddies are so impressed, hehe. Thanks to all those who take the time to answer stupid questions from newbies. I've seen a lot of folks with the same problems I've had, and they didn't get any answer, but honestly they probably didn't do a lot of looking on their own. I was so determined to get this to work that I didn't quit until I got it, and it only took a few days anyway
I'll try and check this post and see if anyone has any trouble/questions. Thanks again and God bless!