Jump to content

How to use SopCast under Mandriva?


zibi1981
 Share

Recommended Posts

Didn't find any topic related to my problem on the board.

 

I wanted to watch internet TV with SopCast. It has a Linux version available here. Unfortunately rpms which I got from the site don't want to install on my Mandriva

 

[root@localhost Sopcast]# rpm -ihv sp-sc-1.0.2-1mgc.i686.rpm
ostrzeżenie: package file sp-sc-1.0.2-1mgc.i686.rpm was skipped
[root@localhost Sopcast]# rpm -ihv qsopcast-0.3.5-2mgc.i686.rpm
ostrzeżenie: package file qsopcast-0.3.5-2mgc.i686.rpm was skipped

 

(BTW "ostrzeżenie" means "warning" in Polish)

 

I also tried to use command line version, but with no succes. When I follow the instructions in the README file, I get

 

[zibi1981@localhost sp-sc]$ ./sp-sc sop://broker.sopcast.com:3912/6098 3908 8908 > /dev/null &
[1] 8634
[zibi1981@localhost sp-sc]$ mplayer http://localhost:8908/tv.asf
MPlayer 1.0-1.rc1.20plf2008.0-4.2.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 3200+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs
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 http://localhost:8908/tv.asf.
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]: 8908...
connect error: Connection refused
STREAM_ASF, URL: http://localhost:8908/tv.asf
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]: 8908...
connect error: Connection refused
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]: 8908...
connect error: Connection refused
File not found: 'localhost:8908/tv.asf'
Failed to open http://localhost:8908/tv.asf.


Exiting... (End of file)
[1]+  Exit 152				./sp-sc sop://broker.sopcast.com:3912/6098 3908 8908 > /dev/null

 

and when I try to use Kaffeine instead of MPlayer

 

