Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 15:41
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
online TV ... using rtmpdump, rtmpsrv and rtmpsuck
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [41 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 04 Aug 2012, 08:13    Post subject:  

updated streamplay to version 0.2 added some of the stations sc0ttman has in Watch TV ( thanks sc0ttman )
Here are a couple more video streams i found:
Code:
NASA TV 1| -v -r "rtmp://cp39920.live.edgefcs.net:1935/live/nasahd@55196" -W "http://www.ustream.tv/flash/viewer.swf"
NASA TV 2|-v -r "rtmp://ustreamlivefs.fplive.net/ustream3live-live/stream_live_6_1_6540154" -W "http://static-cdn1.ustream.tv/swf/live/viewer.rsl:255.swf"
Discovery HD | -r "rtmp://198.154.96.141/live" -W http://www.skystreamlive.com//player/skystreamlive.com.swf -p " http://www.skystreamlive.com/channel.php?n=00014.stream" --live -y "00014.stream"


Also added a radio player option - uses stations from icecast - for what i read the ice cast dump dir is broken for some time but it still gives more than 500 stations out which seems to offer a general mix of stations.

usage:
streamplay -v for video
streamplay -r for radio

thanks.
streamplay.gz
Description  remove fake .gz and make executable
gz

 Download 
Filename  streamplay.gz 
Filesize  10.47 KB 
Downloaded  287 Time(s) 
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Sat 04 Aug 2012, 08:18    Post subject:  

keniv wrote:
Thanks scOttman. I included your extra code and it works well. Have also tried using mplayer but have found it does not play some of the radio stations. The BBC stations seem to be a problem in this respect. I also have a problem shutting radio stations off when using cvlc. I cannot find a key that lets me "quit". Have tried cvlc -H in a terminal but this did not provide the info I need. I know esc or q work for mplayer. Anybody know what to use in cvlc?

Regards,

Ken.

Ctrl+C is what I use... if it's running in a terminal window...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Sat 04 Aug 2012, 10:31    Post subject:  

Code:
Live TV: Comedy Central | rtmpdump -r rtmp://31.204.153.190/live -a live -f LNX 10,3,183,20 -W http://95.211.149.228/player/player-licensed.swf -p http://www.casti.tv/embed.php -y cood

Live TV: Spike TV | rtmpdump -v -r rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y zmt2swezlswh9nz

Live TV: Disney Channel | rtmpdump -v -r rtmp://live.ilive.to/redirect -a redirect -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y xxwt9pjxpgv4tu2

Live TV: History Channel | rtmpdump -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y notzlkijdubh0bd

TV: BBC Daily Politics | mms://rmv8.bbc.net.uk/news/olmedia/n5ctrl/tvseq/od/bbc2/bb/wm/video/daily_pol_bb.wmv

TV: BBC Newsnight | mms://rmv8.bbc.net.uk/news/olmedia/n5ctrl/tvseq/od/bbc2/bb/wm/video/newsnight_bb.wmv

TV: Comedy Movies | http://72.13.93.186/classiclaughs

Live TV: Movie City | rtmpdump -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 874d69ibkcgpzbg

Live TV: TNT Movies | rtmpdump -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 2zw54vppbepmfad

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sun 05 Aug 2012, 01:02    Post subject:  

Code:

Movie Super | -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 874d69ibkcgpzbg
Movie 1 | -v -r rtmp://176.31.231.124/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y bs3z5tu4h14q5ly
A and E | -v -r rtmp://176.31.231.57/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y at89h1bs45p5j5h
Movies HBO | -v -r  rtmp://176.31.231.124/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y z28ie9oqoku4qoy
Discovery | -v -r  rtmp://176.31.231.57/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 4urzgsozilyle83
Family Guy | -v -r  rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y xwdhqeyhz6hek7u
Movies Sifi Horror | -v -r rtmp://176.31.231.124/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y kdcazjd8awpwkgb
Movies Comedy | -v -r rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y a1wn1j3ra1w0cv0
Movies StarZ | -v -r rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 8g7x80ozu6hz2ds
Movies Action | -v -r rtmp://176.31.231.57/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 89q9ebwqdp2pkut
Bleach | -v -r rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y cqq87pn1lkxra4k
WWE PPV | -v -r rtmp://176.31.231.57/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y i6v9xr1b3u8fc3u
Movies True | -v -r rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y w0lygboj3rj3nbr
Bleach 1 | -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y wjqv7iw4g6qf1sy
South Park | -v -r rtmp://46.105.115.183/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y obnfjkmhudvbxqt
AMC | -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y la20uo8un252id9
Friends Show | -v -r rtmp://46.105.109.122/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y wg2fmaake2sfjbr
DragonBallz| -v -r rtmp://176.31.231.57/edge -a edge -f LNX 10,3,183,20 -W http://static.ilive.to/jwplayer/player_embed.swf -p http://www.ilive.to/embedplayer.php -y 8aplmwsbez7rack
Back to top
View user's profile Send private message 
keniv

Joined: 06 Oct 2009
Posts: 195
Location: Scotland

PostPosted: Sun 05 Aug 2012, 14:13    Post subject:  

Hi All

Stu90

Thanks for v 0.2. I have made two small scrips so as I can run the TV and the radio from desktop icons. I'm afraid this is the limit of my ability. I would like to add the new urls to v 0.2. Is this a matter of adding the urls to your script in alphabetical order or is there more to it?

ScOttman

I still have a problem in stopping a stream playing. This is only with radio. With TV I get a box. To stop the stream I click the "x" in the corner of the box. With radio there is no box. Your suggestion of Ctrl C did not work. If I press "f" with TV in both cvlc and mplayer it goes to fullscreen. If I press "q" in mplayer the steam stops. I am looking for the equivalent of q in cvlc. I hope this seems clear.

Thanks for all your work.

Ken.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5459
Location: Finland

PostPosted: Sun 05 Aug 2012, 14:21    Post subject:  

stu90. Your streamplay script for radio stations creates /tmp/ice-stations file if it is not there already. But....if you dont have net connection and you start the script...it creates the dummy ice-stations file which afterwards with net connection prevents the file to be overwritten. And leads to empty station list. I removed the if statement and let it be overwritten everytime. Curl is so astonishingly fast...as you know that overwritten file is not big thing. And it is in /tmp anyway.
Back to top
View user's profile Send private message 
keniv

Joined: 06 Oct 2009
Posts: 195
Location: Scotland

PostPosted: Sun 05 Aug 2012, 18:18    Post subject:  

I think I have found the answer to the question about quiting cvlc. I found a hotkeys list for vlc here http://wiki.videolan.org/Hotkeys_table. Ctrl-q works for vlc but apparently there is no equivalent in cvlc and so I have change the player to vlc.

Regards,

Ken.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Mon 06 Aug 2012, 10:00    Post subject:  

Attached script: StreamPlayer 0.2 (was watch_tv) ....

Changelog for 0.2
- better $? handling and error codes (click X to quit now works, etc)
- separate lists for radio and TV streams
- choose radio or TV at startup
- added more TV streams
- updated text in GUI, shows TV or radio, depending what you choose
- auto sort the stream lists alphabetically
- renamed cancel button, now called 'Stop and Quit'
- the 'Stop and Quit' button now ends playback as well
- relevant fixes to make it all work in Xdialog and dialog

NOTE: I didn't include Stu extra radio stations,
but this could be done easy enough

Also, if anyone can get some working DemocracyNow streams that would be great! Smile
streamplayer.gz
Description  updated, remove .gz. extension and make exec
gz

 Download 
Filename  streamplayer.gz 
Filesize  19.14 KB 
Downloaded  373 Time(s) 

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
stu91


Joined: 06 Aug 2012
Posts: 144
Location: England. Dpup. Dell Inspiron 1501

PostPosted: Mon 06 Aug 2012, 12:41    Post subject:  

keniv wrote:
Hi All

Stu90

Thanks for v 0.2. I have made two small scrips so as I can run the TV and the radio from desktop icons. I'm afraid this is the limit of my ability. I would like to add the new urls to v 0.2. Is this a matter of adding the urls to your script in alphabetical order or is there more to it?
Ken.


Hi Keniv,
Sorry for the late reply - managed to break my old forum account so have had to re sign up.

For adding new urls - look in the section:
STREAMLIST=' notice the little apostrophe / single quote sign after the =' there is another one at the bottom of the urls section - you can paste the new urls (one per line ) between these two apostrophe's / single quote's - they dont need to be in any order as the script with sort them.

I have attached below v.03 with updated urls
streamplay.gz
Description  v.03 remove fake .gz and make script executable
gz

 Download 
Filename  streamplay.gz 
Filesize  14.77 KB 
Downloaded  321 Time(s) 
Back to top
View user's profile Send private message 
stu91


Joined: 06 Aug 2012
Posts: 144
Location: England. Dpup. Dell Inspiron 1501

PostPosted: Mon 06 Aug 2012, 12:58    Post subject:  

pemasu wrote:
stu90. Your streamplay script for radio stations creates /tmp/ice-stations file if it is not there already. But....if you dont have net connection and you start the script...it creates the dummy ice-stations file which afterwards with net connection prevents the file to be overwritten. And leads to empty station list. I removed the if statement and let it be overwritten everytime. Curl is so astonishingly fast...as you know that overwritten file is not big thing. And it is in /tmp anyway.


Hi Pemasu,
I never thought about that. Embarassed
cheers. Smile
Back to top
View user's profile Send private message 
keniv

Joined: 06 Oct 2009
Posts: 195
Location: Scotland

PostPosted: Mon 06 Aug 2012, 17:42    Post subject:  

Hi All

stu91

Thanks for telling me how to add a new stream then saving me having to do it by creating a new version. However, I will try adding any new streams that are posted.

scOttman

Thanks for all your work on the new version. I like the separation of the TV and radio and the ability to switch off the radio stream. However, I have found what I think might be a problem when playing the radio streams. When a stream is chosen the "radio" box disappears and the "startup" choice box appears. This means you cannot choose the stop and quit option. Hope this is clear.

Regards,

Ken.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Mon 06 Aug 2012, 19:49    Post subject:  

keniv wrote:
When a stream is chosen the "radio" box disappears and the "startup" choice box appears. This means you cannot choose the stop and quit option. Hope this is clear.

Yes that's clear... But I just click either Radio or TV then 'Stop', only 1 extra click... The script is not a serious attempt at anything, just a quick n dirty solution for viewing/listening to stuff... Essentially I started this thread to get more streams for VLC-GTK. If I think of a quick way to fix the issue I'll post another version...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
keniv

Joined: 06 Oct 2009
Posts: 195
Location: Scotland

PostPosted: Tue 07 Aug 2012, 14:44    Post subject:  

Hi scOttman

OK, as you suggest it is not much of a problem. It works well and I like it a lot.

Ken.
Back to top
View user's profile Send private message 
poilu

Joined: 02 Nov 2012
Posts: 10

PostPosted: Fri 02 Nov 2012, 08:37    Post subject: Streamplay in UBUNTU  

I want use the script streamplay in UBUNTU Lucid but I have this errors

:: Streaming Meida Player ::
:: Select Channel to Play ::

./streamplay.sh: 48: select: not found
./streamplay.sh: 50: [[: not found
./streamplay.sh: 63: [[: not found
Not a menu entry - please select again
./streamplay.sh: 65: Syntax error: "done" unexpected

Why doesn't go in UBUNTU? Is only a script!
Can you help me?

PS: in puppy is ok!
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Fri 02 Nov 2012, 17:00    Post subject:  

Might be a shell problem. Ubuntu uses dash rather than bash. Some built-in commands are different.
See here: https://wiki.ubuntu.com/DashAsBinSh#select
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [41 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0899s ][ Queries: 13 (0.0055s) ][ GZIP on ]