TVAnts on linux

I managed to get working the TVAnts peer-to-peer application with wine.

just download TVAnts from http://www.tvants.com after you installed wine (http://www.winehq.com). if you haven't installed a standard media player (e.g. windows media player 6.4 with additional codecs) you have to use a linux media player. use regedit and import this regedit file. if you wish to use another player than mplayer just edit the line @="\"/usr/bin/mplayer\" \"-zoom\" \"%L\"" in the file.

48 Responses to “TVAnts on linux”

  1. Bomber Says:

    Its really great, i tried to install media player 9 with the wine tutorial, but it failed, finally i can run tvants on linux , i hv waited sopcast so long , although it is finally released, i will stick to tvants as it has more channels :-)

  2. Ray Says:

    Could you please help me get the TVants to work?
    my linux is Suse Linux 10.0. I tried wine 20050725 included in the suse package, also tried wine 0.9.16. Installation of TVants output some error meassage:
    fixme:advapi:GetFileSecurityW (L”C:\\windows\\temp\\GLF1329.tmp”) : returns fake SECURITY_DESCRIPTOR
    fixme:shell:IShellLinkA_fnGetPath (0×4183c310): WIN32_FIND_DATA is not yet filled.
    fixme:shell:IShellLinkA_fnGetPath (0×4183c310): WIN32_FIND_DATA is not yet filled.

    I also imported your reg file by calling “wine regedit” and clicking import.
    But after I started TVants, i never got any results in the search Tab panel.
    Help is really needed.

  3. Rocky@Hong Kong Says:

    I have got the same problem with Ray also.
    My system is CentOS4. I have installed TVants and wine successfully.
    But I can’t get any search result.(I’ve imported the reg file also)

    Thank you very much for any help.

  4. simonatlinux Says:

    almost for sure this is a networking problem. once I’ve installed TVAnts on an xbox I’ve had the same problem as I moved the box to another network. but I’ve never solved that issue.

    also try to install winetools (http://www.von-thadden.de/Joachim/WineTools/) and do the wine basic installation with that. maybe this solves your problems.

  5. nicolas Says:

    I have the same problem under ubuntu 6.06
    tvants search gives no results
    I’ve tried to add some servers but nothing….

  6. Rocky@Hong Kong Says:

    Simon, it seems you are right. I have tried to browser http://www.tvants.com(or even mirror.tvants.com) by IE6 after configuring wine, but nothing is shown until connection timeout. It sounds interesting :P .

  7. Gatu Says:

    Hi,

    I have the same problem. However once it worked for about one hour but I had to use www2.tvants.com. Then again it quit working…

    Did some of you have any success?

    Br,
    Gatu

  8. mike Says:

    we all paid a price for nothing !

  9. William Says:

    Hi,
    I don’t know if this thread is still active or not. But get the same result as everyone else. (wine 0.9.12). However, upon madly pressing the ’search’ button i sometimes get channels but they don’t connect.

    At a guess tvants uses a windows dependent driver to do the network communications with the server, and these aren’t present in the wine.

    Does anyone know where to get the source? or have an analyiser to see what its doing in the background?

    W

  10. William Says:

    Although, the wine website says everything works

    http://appdb.winehq.org/appview.php?iVersionId=4603

  11. William Says:

    I can confirm that I install suse 10.1, wine 0.9.21 and TV ants 1.0.0.58 build 0643 and managed to watch a program.
    ps, you can disable local viewing and allowing sharing of the video stream via mmst.

    I had to hit search a few times for the channels to appear, now gonna try on a debian testing server.

  12. William Says:

    Ok this’ll be my last post, cos I’m talking to myself :D

    Anyway for the record, I have manged to get it running under Suse 10.1 and wine 0.9.21.
    Also, Debian testing with wine 0.9.15

    AND, under a debian guest domain with a debian xen host :D in the same setup as above.

    It does take more than one hits of the ’search’ button for the channels to come up, but i get 100 channels, and connection takes a while. but leave it going and it should work.

    Happy playing.

  13. simonatlinux Says:

    thank you for your replies William. you are not talking to yourself. :) but currently I am not working on these things anymore. I’m pretty sure your posts will help other people.

  14. Liew Keong Han Says:

    quite surprise to see TVants to work on platform other than window, I am Han from Tvants, we don’t even try to use TVants under other platform ourselves, thanks for sharing the tips. :D

    the following is a guide on TVants, too bad I can’t post the pictures to make it easy to users. Please feel free to drop us email if you have any query – TVants-English@hotmail.com.
    We are looking forward to see if anyone can use other platforms to stream or share their favorite sport games, TV channels or movies using TVants:

    TVANTS Basic User Manual
    (This manual is used for TVants software: http://download.tvants.com/pub/tvants/tvants1/win32/bin/TvantsSetup.EXE)
    1, TVANTS ports in use:
    1-1Tracker Server Port: 16600
    1-2 Data Sharing Port: 16800, this port is open in default for direct internet connection users, intranet users who is blocked by firewall might have to manually open the port or allow TVants to connect to internet in their firewall setting.
    1-3 Data Broadcasting Port: 16900

    1, Server Tab
    1-1 Definition 1: TRACKER server, server which store channels information and coordinate user data stream exchange, for adding tracker servers (picture below), users can choose to add more private tracker server to acquire more channels.
    Port: Tvants Tracker Server use 16600 port

    1-2 Definition 2: Streaming & Publishing Server, Mainly is Window Media Server which produce mms: // stream address. (Note: latest version of TVants, version 0717 and above, able to stream and publish local video files without the need of window media server. Users also can stream web cam video or TV capture card signal using Window Media Encoder together with TVants, Window Media Server is not compulsory necessary anymore.)

    1-3 setting up or adding a Tracker Server
    1-3-1. the default tracker server is http://www.tvants.com
    1-3-2. If you wish to set up/add your own tracker server, please go to server tab, press add and fill in the related information (refer picture below)

    1-3-3 when you successfully add a tracker server, you may go to
     Tools  setting  tracker tab (refer picture below)
    1) Enable the tracker
    2) Set your prefer tracker port, default is 16600
    3) Domain name
    4) Enable Default Announce Location and set your announcement page display for channel initial buffering
    5) The ODBC database support is not open to users yet, other please set as default.
    Please feel free to email to tvants-english@hotmail.com if you encounter any problem.

    2, Search Tab

    2-1 TV Channel name, Genre, Audience, Quality, Bit Rate, description and so on. The higher the quality the better. Users with slower internet connection might choose a lower bit rate channel instead of higher bit rate. Channel display in grey text is either zero quality or no signal. You may also type in the keyword to search for the favorite channels.

    2-2 Double click on the selected channel and the channel stream will appear within minutes or seconds, the quality of the channel might be unstable in the beginning and improve gradually.
    2-3 Users can watch more than 1 channel at the same time if your bandwidth is large enough.
    Instruction: Go To -> Channel Tab -> Modify Button -> Tick the lock channel status and you can double click to open another channel.

    2-4 every search is 100 channels in maximum, if you wish to get more channels, press on the “more” button.

    3. Channel Tab

    3-1 Buffer display illustration
    3-1-1 Viewing references for users, the higher the quality the better.
    3-1-2 Green color is referring to download stream, if the green color bar is continuous, it means the user is getting stable data stream, users will be able to watch the channel around 60% of buffer at normal time.

    3-2 Definition 3: “Add “Button to build new channel
    3-3 TVants has 2 ways to build new channel:

    3-3-1 Use Window Media Services to build a new mms:// as the “seed” of the channel.
    Instruction: Select “Channel Tab” - “add” button and fill in the related information as the picture below:
    Note1: Better to fill in both Chinese/English description if possible.
    Note2: You may choose to add the channel to your own private tracker server, just replace the tracker address http://www.tvants.com with your own private tracker server domain name.
    Note3: Transfer capacity and Transfer Limit come with default setting.
    Note4: Tick hides original address so that nobody can see your mms address/IPs

    Protocol – TvAnts currently support 2 different types of media streaming protocol: MMS and RTSP protocol, if the channel address is using RTSP protocol, please fill in the URL starting with mms:// ( Tvants will auto recognize).

     3-3-2 Repeated streaming of local video files using Tvants server ( for version 0716 and above)

    No need to add files into Window Media Services, directly using Tvants to broadcast.

    Instruction: Select “Channel” Tab, press “Add” Button

    URL Format
    file://path{;path}
    Path – refer to the absolute or relative directory of the video files e.g. c:\a*.wmv
    URL Examples:
    file://e:\1.wmv
    file://e:\1.wmv;e:\2.wmv
    file://e:\*.wmv

    Requirements:
    1) The video files must be WMV, ASF, and WMA Format
    2) Use the same format of video files for the case of a series of video broadcasting. The best is to use a certain codec.
    Press Ok Button and it will generate a publishing location, and the publishing location can be recognize by lower version of TVants.
    Definition 5: Transfer Capacity, Optimal Upload/Bit Rate = Transfer Capacity
    Definition 6: Transfer Limit, Maximum upload/Bit Rate = Transfer Limit.
    Note: the parameters – Transfer Capacity and Transfer Limit are set at 5 in default, for uploading and streaming.
    Definition 7: Hide Original Address: Hiding original address means nobody can watch the channel when your computer is shut down.

    Definition 8: Lock Channel Status: this option can lock a channel existing status, even if you open other channels, the locked channel will remain streaming, suitable for seed channel computer.
    Definition 9: “Detail”, There is a button in channel Tab to display the p2p transfer details among users, it display the transfer information among MMS/TCP/UDP protocols.

    3-4 Publishing location of a channel
    Instructions: Select the channel and press the “detail” button below, you can see the publishing location of the transfer details :
    Definition 4: TVants Publishing location
    tvants://www.tvants.com/tvants/?k=916b5145b3205414
    The above link is one of the channel publishing locations of TVants, it is generated from the respective tracker server. User just need to copy and paste it into the Internet Explorer address bar, the related channel will show up.

    3-4-1 Publish a channel on a webpage using ActiveX
    Instuction: add the following object code in your webpage to publishing a channel:

    4, Transfer Flow Graph Tab
    4-1 Green is download flow, Red is upload flow

    5, Performance Tab

    5-1 Display all types of logs when running TVants

    6, Event Tab

    Translated by Liew Keong Han
    Email: kh_liew@hotmail.com

  15. Liew Keong Han Says:

    By the way, if you encounter some problem in searching for channels from http://www.tvants.com, please try the following:

    Use notepad to open this file:C:\WINDOWS\system32\drivers\etc\hosts

    add the following in the end of the file :

    211.155.224.14 http://www.tvants.com

  16. han Says:

    I have publish some translated TVants guide in google doc & spreachsheets, some actually are guides from Microsoft in how to capture and encode better, and mostly are tips from TVants advanced users. Anyway, thanks and highly appreciate to their contributions to TVants development:

    TVANTS Introduction http://docs.google.com/View?docid=dg9bbng9_106g76ptj
    TVANTS in xBox http://docs.google.com/View?docid=dg9bbng9_105fwbrfx
    TVANTS in Linux http://docs.google.com/View?docid=dg9bbng9_104gp3drq
    Setting up TVants tracker http://docs.google.com/View?docid=dg9bbng9_101hcbgct
    Search a channel under TVants official database http://docs.google.com/View?docid=dg9bbng9_99d2gg7k
    Publishing location of a channel and publishing a channel on webpage http://docs.google.com/View?docid=dg9bbng9_97fbkbtm

    Entering TVants Chat room http://docs.google.com/View?docid=dg9bbng9_94rctnfh
    Encoding Audio and Video with Windows Media Codecs http://docs.google.com/View?docid=dg9bbng9_87c8km82

    Building a Windows Media Encoding Workstation http://docs.google.com/View?docid=dg9bbng9_60fc425c
    Adding a new channel or streaming local video files to other TVants users http://docs.google.com/View?docid=dg9bbng9_54gt8tdd

    Advanced Encoding Techniques with Windows Media 9 Series http://docs.google.com/View?docid=dg9bbng9_57hhz7nn

    Guide to stream live TV using WME 9 with TVants Online p2p http://docs.google.com/View?docid=dg9bbng9_36d6p5t2
    Trouble Shooting Tips – “No channel exists in the list. ” http://docs.google.com/View?docid=dg9bbng9_108c53qbn
    Trouble Shooting – “Windows Media Player cannot play the file .” http://docs.google.com/View?docid=dg9bbng9_109gt8r68
    Remove the limit on TCP connection at… http://docs.google.com/View?docid=dg9bbng9_110dksnxr
    Tvant failed to open the channel with… http://docs.google.com/View?docid=dg9bbng9_111jvwc99
    How to add/remove channels in TVants private tracker server http://docs.google.com/View?docid=dg9bbng9_113c8s4q6

    TVANTS Basic User Manual ( English) http://docs.google.com/View?docid=dg9bbng9_1xmpqmz

    I hope they are useful to all of you. Please feel free to contact me if you have any query or you have any tips to share , enjoy

    kh_liew@hotmail.com

  17. Tong Says:

    Hi,

    Thanks for the heads up.

    I’m trying to get TvAnts working under Linux, Debian Testing to be exactly.
    Everything seems to be ok execpt that I can’t play anything.

    I’ve imported the regedit file, and verifed the entries in the regedit file does show up in the imported regedit.

    The regedit file has:

    @=”\”/usr/bin/mplayer\” \”-zoom\” \”%L\”"

    I’ve verifed that my mplayer is at /usr/bin/mplayer.

    Still, I got the following error:

    Failed to open channel http://localhost:16900/1.
    Do you agree to open it by windows’ default player?

    Moreover, I tried to add the Z: drive letter to the mplayer command, as

    [HKEY_CLASSES_ROOT\MMST\shell\open\command]
    @=”\”z:/usr/bin/mplayer\” \”-zoom\” \”%L\”"

    but still, it won’t work.

    please help.

    thanks

  18. simonatlinux Says:

    Do you agree to open it by windows’ default player?

    No, I don’t. I don’t think the windows media player’s working with wine. You have to use a linux player for playing a channel. E.g. mplayer or vlc. Probably you need to compile the mplayer on your own because the version from the repository might not work.

  19. Chris Says:

    Hi! Nice site!

  20. gimpel Says:

    @ Tong:

    just run from a terminal:

    $ mplayer -nocache http://localhost:16900/1

  21. Thomas Says:

    Thanks bro! Real good work! Please visit my homepage too:

  22. Shirley Says:

    Hmm… sweet! [*../nice_site2.txt*]

  23. Michalecki Says:

    Thanks for help, guys!!
    Installation, regedit went ok. Still got problem though: after running mplayer http://localhost:16900/1 I get:
    “Server returned 400: Bad Request
    Unable to open URL: http://localhost:16900/1
    Any ideas how to fix it?
    Thanks!

  24. simonatlinux Says:

    Did you try http://127.0.0.1:16900/1? If this works you have to check your /etc/hosts file and add the line “127.0.0.1 localhost”.

  25. Michalecki Says:

    Thanks for your answer, Simon! It’s ok with /etc/host file. To make it work, I had to change into: $ mplayer mms://localhost:16900/1

  26. Javi Says:

    I can not get mplayer to be opened from TvAnts. I imported the .reg file (path is ok) into the registry, but when i try to watch a channel into a external player it always open firefox (:?). This is the debug info:

    err:ole:CoGetClassObject class {6bf52a52-394a-11d3-b153-00c04f79faa6} not registered
    err:ole:CoGetClassObject no class object {6bf52a52-394a-11d3-b153-00c04f79faa6} could be created for context 0×3
    Considering: firefox
    argv[1]: http://localhost:16900/3
    3926 ? 00:17:20 firefox-bin

    any help, please ?

  27. simonatlinux Says:

    Obviously you try to open a http-protocol “stream” and your registry wants to open it with firefox.
    Try to use mms://localhost:16009/3 . If this doesn’t work write again.

  28. Pete Says:

    I have the same problem that tvants loads firefox and not mplayer, how do I get it to open the MMS stream?
    Opening it from the terminal works fine with $mplayer mmst://localhost:16900/2

    any ideas?

  29. Wolfgang Says:

    I have the problem that tvants loads konqueror and not mplayer, how do I get it to open the MMS stream?
    Opening it from the terminal works fine with $mplayer mmst://localhost:16900/2

  30. Paul Says:

    Is tvants 1.0.0.59 working for you guys?

    Mine isn’t. I’m on OS X and it fails to listen on 127.0.0.1 port 16900. The performance page shows the broadcast port as disabled.

    Not sure what’s gone wrong, as 1.0.0.58 was working for me.

  31. Paul Says:

    I should add lsof -i as well as netstat | grep -i listen didn’t show anything else using port 16900.

    tvants also tries ports 16901 through 17000 and gets the same failure to listen.

  32. simonatlinux Says:

    I haven’t been using tvants for a long time. I will check the newest version.

    @Wolfgang: Did you really import the registry file?

  33. Paul Says:

    yes i did

  34. ideamaestro Says:

    Hi all.
    I cannot open video from VLC player…as Tong said everything is working fine but even after changing the player to VLC (with all the codecs in the world) the stream just doesn’t open…it’s frustrating and I can’t watch Premier League right now…Please help

    * reg key is imported with regedit but is not displayed…when I search in the regedit window…

    cheers,

  35. DC Says:

    Hi all,
    I’ve got sopcast (linux version) working in puppy linux and watched Liverpool this lunch time :-)

    DC

  36. ragu Says:

    Hello

    I have installed Wine and also tv ants on my Fedora 7 LInux.

    Also imported tvants.reg file into the registry. But While opening the tvants channel I am getting error message as:

    failed to open channel http://localhost:16900/1.asf

    Can you please check and help?

    Regards

  37. drunken_sapo Says:

    The problem here is that the URL of some streams doesnt begin with mms:
    the registry fix associates mms:// URLs with mplayer, but when TVants tries to open an http://
    it fails, because the application associated with them is a web browser, not mplayer.
    One possible (naive) workaround is to edit registry and put the same line as before “/usr/bin/mplayer” “-zoom” “%L” but associated to http protocol.
    that can be done by editing the following key:
    HKEY_CLASSES_ROOT\http\shell|\open\command.
    This can have undesired side effects with other wine program, but if you use wine only for watching p2p tv as me, this is perfectly safe.
    I hope we are able to come up with a better solution.
    Good luck

  38. Magnus Says:

    Hi

    I have been following this thread now. Ok here is my status.
    I’m running wine-0.9.49.
    Installation was working fine and also start up tvants works fine.

    When running on cmd line vlc http://localhost:16900/1.asf I get some kind of picture put I can’t direct say that I can here or see anything that is moving. Also get this comments on comand line:
    [00000298] access_http access error: error: HTTP/1.1 400 Bad Request
    [00000298] access_mms access error: cannot read data
    overflow in spectral RLE, ignoring
    overflow in spectral RLE, ignoring
    [00000323] ffmpeg decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

    Computer to slow? I have a 2 G processor what does it require?

    I haven’t done any changes the registry. I didn’t quite understand of how and what todo there.

    Hope that some one can give a help.

    Dying for seeing some enlish fotboll.
    Regards
    Magnus

  39. Jasper Says:

    If you have problem watching the streams and you get the next message:

    Bad Request
    Your request can’t be recognized by Tvants Broadcast Server. Please visit http://www.tvants.com for more information.

    You will see in your browser the a uri like: http://localhost:16900/7.asf

    If you will watch you can do in a terminal:
    mplayer -nocache http://localhost:16900/7

    or

    kplayer http://localhost:16900/7

    YOU CAN ONLY WATCH IF YOU SEE THAT THE BUFFER IN TVANTS->CHANNELS HAS DATA!!!!! I think this is the problem for most of you!

  40. motorola keypress ringtones Says:

    free downloadable ringtones for motorola phone free downloadable ringtones

    If he free mp3 ringtones converter poker texano gratis

  41. free nextel real ringtones Says:

    info nextel phone remember ringtones nextel i730 phone ringtones

    Often info lg remember ringtones verizon download i730 nextel ringtones software.com

  42. ericsson polyphonic ringtones sony Says:

    box music ringtones sony sony music box ringtones

    It must be noted ringtones for cellular one phone free real ringtones for alltel

  43. country music ringtones free country music ringtones Says:

    cell free nextel phone ringtones

    Why mp3 cell phone ringtones info personal polyphonic remember ringtones wwe

  44. horny Says:

    PMDCwr df8v7ydfv83f61fvr58fdz

  45. sandra Says:

    En64yq gjsRt3i9fkls03GsAc

  46. Krister Says:

    Hi!

    The link to the “regedit file” used to get TVAnts working with a Linux native mediaplayer is broken. Do you know have to get this file?

  47. Darren Says:

    Hi

    I am also having trouble getting TVants to work on Ubuntu 9.04.

    I have installed Wine then TVants then mplayer.

    When running the code as advised above I get:
    (I assume this may have some thing to do with regedit but not sure how to do this on ubuntu)

    Any advise?

    $ mplayer mms://localhost:16900/1
    MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Pentium(R) M processor 1600MHz (Family: 6, Model: 9, Stepping: 5)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing mms://localhost:16900/1.
    STREAM_ASF, URL: mms://localhost:16900/1
    Resolving localhost for AF_INET6…
    Couldn’t resolve name for AF_INET6: localhost
    Resolving localhost for AF_INET…
    Connecting to server localhost[127.0.0.1]: 16900…
    Connected

    Alert! EOF
    read error:: Operation now in progress
    pre-header read failed
    Resolving localhost for AF_INET6…
    Couldn’t resolve name for AF_INET6: localhost
    Resolving localhost for AF_INET…
    Connecting to server localhost[127.0.0.1]: 16900…
    Server returned 500:Internal Error
    Failed to parse header.
    Failed, exiting.
    Resolving localhost for AF_INET6…
    Couldn’t resolve name for AF_INET6: localhost
    Resolving localhost for AF_INET…
    Connecting to server localhost[127.0.0.1]: 16900…
    Server returned 400: Bad Request
    No stream found to handle url mms://localhost:16900/1

  48. name Says:

    Best,

Leave a Reply