online TV ... using rtmpdump, rtmpsrv and rtmpsuck

Using applications, configuring, problems
Message
Author
stu90

#16 Post by stu90 »

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: Select all

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.
Attachments
streamplay.gz
remove fake .gz and make executable
(10.47 KiB) Downloaded 558 times

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#17 Post by sc0ttman »

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...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#18 Post by sc0ttman »

Code: Select all

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
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

stu90

#19 Post by stu90 »

Code: Select all

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

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#20 Post by keniv »

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.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#21 Post by pemasu »

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.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#22 Post by keniv »

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.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#23 Post by sc0ttman »

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! :)
Attachments
streamplayer.gz
updated, remove .gz. extension and make exec
(19.14 KiB) Downloaded 829 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
stu91
Posts: 145
Joined: Mon 06 Aug 2012, 15:11
Location: England. Dpup. Dell Inspiron 1501

#24 Post by stu91 »

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
Attachments
streamplay.gz
v.03 remove fake .gz and make script executable
(14.77 KiB) Downloaded 594 times

User avatar
stu91
Posts: 145
Joined: Mon 06 Aug 2012, 15:11
Location: England. Dpup. Dell Inspiron 1501

#25 Post by stu91 »

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. :oops:
cheers. :)

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#26 Post by keniv »

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.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#27 Post by sc0ttman »

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...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#28 Post by keniv »

Hi scOttman

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

Ken.

poilu
Posts: 11
Joined: Fri 02 Nov 2012, 12:33

Streamplay in UBUNTU

#29 Post by poilu »

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!

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#30 Post by Keef »

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

poilu
Posts: 11
Joined: Fri 02 Nov 2012, 12:33

#31 Post by poilu »

That was the problem! Thanks.

I have another question: the capture of rtmp stream.
I can locate many streams.
I use wireshark or iptable in association with rtmpsrv.
Some streams I can't!
Where is the problem? What don't I know of rtmp protocol?
I think that I can't to capture the stream in http://www.coolsport.tv/ but I don'know why!?

Sorry for my bad english :)

poilu
Posts: 11
Joined: Fri 02 Nov 2012, 12:33

#32 Post by poilu »

I have resolve. Was a problem of redirection. I was seen the redirection link with the option -V in rtmpdump.
Bye

GaRailroader
Posts: 33
Joined: Thu 17 Jun 2010, 01:14
Location: Atlanta, GA

rtmpsuck

#33 Post by GaRailroader »

This thread is very interesting. I have an interest in identifying streams though I don't think I'm following the instructions correctly. My goal is to be able to rip videos from Hulu and other sources so that my son can watch them on my tablet on car trips when we don't have internet connectivity.

I am using Precise Puppy 5.4.3 and the closest thing I've been able to find for running as spot or fido is Main Menu: Menu-Utility-Gexec and not checking the run as root checkbox. I've run the iptables command exactly as it is typed into this thread and it doesn't give me any error messages.(I was thinking maybe I am supposed to be making some substitutions in this entry.) Lastly, when I run the rtmpsuck command it looks like it is watching port 1935 at ip address 0.0.0.0. When I go to a streaming video the rtmpsuck terminal window doesn't show anything. Any suggestions to get me on the right track are greatly appreciated.

Pat

GaRailroader
Posts: 33
Joined: Thu 17 Jun 2010, 01:14
Location: Atlanta, GA

spot

#34 Post by GaRailroader »

I've had some success since last night. I followed sc0ttman steps #1 and #2 verbatim. Step 3 was for Akita, I was using Precise 5.4.3. I opened a terminal and typed in the command: su -l spot<cr> I then typed in whoami<cr> and it reported back spot. I fired off a Seamonkey session from this terminal using : DISPLAY=:0 seamonkey<cr> I then browsed to Hulu and played a video. Upon completion, the video was saved in the root folder using the same name as Hulu server. This is a major breakthrough for me. Thanks to all those contributors to this thread.

Pat

poilu
Posts: 11
Joined: Fri 02 Nov 2012, 12:33

#35 Post by poilu »

Hulu is only for USA but are you sure that is rtmp stream?
You can verify with wireshark: http://www.youtube.com/watch?v=8PuUnQCS7DQ.
Ciao

Post Reply