[zibi1981@localhost ~]$ kaffeine http://localhost:8908/tv.asf
kaffeine: PLAYLIST
kaffeine: PlayList: add 1 items to playlist
kaffeine: PlayList: Check for kaffeine/noatun/m3u/pls/asx playlist
kaffeine: PlayList: Try loading kaffeine playlist
kaffeine: PlaylistImport: kaffeine: /home/zibi1981/.kde/share/apps/kaffeine/playlists/NOWE.kaffeine
kaffeine: Window manager: KWin found
kaffeine: SystemTray: Create System Tray
kaffeine: Kaffeine:: Try to load service: xine_part
kaffeine: This is a KaffeinePart...
kaffeine: XinePart: Creating new XinePart...
kaffeine: XinePart: Using xine-config file:
kaffeine: KXineWidget: Using default config file ~/.xine/config
kaffeine: PlayList: add 1 items to playlist
kaffeine: XinePart::openURL(): http://localhost:8908/tv.asf
kaffeine: XinePart: Check for kaffeine/noatun/m3u/pls/asx playlist
kaffeine: ERROR: XinePart: Nie można połączyć się z serwerem localhost (port 8908).
kaffeine: XinePart: Got single track
kaffeine: XinePart::slotPlay()
kaffeine: KXineWidget: Xinerama extension present
kaffeine: KXineWidget: 1 screens detected
kaffeine: KXineWidget: Display aspect ratio (v/h): 1
kaffeine: KXineWidget: Using xine version 1.1.8
kaffeine: KXineWidget: Post-init xine engine
kaffeine: KXineWidget: Use audio driver alsa
kaffeine: KXineWidget: Use video driver auto
kaffeine: KXineWidget: Init video driver
kaffeine: KXineWidget: Init audio driver
kaffeine: KXineWidget: Init OSD
kaffeine: KXineWidget: Font for OSD: sans
kaffeine: KXineWidget: Unscaled OSD available
kaffeine: KXineWidget: xine init successful
kaffeine: XinePart: load config
kaffeine: Set volume to: 86
kaffeine: KXineWidget: New visualization plugin: goom
kaffeine: PostFilter: Create Postprocessing Filter: tvtime
kaffeine: PostFilter: Parameter: method
kaffeine: PostFilter: Parameter: enabled
kaffeine: PostFilter: Parameter: pulldown
kaffeine: PostFilter: Parameter: framerate_mode
kaffeine: PostFilter: Parameter: judder_correction
kaffeine: PostFilter: Parameter: use_progressive_frame_flag
kaffeine: PostFilter: Parameter: chroma_filter
kaffeine: PostFilter: Parameter: cheap_mode
kaffeine: PostFilter: Get input
kaffeine: PostFilter: Get output
kaffeine: PostFilter: SetConfig tvtime:method=LinearBlend,enabled=1,pulldown=none,framerate_mode=half_top,judder_co
rrection=0,use_progressive_frame_flag=1,chroma_filter=0,cheap_mode=1
kaffeine: PostFilter: Set parameter 'method' to value 'LinearBlend'
kaffeine: PostFilter: tvtime Apply integer value 2 on offset 0
kaffeine: PostFilter: Set parameter 'enabled' to value '1'
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 4
kaffeine: PostFilter: Set parameter 'pulldown' to value 'none'
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 8
kaffeine: PostFilter: Set parameter 'framerate_mode' to value 'half_top'
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 12
kaffeine: PostFilter: Set parameter 'judder_correction' to value '0'
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16
kaffeine: PostFilter: Set parameter 'use_progressive_frame_flag' to value '1'
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 20
kaffeine: PostFilter: Set parameter 'chroma_filter' to value '0'
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 24
kaffeine: PostFilter: Set parameter 'cheap_mode' to value '1'
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28
kaffeine: KXineWidget: Deinterlace enabled: 1
kaffeine: PostFilter: Get output
kaffeine: PostFilter: Get input
kaffeine: KXineWidget: Playing: http://localhost:8908/tv.asf
kaffeine: KXineWidget: xine event: progress info
kaffeine: KXineWidget: xine event: xine message
kaffeine: KXineWidget: xine event: xine message
kaffeine: WARNING: KXineWidget: Message: 'Po??czenie zosta?o odrzucone.
Prosz? sprawdzi? nazw? serwera. (couldn't send request)' was blocked!
kaffeine: XinePart::closeURL()
kaffeine: KXineWidget: Playing: /usr/share/apps/kaffeine/logo
[zibi1981@localhost ~]$ kaffeine: KXineWidget: New video frame size: 700x700 - aspect ratio: 1
kaffeine: KXineWidget: Switch to audio channel -1
kaffeine: KXineWidget: xine event: playback finished
kaffeine: Kaffeine: destructor
kaffeine: PostFilter: Get output
kaffeine: PostFilter: Get input
kaffeine: KXineWidget: Shut down xine engine
kaffeine: KXineWidget: Unwire video filters
kaffeine: PostFilter: Delete Postprocessing Filter: tvtime
kaffeine: KXineWidget: Dispose event queue
kaffeine: KXineWidget: Dispose stream
kaffeine: KXineWidget: Close audio driver
kaffeine: KXineWidget: Close video driver
kaffeine: KXineWidget: Set CD/VCD/DVD path back
kaffeine: KXineWidget: Save xine config to: /home/zibi1981/.xine/config
kaffeine: KXineWidget: Close xine engine
kaffeine: KXineWidget: Close xine display
kaffeine: KXineWidget: xine closed
kaffeine: XinePart: destructor
kaffeine: XinePart destructor: calling saveConfig()
kaffeine: XinePart: save config

 

Simply nothing happens in both cases. Anyone has an idea?

Edited by zibi1981
Link to comment
Share on other sites

It's a little strange you got no error messages during the rpm install giving some hints as to why the rpm packages were skipped. But there are some things you can try to install the GUI version from the rpms.

 

First, try installing both rpms at once. I don't really expect this to do the trick but it's worth a try and the best way to install anyway. I'd do it in the order they are listed in on the Sopcast website. And do it using the '--test' switch to be safe, as so:

 

# rpm -ivh --test qsopcast-0.3.5-2mgc.i686.rpm sp-sc-1.0.2-1mgc.i686.rpm

 

Post any errors back here. If as I expect it just skips the package again, try again but this time using the '--conflicts' switch instead of '--test'. Again, post any errors. You might also try '--requires' and '--obsoletes' or 'rpm -Uvh' instead of 'rpm -ivh'. Whatever you do, don't try '--force' unless you are willing to face the possible consequences.

 

The whole idea is to make rpm give some info about exactly what the problem is so a strategy to fix it can be figured.

 

As for installing the command line version, it failed with mplayer simply because it dind't find it:

 

mplayer: could not connect to socket

mplayer: No such file or directory

 

On the other hand, I'm not sure what you mean by "Simply nothing happens in both cases." At a glance, it seems to have succeeded with kaffeine/xine.

Edited by Crashdamage
Link to comment
Share on other sites

Well, I tried to pass the options you mentioned, but they changed nothing in the matter of giving some info about what's wrong...

 

[root@localhost Sopcast]# rpm -ivh --test qsopcast-0.3.5-2mgc.i686.rpm sp-sc-1.0.2-1mgc.i686.rpm
ostrzeżenie: package file qsopcast-0.3.5-2mgc.i686.rpm was skipped
ostrzeżenie: package file sp-sc-1.0.2-1mgc.i686.rpm was skipped
[root@localhost Sopcast]# rpm -ivh --conflicts qsopcast-0.3.5-2mgc.i686.rpm sp-sc-1.0.2-1mgc.i686.rpm
ostrzeżenie: package file qsopcast-0.3.5-2mgc.i686.rpm was skipped
ostrzeżenie: package file sp-sc-1.0.2-1mgc.i686.rpm was skipped
[root@localhost Sopcast]# rpm -ivh --requires qsopcast-0.3.5-2mgc.i686.rpm sp-sc-1.0.2-1mgc.i686.rpm
ostrzeżenie: package file qsopcast-0.3.5-2mgc.i686.rpm was skipped
ostrzeżenie: package file sp-sc-1.0.2-1mgc.i686.rpm was skipped
[root@localhost Sopcast]# rpm -ivh --obsoletes qsopcast-0.3.5-2mgc.i686.rpm sp-sc-1.0.2-1mgc.i686.rpm
ostrzeżenie: package file qsopcast-0.3.5-2mgc.i686.rpm was skipped
ostrzeżenie: package file sp-sc-1.0.2-1mgc.i686.rpm was skipped
[root@localhost Sopcast]# rpm -Uvh qsopcast-0.3.5-2mgc.i686.rpm sp-sc-1.0.2-1mgc.i686.rpm
ostrzeżenie: package file qsopcast-0.3.5-2mgc.i686.rpm was skipped
ostrzeżenie: package file sp-sc-1.0.2-1mgc.i686.rpm was skipped

 

On the other hand, I'm not sure what you mean by "Simply nothing happens in both cases." At a glance, it seems to have succeeded with kaffeine/xine.

 

I don't think "Kaffeine succeeded" as it didn't give me any picture or sound...

Link to comment
Share on other sites

Hmmm...I'm kinda outta ideas on installing the rpms. Not surprised that they're just still skipped without giving more info though. All I can suggest from here is a Google search for "package file .rpm was skipped" or similar and see if someone else has gotten around this.

 

As for running the command line version of Sopcast, what happens when you try to start it in a terminal? No error messages, etc? From your original post I thought it installed successfully.

Edited by Crashdamage
Link to comment
Share on other sites

The script don't need to be installed, just copied to /usr/local/bin (or started from it's original folder). Then, according to my knowledge, I only need to do two things:

 

