Forum

Forum (https://www.coolstreaming.us/forum/)
-   Linux & Mac (https://www.coolstreaming.us/forum/a/)
-   -   SopScript per linux (https://www.coolstreaming.us/forum/a/13173-a.html)

roundhead 09-26-2006 07:34 PM

SopScript per linux
 
In assenza della versione GUI per le distro debian - based ho sviluppato un semplice script che permette di far partire automaticamente Sopcast e quindi mplayer quando in firefox si clicca sui link sop: . Lo script funziona sicuramente con la distribuzione Ubuntu, ma probabilmente anche con altre debian based. Provate e fatemi sapere! Sono necessari i pacchetti mplayer, libstdc++5 e ovviamente firefox; il controllo e l’eventuale installazione di questi ultimi avvengono in automatico durante l'installazione.
Per scaricare andate qui: http://erasmus.uber-alles.net/calciolibero/?p=11

Provatelo e fatemi sapere.

madmax77 10-06-2006 12:26 PM

Ciao, ho installato il tuo script e sembra veramente eccezionale ma...quando clicco su un link (li ho provati praticamente tutti) mi dice caricamento in corso e dopo qualche secondo "Grazie per aver usato sopscript. Visita il blog del calcio libero".
Il problema è che non si apre niente. Ho installato l'ultima versione si Sopcast, le librerie che hai suggerito e naturalmente mplayer.
Cosa posso fare?

madmax77 10-06-2006 12:51 PM

Se da terminale scrivo, ad esempio:
sopcast.sh *******211.152.34.35:3912/6002 (che corrisponde a CCTV5)

ho il seguente messaggio:

sp-sc: nessun processo terminato
mplayer: nessun processo terminato
detect MTU=4c4
Connection=10 Connection=10
Connection=10 Connection=10
Connection=10 Connection=10
PID TTY TIME CMD
15438 pts/0 00:00:00 sp-sc
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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.
STREAM_HTTP(1), 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
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
STREAM_HTTP(2), 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
File not found: 'localhost:8908/tv.asf'
Failed to open http://localhost:8908/tv.asf

Exiting... (End of file)

...mi incuriosisce soprattutto quando mi dice
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Qualche suggerimento?

4maggio 10-07-2006 08:15 PM

Non so se vi puo essere utile, ho creato una guida all'installazione di gsopcast.
La trovate su
HTML Code:
www.contalbodavide.blogspot.com
. Funziona sicuramente su ubuntu dapper

roundhead 10-16-2006 06:37 PM

Nuovo Script
 
Io credo che il tuo problema sia che non parte il server sp-sc, perchè anche a me il parametro max-user-freq è settato a 64 e non c'è problema.
Ho provato a migliorare alcuni aspetti dello script. Prova a scaricarlo ancora e a reinstallarlo.
Fammi sapere


All times are GMT +2. The time now is 07:37 PM.

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.