SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2 methods
- using official PPStream binary (in chinese language) or
- install plugins gst-plugins-pps, totem-pps, then use chrome/firefox + totem to play streams using protocols pps:// or tvod://
Install the plugin. Before installing it, please ensure totem, python and BeautifulSoup are installed on your system.
Quote:
tar zvxf totem-pps-0.0.19.6.tar.gz
cd totem-pps-0.0.19.6
./configure --prefix=/usr
make && sudo make install
using google-chrome (translated in english)
go to any of PPStream pages below, Home Movies TV Anime Arts Stars
find movie of choice, click on poster and be brought to the links page,
translate page to english and look for a hyperlink named Clients play
right-click and copy URL of "Clients play", the section in bold below is your stream url to input in totem
note: the stream could be in rmvb, wmv, avi, rm etc
using firefox (chinese only)
I'm not sure if firefox can have pages translated. So it's no-go for non-chinese users here. Anyway, here's how to launch totem automatically when clicking a pps:// or tvod:// URL:
Quote:
cat ~/.mozilla/firefox/profiles.ini | grep Path
*mousepad ~/.mozilla/firefox/*Path_found_above*.default/prefs.js (or use any other editor)
Note on Totem: You can create a playlist of several pps or tvod streams and load into totem for playback. Totem will download and save the streams to a cache, but it will take a while. Use this method to download streams for later viewing, especially when the network speed is slow. Just load the playlist again and it will stream from local hdd.
The cache ~1GB cannot be recovered/exported to a normal media file, it will be over-written as you download more streams.
May I use this on my local network? It is much better than than copying files from remote computer and playing on a local host. Greetings
AFAIK, files downloaded cannot be saved although they reside in a local cache, which is flushed after a while. Totem on Gnome3 has a file save feature, but I have not tested it. There is another hack which uses MPlayer as the backend, but I haven't got it to work. I managed to download the source files but it just won't work after compiling (trying to get mplayer to pipe pps:// and dump the streams locally).
The PPStream libraries aren't open source, some of the hack-devs appear on googlecode and disappear after some time, probably in a stint to get hired. P2P streaming is big in China, xunlei (aka giganet) is streaming HD (720p) content with thousands of peers, in direct competition with local cable TV. PPStream is just a newbie compared to Xunlei, which generates huge advertising profits (Xunlei is a public-listed company). This contrasts deeply with most private torrent trackers on the net, e.g. TPB.
I found that after using PPStream or the Xunlei client, there's no need to use torrents anymore. Movie streaming just works, even for 720p in rmvb, as long as the connection is up to speed.
Note: when using the official PPStream binaries, your computer becomes a seed to other peers on the P2P network via a daemon name PPSdaemon, which resides even after the client quits. This is how the network operates and is the norm when using the Windows client. Using totem in linux doesn't give this liability, although you do upload to other peers when totem is opened.
I used to get the exact error message in x86 13.1, but after doing a clean install of slackware-current and installing GSB-current, PPStream just works automatically. Why don't you try GSB with totem? The PPStream package was originally compiled for Ubuntu.
I don't remember if the default totem bundled with GSB can play rmvb, wmv files, as PPStream uses these formats widely. A rebuild of mplayer-codecs, ffmpeg, gstreamer with plugins and totem may be required (I can post the steps if you need them).
If you have any local rmvb or wmv files, please try to play them in totem. Totem is named as "Movie Player" in the gnome menu.
- ffmpeg SBo
- gstreamer (slackware dvd or source tree)
- gst-plugins-base (I used gsb version, although slackware version is also available)
- gst-plugins-good (gsb)
- gst-plugins-bad (gsb)
- gst-plugins-ugly (gsb)
- gst-ffmpeg (gsb) with configure option "--with-system-ffmpeg" in slackbuild, wait for warning message to pause-&-finish
- gst-python (gsb)
- gnome-media** (gsb) this is optional
- totem (gsb)
- gst-plugins-pps
- totem-pps
GSB slackbuilds can be found in the GSB source tree. Latest/higher gstreamer/gst sources available from here, I used them to build successfully. Edit version number accordingly in slackbuilds before compiling.
Use command below to force rebuilding of GSB packages (don't have to uninstall before compile)
Quote:
./package.Slackbuild --force
Use command below to upgrade packages
Quote:
upgradepkg --reinstall /tmp/package.txz
note: gnome-media is the name of the package for "gstreamer-properties", aka Multimedia-something in Gnome System -> Preferences menu. Somehow, the shortcut is missing from the menu after rebuilding.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.