1. Run in console sp-sc sop://broker.sopcast.com:3912/6098 3908 8908 > /dev/null &

 

where 6098 is an example of channel number, 3908 is an example for local port, and 8908 - an example of program's port.

 

2. Run in my favorite player http://localhost:8908/tv.asf

 

and that's all. Unfortunately it don't work on my system.

 

BTW, I've unlocked those ports in Firestarter.

 

Below is an example of the console output of running a channel in MPlayer, which I know is active at the moment:

 

[zibi1981@localhost ~]$ sp-sc sop://broker1.sopcast.com:3912/26119 3908 8908 > /dev/null &
[1] 7904
[zibi1981@localhost ~]$ mplayer http://localhost:8908/tv.asf
MPlayer 1.0-1.rc1.20plf2008.0-4.2.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 3200+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs
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 http://localhost:8908/tv.asf.
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]: 8908...
connect error: Connection refused
STREAM_ASF, URL: http://localhost:8908/tv.asf
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]: 8908...
connect error: Connection refused
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]: 8908...
connect error: Connection refused
File not found: 'localhost:8908/tv.asf'
Failed to open http://localhost:8908/tv.asf.


Exiting... (End of file)
[1]+  Exit 152				sp-sc sop://broker1.sopcast.com:3912/26119 3908 8908 > /dev/null

 

Finally I have to say I can watch TV via MPlayer or Kaffeine when using TVUPlayer or TVAnts via Wine, but I would prefer to use native Linux application.

Edited by zibi1981
Link to comment
Share on other sites

Finally I have to say I can watch TV via MPlayer or Kaffeine when using TVUPlayer or TVAnts via Wine, but I would prefer to use native Linux application.
I've made a sopcast-0.4-3 mdv'g' rpm if you would like to try it out. It works on both of my systems using Mandriva 2008. It works with both the plf mplayer and vlc. If you would like to try it, please post here and I will attach it to a pm for you.
Link to comment
Share on other sites

I guess you have to register at sopcast for the Channel tab, but I'm not sure? I use the Net TV tab, it works.

 

The truth is, I've never used sopcast before this. I just made this as an exercise in rpm building. I thought you knew how to use it. :)

 

The Net TV tab:

Edited by Greg2
Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...