Active Topics

 



Notices


Reply
Thread Tools
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#21
try to install vlc.
i think it can open m3u8-playlists.
 
Posts: 559 | Thanked: 166 times | Joined on Jan 2010 @ Cyprus
#22
Originally Posted by omeriko9 View Post
Disgusting.
Don`t worry, I`ve already forgive him....ehehe
 
Posts: 559 | Thanked: 166 times | Joined on Jan 2010 @ Cyprus
#23
Originally Posted by b666m View Post
try to install vlc.
i think it can open m3u8-playlists.
...let me try this.I`ll report back
 
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#24
Originally Posted by sophocha View Post
Can anybody help on this error?Why can it not find twisted.internet?
Most likely because you have not installed python-twisted. Twisted is a networking engine for python.
Here is a list of the python modules available for fremantle: http://bit.ly/94U7XC

You can install a module with the following command (you need to be root):
apt-get install <module Name>
 

The Following User Says Thank You to Marshall Banana For This Useful Post:
Posts: 559 | Thanked: 166 times | Joined on Jan 2010 @ Cyprus
#25
Originally Posted by Marshall Banana View Post
Most likely because you have not installed python-twisted. Twisted is a networking engine for python.
Here is a list of the python modules available for fremantle: http://bit.ly/94U7XC

You can install a module with the following command (you need to be root):
apt-get install <module Name>
Thank you for this!Now I don`t have any twisted internet errors, however I have another error its a syntax error this time.

I type 'sudo gainroot' and I`m at home/user.There I have the player.py and all the files from the hls player.

I type 'python player.py <url>' and I get '/bin/sh: syntax error: newline unexpected'

Any help?

Thanks (I`m trying to learn some basic linux commands, I`m a noob so bear with me)

Last edited by sophocha; 2010-02-10 at 16:32.
 
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#26
Originally Posted by sophocha View Post
Thank you for this!Now I don`t have any twisted internet errors, however I have another error its a syntax error this time.

I type 'sudo gainroot' and I`m at home/user.There I have the player.py and all the files from the hls player.

I type 'python player.py <url>' and I get '/bin/sh: syntax error: newline unexpected'

Any help?

Thanks (I`m trying to learn some basic linux commands, I`m a noob so bear with me)
Try to enclose the url with single quotes or double quotes, otherwise the shell tries to interpret the url as a command and this may be the source of your problem.
 
Posts: 559 | Thanked: 166 times | Joined on Jan 2010 @ Cyprus
#27
Originally Posted by Marshall Banana View Post
Try to enclose the url with single quotes or double quotes, otherwise the shell tries to interpret the url as a command and this may be the source of your problem.
This is driving me nuts!

I`ve tried it with the quotes, now it says:

ImportError: No module named HLS
/home/user # hls-player
/bin/sh: hls-player: not found

Do I have to put any files in /bin/sh ???
I have the required .py files in /home/user

Thanks
 
Posts: 559 | Thanked: 166 times | Joined on Jan 2010 @ Cyprus
#28
This is what the author says about the hls-player.In the author`s tar file, there is no such a thing as 'hls-player'!Only python files (player.py, setup.py, bla bla)....Am I missing something here???The python player.py command doesn`t work because it needs the hls-player in /bin/sh???


http live streaming player
A simple HTTP Live Streaming player written in Python, using GStreamer.

Installation:

sudo python setup.py install
Play the sample clip from Apple:

hls-player http://devimages.apple.com/iphone/sa...bipbopall.m3u8
or RTVE:

hls-player http://iphonelive.rtve.es/stream1.m3u8 -r http://m.rtve.es/live/
And that is the command line help:

Usage: hls-player [options] url...

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose print some debugging (default: False)
-b BITRATE, --bitrate=BITRATE
desired bitrate (default: 200000)
-k KEEP, --keep=KEEP number of segments ot keep (default: 3, -1: unlimited)
-r URL, --referer=URL
Sends the "Referer Page" information with URL
-D, --no-display display no video (default: False)
-s, --save save instead of watch (saves to /tmp/hls-player.ts)
-p PATH, --path=PATH download files to PATH
-n N, --number=N number of player to start (default: 1)

Last edited by sophocha; 2010-02-10 at 17:59.
 
Posts: 559 | Thanked: 166 times | Joined on Jan 2010 @ Cyprus
#29
any help....i really learned so much the past month...linux is growing on me...ehehe
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#30
what link/playlist are you trying to open?
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:06.